mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-23 13:31:48 +01:00
- show also groups in maintainer/bugowner search
This commit is contained in:
parent
a8def0f433
commit
9595aa9f09
@ -6996,6 +6996,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
maintainers.setdefault("package", result.get('package'))
|
maintainers.setdefault("package", result.get('package'))
|
||||||
for person in result.findall('person'):
|
for person in result.findall('person'):
|
||||||
maintainers.setdefault(person.get('role'), []).append(person.get('name'))
|
maintainers.setdefault(person.get('role'), []).append(person.get('name'))
|
||||||
|
for group in result.findall('group'):
|
||||||
|
maintainers.setdefault(group.get('role'), []).append("group:"+group.get('name'))
|
||||||
projects = projects + [maintainers]
|
projects = projects + [maintainers]
|
||||||
# from meta data
|
# from meta data
|
||||||
if metaroot:
|
if metaroot:
|
||||||
@ -7003,6 +7005,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
maintainers = {}
|
maintainers = {}
|
||||||
for person in metaroot.findall('person'):
|
for person in metaroot.findall('person'):
|
||||||
maintainers.setdefault(person.get('role'), []).append(person.get('userid'))
|
maintainers.setdefault(person.get('role'), []).append(person.get('userid'))
|
||||||
|
for group in metaroot.findall('group'):
|
||||||
|
maintainers.setdefault(group.get('role'), []).append("group:"+group.get('groupid'))
|
||||||
projects = [maintainers]
|
projects = [maintainers]
|
||||||
|
|
||||||
# showing the maintainers
|
# showing the maintainers
|
||||||
|
Loading…
Reference in New Issue
Block a user