mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
- abort on "search --maintained". Do not redirect to the new command automatically, since it has a different logic
This commit is contained in:
parent
93c0a2d88f
commit
55ee5763b0
2
NEWS
2
NEWS
@ -1,7 +1,7 @@
|
||||
0.139
|
||||
- support generic emulator virtualization
|
||||
- added "--host" argument to "osc build" (used to perform the build on a remote host)
|
||||
(patch by Michal Vyskocil <mvyskocil@suse.cz>)
|
||||
- "search --maintained" is obsolete. Abort on usage.
|
||||
|
||||
0.138
|
||||
- add support to remove repositories recursively (mostly only usefull for admins)
|
||||
|
@ -6349,7 +6349,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
@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.')
|
||||
help='OBSOLETE: please use maintained command instead.')
|
||||
@cmdln.option('-M', '--mine', action='store_true',
|
||||
help='shorthand for --bugowner --package')
|
||||
@cmdln.option('--csv', action='store_true',
|
||||
@ -6392,6 +6392,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
else:
|
||||
search_term = args[0]
|
||||
|
||||
if opts.maintained:
|
||||
raise oscerr.WrongOptions('The --maintained option is not anymore supported. Please use the maintained command instead.')
|
||||
|
||||
# XXX: is it a good idea to make this the default?
|
||||
# support perl symbols:
|
||||
if re.match('^perl\(\w+(::\w+)*\)$', search_term):
|
||||
|
Loading…
Reference in New Issue
Block a user