Skip to content

Commit ee5d4bf

Browse files
panyamkeerthanaowtaylor
authored andcommitted
supervisor:improve erratum attention issue
-added full advisory name and synopsis to issue summary -added errata link to the issue description
1 parent dbed26c commit ee5d4bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

supervisor/erratum_handler.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,12 @@ def resolve_flag_attention(self, why: str):
9595
dry_run=self.dry_run,
9696
)
9797
else:
98+
summary = f"{self.erratum.full_advisory} ({self.erratum.synopsis}) needs attention"
99+
description = f"Erratum: {self.erratum.url}\n\n{why}"
98100
create_issue(
99101
project="RHELMISC",
100-
summary=f"Erratum {self.erratum.id} needs attention",
101-
description=why,
102+
summary=summary,
103+
description=description,
102104
tag=tag,
103105
reporter_email="[email protected]",
104106
assignee_email="[email protected]",

0 commit comments

Comments
 (0)