From cb9e2ad3fa6f4c27bf6613cbb418d952a21e835b Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 15 Dec 2023 12:43:56 +0200 Subject: bugs: print bug summary where existing bug is found Resolves: https://github.com/pkgcore/pkgdev/issues/163 Signed-off-by: Arthur Zamarin --- 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]): -- cgit v1.2.3-65-gdbad