commit:     cb9e2ad3fa6f4c27bf6613cbb418d952a21e835b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 10:43:56 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 10:43:56 2023 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=cb9e2ad3

bugs: print bug summary where existing bug is found

Resolves: https://github.com/pkgcore/pkgdev/issues/163
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 src/pkgdev/scripts/pkgdev_bugs.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/pkgdev/scripts/pkgdev_bugs.py 
b/src/pkgdev/scripts/pkgdev_bugs.py
index 48eb13d..e6cac18 100644
--- a/src/pkgdev/scripts/pkgdev_bugs.py
+++ b/src/pkgdev/scripts/pkgdev_bugs.py
@@ -458,7 +458,7 @@ class DependencyGraph:
         params = urlencode(
             {
                 "Bugzilla_api_key": api_key,
-                "include_fields": "id,cf_stabilisation_atoms",
+                "include_fields": "id,cf_stabilisation_atoms,summary",
                 "component": "Stabilization",
                 "resolution": "---",
                 "f1": "cf_stabilisation_atoms",
@@ -492,6 +492,7 @@ class DependencyGraph:
                         f"Found https://bugs.gentoo.org/{node.bugno} for node 
{node}",
                         self.out.reset,
                     )
+                    self.out.write(" -> bug summary: ", bug["summary"])
                     break
 
     def file_bugs(self, api_key: str, auto_cc_arches: frozenset[str], 
block_bugs: list[int]):

Reply via email to