mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 18:06:13 +01:00
add new stage option for the build script
(minor code improvement for handing over release number)
This commit is contained in:
parent
24fb9732f0
commit
2bc186d0ea
3
NEWS
3
NEWS
@ -1,6 +1,9 @@
|
|||||||
0.173.0
|
0.173.0
|
||||||
- add showlinked command to show all references of packages linking to a given one
|
- add showlinked command to show all references of packages linking to a given one
|
||||||
- add build --shell-after-build flag. It can also be set via .oscrc.
|
- add build --shell-after-build flag. It can also be set via .oscrc.
|
||||||
|
- add build --stage flag. Useful for example for fixing file lists and just
|
||||||
|
running the install section to see the result of it (use --stage=i=).
|
||||||
|
Check the help for more details.
|
||||||
|
|
||||||
0.172.0
|
0.172.0
|
||||||
- support --lastsucceeded/--last-succeeded in "osc buildlog", "osc
|
- support --lastsucceeded/--last-succeeded in "osc buildlog", "osc
|
||||||
|
@ -936,7 +936,12 @@ def main(apiurl, opts, argv):
|
|||||||
bi.release = opts.release
|
bi.release = opts.release
|
||||||
|
|
||||||
if bi.release:
|
if bi.release:
|
||||||
buildargs.append('--release=%s' % bi.release)
|
buildargs.append('--release')
|
||||||
|
buildargs.append(bi.release)
|
||||||
|
|
||||||
|
if opts.stage:
|
||||||
|
buildargs.append('--stage')
|
||||||
|
buildargs.append(opts.stage)
|
||||||
|
|
||||||
if opts.build_opt:
|
if opts.build_opt:
|
||||||
buildargs += opts.build_opt
|
buildargs += opts.build_opt
|
||||||
|
@ -6478,6 +6478,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
'unprivileged "abuild" user or use "caller" to use the current user uid:gid')
|
'unprivileged "abuild" user or use "caller" to use the current user uid:gid')
|
||||||
@cmdln.option('--local-package', action='store_true',
|
@cmdln.option('--local-package', action='store_true',
|
||||||
help='build a package which does not exist on the server')
|
help='build a package which does not exist on the server')
|
||||||
|
@cmdln.option('--stage', metavar='STAGE',
|
||||||
|
help='runs a specific stage, default is "a" for all. Append a trailing "="'
|
||||||
|
'to only run the specified stage. Append a trailing "+" to run'
|
||||||
|
'the specified stage and all stages coming after it. With no'
|
||||||
|
'suffix, stages up to and included the specified stage are run.')
|
||||||
@cmdln.option('--linksources', action='store_true',
|
@cmdln.option('--linksources', action='store_true',
|
||||||
help='use hard links instead of a deep copied source')
|
help='use hard links instead of a deep copied source')
|
||||||
@cmdln.option('--vm-memory', metavar='MEMORY',
|
@cmdln.option('--vm-memory', metavar='MEMORY',
|
||||||
|
Loading…
Reference in New Issue
Block a user