mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-09 04:25:48 +01:00
- add mr --release-project option for kgraft updates
This commit is contained in:
parent
7ca0b2d04e
commit
9cddc53afc
1
NEWS
1
NEWS
@ -1,6 +1,7 @@
|
|||||||
0.150
|
0.150
|
||||||
- add "osc api --edit" option to be able to edit some meta files directly
|
- add "osc api --edit" option to be able to edit some meta files directly
|
||||||
- follow the request order of the api (sorting according to priorization)
|
- follow the request order of the api (sorting according to priorization)
|
||||||
|
- add mr --release-project option for kgraft updates
|
||||||
|
|
||||||
0.149
|
0.149
|
||||||
- removed "--diff" option from the "createrequest" command
|
- removed "--diff" option from the "createrequest" command
|
||||||
|
@ -2910,6 +2910,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
help='Use this attribute to find default maintenance project (default is OBS:MaintenanceProject)')
|
help='Use this attribute to find default maintenance project (default is OBS:MaintenanceProject)')
|
||||||
@cmdln.option('-m', '--message', metavar='TEXT',
|
@cmdln.option('-m', '--message', metavar='TEXT',
|
||||||
help='specify message TEXT')
|
help='specify message TEXT')
|
||||||
|
@cmdln.option('--release-project', metavar='RELEASEPROJECT',
|
||||||
|
help='Specify the release project')
|
||||||
@cmdln.option('--no-cleanup', action='store_true',
|
@cmdln.option('--no-cleanup', action='store_true',
|
||||||
help='do not remove source project on accept')
|
help='do not remove source project on accept')
|
||||||
@cmdln.option('--cleanup', action='store_true',
|
@cmdln.option('--cleanup', action='store_true',
|
||||||
@ -2933,6 +2935,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
osc maintenancerequest [ SOURCEPROJECT [ SOURCEPACKAGES RELEASEPROJECT ] ]
|
osc maintenancerequest [ SOURCEPROJECT [ SOURCEPACKAGES RELEASEPROJECT ] ]
|
||||||
${cmd_option_list}
|
${cmd_option_list}
|
||||||
"""
|
"""
|
||||||
|
#FIXME: the follow syntax would make more sense and would obsolete the --release-project parameter
|
||||||
|
# but is incompatible with the current one
|
||||||
|
# osc maintenancerequest [ SOURCEPROJECT [ RELEASEPROJECT [ SOURCEPACKAGES ] ]
|
||||||
|
|
||||||
args = slash_split(args)
|
args = slash_split(args)
|
||||||
apiurl = self.get_api_url()
|
apiurl = self.get_api_url()
|
||||||
@ -2961,6 +2966,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if source_project.startswith(default_branch):
|
if source_project.startswith(default_branch):
|
||||||
opt_sourceupdate = 'cleanup'
|
opt_sourceupdate = 'cleanup'
|
||||||
|
|
||||||
|
if opts.release_project:
|
||||||
|
release_project = opts.release_project
|
||||||
|
|
||||||
if opts.incident_project:
|
if opts.incident_project:
|
||||||
target_project = opts.incident_project
|
target_project = opts.incident_project
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user