Skip to content

Commit cb9e2ad

Browse files
committed
bugs: print bug summary where existing bug is found
Resolves: #163 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 386f0b1 commit cb9e2ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/pkgdev/scripts/pkgdev_bugs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def scan_existing_bugs(self, api_key: str):
458458
params = urlencode(
459459
{
460460
"Bugzilla_api_key": api_key,
461-
"include_fields": "id,cf_stabilisation_atoms",
461+
"include_fields": "id,cf_stabilisation_atoms,summary",
462462
"component": "Stabilization",
463463
"resolution": "---",
464464
"f1": "cf_stabilisation_atoms",
@@ -492,6 +492,7 @@ def scan_existing_bugs(self, api_key: str):
492492
f"Found https://bugs.gentoo.org/{node.bugno} for node {node}",
493493
self.out.reset,
494494
)
495+
self.out.write(" -> bug summary: ", bug["summary"])
495496
break
496497

497498
def file_bugs(self, api_key: str, auto_cc_arches: frozenset[str], block_bugs: list[int]):

0 commit comments

Comments
 (0)