mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-03 18:16:17 +01:00
Fix getbinaries command to fetch also multibuild packages
This commit is contained in:
parent
fe6a50ffb7
commit
d222a38d03
@ -7496,7 +7496,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
|
||||
if package is None:
|
||||
package = meta_get_packagelist(apiurl, project)
|
||||
package = meta_get_packagelist(apiurl, project, deleted=0)
|
||||
else:
|
||||
if opts.multibuild_package:
|
||||
packages = []
|
||||
|
@ -3449,6 +3449,11 @@ def meta_get_packagelist(apiurl, prj, deleted=None, expand=False):
|
||||
query = {}
|
||||
if deleted:
|
||||
query['deleted'] = 1
|
||||
elif deleted in (False, 0):
|
||||
# HACK: Omitted 'deleted' and 'deleted=0' produce different results.
|
||||
# By explicit 'deleted=0', we also get multibuild packages listed.
|
||||
# See: https://github.com/openSUSE/open-build-service/issues/9715
|
||||
query['deleted'] = 0
|
||||
if expand:
|
||||
query['expand'] = 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user