1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 01:16:14 +01:00

Merge branch 'getbinaries-project' of https://github.com/Ericsson/osc

This commit is contained in:
Marcus Huewe 2016-11-15 14:05:51 +01:00
commit e4d6e06e1c

View File

@ -6654,6 +6654,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
usage: usage:
osc getbinaries REPOSITORY # works in checked out project/package (check out all archs in subdirs) osc getbinaries REPOSITORY # works in checked out project/package (check out all archs in subdirs)
osc getbinaries REPOSITORY ARCHITECTURE # works in checked out project/package osc getbinaries REPOSITORY ARCHITECTURE # works in checked out project/package
osc getbinaries PROJECT REPOSITORY ARCHITECTRUE
osc getbinaries PROJECT PACKAGE REPOSITORY ARCHITECTURE osc getbinaries PROJECT PACKAGE REPOSITORY ARCHITECTURE
osc getbinaries PROJECT PACKAGE REPOSITORY ARCHITECTURE FILE osc getbinaries PROJECT PACKAGE REPOSITORY ARCHITECTURE FILE
${cmd_option_list} ${cmd_option_list}
@ -6677,6 +6678,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
architecture = args[3] architecture = args[3]
if len(args) == 5: if len(args) == 5:
binary = args[4] binary = args[4]
elif len(args) == 3:
project, repository, architecture = args
elif len(args) >= 1 and len(args) <= 2: elif len(args) >= 1 and len(args) <= 2:
if is_package_dir(os.getcwd()): if is_package_dir(os.getcwd()):
project = store_read_project(os.curdir) project = store_read_project(os.curdir)