1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-30 18:04:11 +02:00

- don't diff binary files, using diff's heuristic

- add 'rebuildpac' command, which triggers a rebuild for all
  repositories/architectures of the package
- fix merge on 'update', if osc is called from another directory
- escape '+' signs in filenames in GET requests as well (adds to [#153725,
  181593])
- don't fail on 'resolve' when the working copy is in a newer rev already
This commit is contained in:
Dr. Peter Poeml
2006-06-08 10:30:29 +00:00
parent 24a49bbfd6
commit 3e412a67a5
2 changed files with 48 additions and 25 deletions

View File

@@ -33,6 +33,7 @@ Available subcommands:
ls
meta
platforms
rebuildpac
remove (del, delete, rm)
resolved
results
@@ -572,6 +573,18 @@ usage: history <pacdir>
print ''.join(get_history(p.prjname, p.name))
def rebuildpac(args):
"""rebuildpac: Triggers a package rebuild for all repositories/architectures of the package
usage: rebuildpac <pacdir>
"""
args = parseargs(args)
pacs = findpacs(args)
for p in pacs:
print ''.join(cmd_rebuild(p.prjname, p.name))
def help(args):
"""help: Describe the usage of this program or its subcommands.
@@ -622,6 +635,7 @@ cmd_dict = {
'resolved': resolved,
'results': results,
'results_meta': results_meta,
'rebuildpac': rebuildpac,
'status': status,
'update': update,
}