1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-13 09:16:14 +01:00

rename "rebuildpac" to "rebuild", but keep "rebuildpac" as alias.

This command works also for whole projects and we get rid of another
place of pac/pkg statements.
This commit is contained in:
Adrian Schröter 2009-06-15 15:38:39 +00:00
parent 60ecca1dc1
commit 4c60d1b285
2 changed files with 4 additions and 2 deletions

1
NEWS
View File

@ -39,6 +39,7 @@
availibility config value, 'standard' and 'opensuse_Factory' in platforms list and in case
of fail it uses the last entry from that list
- new osc linkpac -f to allow to override existing _link files
- rename "rebuildpac" to "rebuild", but keep "rebuildpac" as alias
0.117:
- support checkout of single package via "osc co PACKAGE" when local dir is project

View File

@ -2410,7 +2410,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
@cmdln.option('-f', '--failed', action='store_true',
help='rebuild all failed packages')
def do_rebuildpac(self, subcmd, opts, *args):
@cmdln.alias('rebuildpac')
def do_rebuild(self, subcmd, opts, *args):
"""${cmd_name}: Triggers package rebuilds
With the optional <repo> and <arch> arguments, the rebuild can be limited
@ -2428,7 +2429,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
'osc repos' output.
usage:
osc rebuildpac PROJECT [PACKAGE [PLATFORM [ARCH]]]
osc rebuild PROJECT [PACKAGE [PLATFORM [ARCH]]]
${cmd_option_list}
"""