Skip to content

Commit 192c346

Browse files
committed
Fix missing maintainer for packages without repository
Signed-off-by: Gaëtan Lehmann <[email protected]>
1 parent 9d1eb15 commit 192c346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pkg_in_pipe/pkg_in_pipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def find_pull_requests(gh, repo, start_sha, end_sha):
321321
if build['source'] is not None:
322322
(repo, sha) = parse_source(build['source'])
323323
prs = find_pull_requests(gh, repo, sha, previous_build_sha)
324-
maintained_by = PACKAGES.get(repo.split('/')[-1], {}).get('maintainer')
324+
maintained_by = PACKAGES.get(tagged['package_name'], {}).get('maintainer')
325325
build_url = f'https://koji.xcp-ng.org/buildinfo?buildID={tagged["build_id"]}'
326326
build_issues = filter_issues(issues, [build_url] + [pr.html_url for pr in prs])
327327
print_table_line(

0 commit comments

Comments
 (0)