mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-11 17:54:06 +02:00
Fix getbinaries command to fetch also multibuild packages
This commit is contained in:
@@ -7496,7 +7496,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
|
|
||||||
|
|
||||||
if package is None:
|
if package is None:
|
||||||
package = meta_get_packagelist(apiurl, project)
|
package = meta_get_packagelist(apiurl, project, deleted=0)
|
||||||
else:
|
else:
|
||||||
if opts.multibuild_package:
|
if opts.multibuild_package:
|
||||||
packages = []
|
packages = []
|
||||||
|
@@ -3449,6 +3449,11 @@ def meta_get_packagelist(apiurl, prj, deleted=None, expand=False):
|
|||||||
query = {}
|
query = {}
|
||||||
if deleted:
|
if deleted:
|
||||||
query['deleted'] = 1
|
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:
|
if expand:
|
||||||
query['expand'] = 1
|
query['expand'] = 1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user