aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-12-15 12:43:56 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-12-15 12:43:56 +0200
commitcb9e2ad3fa6f4c27bf6613cbb418d952a21e835b (patch)
tree4ce0d46d73ca2f972a37d7578905866f519407aa
parenttatt: add support for extra env files (diff)
downloadpkgdev-cb9e2ad3fa6f4c27bf6613cbb418d952a21e835b.tar.gz
pkgdev-cb9e2ad3fa6f4c27bf6613cbb418d952a21e835b.tar.bz2
pkgdev-cb9e2ad3fa6f4c27bf6613cbb418d952a21e835b.zip
bugs: print bug summary where existing bug is found
Resolves: https://github.com/pkgcore/pkgdev/issues/163 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--src/pkgdev/scripts/pkgdev_bugs.py3
1 files changed, 2 insertions, 1 deletions
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]):