1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-08 22:18:43 +02:00

Complete rewrite of the internal commandline handling, using cmdln.py.

Bump version to 0.95.

New features:
- implement "rebuild all failed packages", via --failed option in rebuildpac
  subcommand (new api route)
- status -v shows all files, including unmodified ones
- suppress the legend in prjresults by default (show with -l)
- add global options to override config
- can use arbitrary api server via global -A option
- -H enables HTTP traffic debugging
- --version

Bugfixes:
- fix typo in delete_project() (the line building up the URL got lost)
- fix the commit subcommand's arguments. This works correctly now: 
    osc ci ../test/onlyinwc `pwd` fstab ../test/f2 
- fix buildinfo subcommand, if no specfile is posted. Broke with the recent URL
  handling rewrite, but didn't seem to bother because the build subcommand
  always sends the specfile.
- try to fix buildhistory route, but it might be gone actually (need to pursue)
- add --clean/--noinit to osc build help output
This commit is contained in:
Dr. Peter Poeml
2007-04-24 23:00:12 +00:00
parent 637dec8e83
commit 2f5b52e92c
6 changed files with 2545 additions and 1000 deletions

10
TODO
View File

@@ -14,8 +14,6 @@
- prefer-rpms support for osc build
- plugin-ize subcommand implementation
- look at Susannes extensions
- add --clean/--noinit to osc build help output
- https://api.opensuse.org/build/GNOME:UNSTABLE?cmd=rebuild&code=failed
- Allow the package owners/users to signal an abort build.
Message-ID: <20070214120205.GA9629@suse.de>
- implement wipe command
@@ -165,8 +163,6 @@ put the current release number into the spec file before sending it
show request body of 400 responses (bad request)
geht print self.USAGE % self.__dict__ ?
a merge issues:
if I mark a file as "to be added" ("A"), and someone else alread adds (and
@@ -175,10 +171,6 @@ D apr_dbd_mysql.c
M libapr-util1.spec
build command:
> "You need to call the command inside a package directory, which should be a
> buildsystem checkout. (Local modifications are fine.)"
in the unusual event that a log file should be there (due to status "building"), but there is none, fail gracefully.
% osc log openSUSE_10.2 i586
@@ -199,8 +191,6 @@ Traceback (most recent call last):
for node in root.find('packstatuslist'):
TypeError: 'NoneType' object is not iterable
put the prjresults Legend into the help text instead of showing it each time?
also, we could add the option to configure it away
19:08 < Beineri> DuDE: can you add an option to "up" which moves instead overwriting a file if it has changed in the repository?