mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 09:36:21 +01:00
revert incompatible one-off-super-special-osc-req command, fixes error message on each osc call. declare this version as 0.123 RC 1
This commit is contained in:
parent
f8d3824ea5
commit
5a1183a3d3
@ -759,7 +759,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
@cmdln.option('-B', '--bugowner', action='store_true',
|
||||
help='also show requests about packages where I am bugowner')
|
||||
@cmdln.alias("rq")
|
||||
@cmdln.alias("req")
|
||||
def do_request(self, subcmd, opts, *args):
|
||||
"""${cmd_name}: Show and modify requests
|
||||
|
||||
@ -820,10 +819,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
raise oscerr.WrongOptions('Sorry, the options --user and --mine ' \
|
||||
'are mutually exclusive.')
|
||||
|
||||
# 'req' defaults to 'req list -M -s all'
|
||||
if args and args[0].isdigit():
|
||||
args = [ 'show', args[0] ]
|
||||
|
||||
if not args:
|
||||
args = [ 'list' ]
|
||||
opts.mine = 1
|
||||
@ -835,8 +830,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
cmds = ['list', 'log', 'show', 'decline', 'accept', 'wipe', 'revoke', 'checkout', 'co', 'help']
|
||||
if not args or args[0] not in cmds:
|
||||
if subcmd == 'req':
|
||||
print >>sys.stderr, 'You may want to try "osc api" instead of "osc req".'
|
||||
raise oscerr.WrongArgs('Unknown request action %s. Choose one of %s.' \
|
||||
% (args[0],', '.join(cmds)))
|
||||
|
||||
|
12
osc/core.py
12
osc/core.py
@ -5,7 +5,7 @@
|
||||
# and distributed under the terms of the GNU General Public Licence,
|
||||
# either version 2, or version 3 (at your option).
|
||||
|
||||
__version__ = '0.122_SVN'
|
||||
__version__ = '0.123RC1'
|
||||
|
||||
# __store_version__ is to be incremented when the format of the working copy
|
||||
# "store" changes in an incompatible way. Please add any needed migration
|
||||
@ -70,6 +70,11 @@ It also does some weird stuff.
|
||||
<arch>x86_64</arch>
|
||||
<arch>i586</arch>
|
||||
</repository>
|
||||
<repository name="openSUSE_11.2">
|
||||
<path project="openSUSE:11.2" repository="standard"/>
|
||||
<arch>x86_64</arch>
|
||||
<arch>i586</arch>
|
||||
</repository>
|
||||
<repository name="openSUSE_11.1">
|
||||
<path project="openSUSE:11.1" repository="standard"/>
|
||||
<arch>x86_64</arch>
|
||||
@ -80,11 +85,6 @@ It also does some weird stuff.
|
||||
<arch>x86_64</arch>
|
||||
<arch>i586</arch>
|
||||
</repository>
|
||||
<repository name="openSUSE_10.3">
|
||||
<path project="openSUSE:10.3" repository="standard"/>
|
||||
<arch>x86_64</arch>
|
||||
<arch>i586</arch>
|
||||
</repository>
|
||||
<repository name="Fedora_11">
|
||||
<path project="Fedora:11" repository="standard" />
|
||||
<arch>x86_64</arch>
|
||||
|
Loading…
Reference in New Issue
Block a user