Blame SOURCES/0008-doc-Describe-a-behavior-when-plugin-is-removed-RhBug1700741.patch

1f580a
From c638887211b3d9c0b3b1fcb6eb6b62f384d2c263 Mon Sep 17 00:00:00 2001
1f580a
From: Jaroslav Mracek <jmracek@redhat.com>
1f580a
Date: Mon, 22 Jul 2019 09:29:42 +0200
1f580a
Subject: [PATCH] [doc] Describe a behavior when plugin is removed (RhBug:1700741)
1f580a
1f580a
When plugin is removed or obsoleted all hooks of removed plugins after
1f580a
transaction are skipped. The behavior was added because some
1f580a
of dependencies of the plugin could be also removed and unavailable in
1f580a
memory. We apply the same behavior also for obsoleted plugins, because
1f580a
we suggest that obsoleting plugin could have a different code base.
1f580a
1f580a
The behavior is not applicable for downgrades or upgrades.
1f580a
1f580a
https://bugzilla.redhat.com/show_bug.cgi?id=1700741
1f580a
---
1f580a
 doc/api_plugins.rst | 1 +
1f580a
 1 file changed, 1 insertion(+)
1f580a
1f580a
diff --git a/doc/api_plugins.rst b/doc/api_plugins.rst
1f580a
index f5d9829..5015e42 100644
1f580a
--- a/doc/api_plugins.rst
1f580a
+++ b/doc/api_plugins.rst
1f580a
@@ -62,6 +62,7 @@ When DNF CLI runs it loads the plugins found in the paths during the CLI's initi
1f580a
   .. method:: transaction
1f580a
 
1f580a
     Plugin can override this. This hook is called immediately after a successful transaction.
1f580a
+    Plugins that were removed or obsoleted by the transaction will not run the transaction hook.
1f580a
 
1f580a
 You may want to see the comparison with `yum plugin hook API`_.
1f580a
 
1f580a
--
1f580a
libgit2 0.28.2
1f580a