1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 21:28:42 +02:00

change "osc maintained" syntax to "osc sm" or "osc search --maintained"

as decided in Build Team Meeting.
This commit is contained in:
2009-11-06 16:08:20 +00:00
parent 5bfc8a653d
commit fbf63aae84
2 changed files with 6 additions and 2 deletions

View File

@@ -506,6 +506,8 @@ def main(opts, argv):
elif bi.pacsuffix == 'deb':
if config['build-type'] == "xen" or config['build-type'] == "kvm":
print 'Skipping verification of package signatures due to secure VM build'
elif opts.no_verify or opts.noinit:
print 'Skipping verification of package signatures'
else:
print 'WARNING: deb packages get not verified, they can compromise your system !'
else:

View File

@@ -3206,11 +3206,13 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='as -i, but only bugowner')
@cmdln.option('-m', '--maintainer', action='store_true',
help='as -i, but only maintainer')
@cmdln.option('--maintained', action='store_true',
help='limit search results to packages with maintained attribute set.')
@cmdln.option('-M', '--mine', action='store_true',
help='shorthand for --bugowner --package')
@cmdln.option('--csv', action='store_true',
help='generate output in CSV (separated by |)')
@cmdln.alias('maintained')
@cmdln.alias('sm')
@cmdln.alias('se')
def do_search(self, subcmd, opts, *args):
"""${cmd_name}: Search for a project and/or package.
@@ -3252,7 +3254,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
search_list = []
search_for = []
extra_limiter = ""
if subcmd == 'maintained':
if subcmd == 'sm' or opts.maintained:
opts.bugowner = True
opts.exact = True
opts.package = True