opensuse:osc-contrib.git
13 years agoShow the state.
Michal Vyskocil [Fri, 9 Jan 2009 15:23:14 +0000 (16:23 +0100)]
Show the state.

This patch allows to show a requests with current state.
Also added a header.

13 years agoFixed maintainer and bugowner info.
Michal Vyskocil [Fri, 9 Jan 2009 14:54:30 +0000 (15:54 +0100)]
Fixed maintainer and bugowner info.

The maintainer and bugowner was set to the requested person after accept
of a new package.

13 years agoRemove static list with subcommands.
Michal Vyskocil [Fri, 9 Jan 2009 13:40:50 +0000 (14:40 +0100)]
Remove static list with subcommands.

The command names are now read from instances method. All
_do_contrib_CMD are read and added to the list. Also renamed a
_do_contrib_sr_change to make it out from a list of commands and remove
the _do_contrib_new (untested and probably don't works).

13 years agodelete and revoke commands
Michal Vyskocil [Fri, 9 Jan 2009 13:34:47 +0000 (14:34 +0100)]
delete and revoke commands

13 years agoFix the new state names for accept and decline commands
Michal Vyskocil [Fri, 9 Jan 2009 13:13:45 +0000 (14:13 +0100)]
Fix the new state names for accept and decline commands

13 years agoThe documentation fix and rename the list to show.
Michal Vyskocil [Fri, 9 Jan 2009 12:51:44 +0000 (13:51 +0100)]
The documentation fix and rename the list to show.

13 years agoCheckout support, extended _sr_from_package.
Michal Vyskocil [Fri, 9 Jan 2009 10:52:03 +0000 (11:52 +0100)]
Checkout support, extended _sr_from_package.

Support for osc contrib checkout package.
The _sr_from_package now handles a multiple requests and the current one
could be specified via -i/--id parameter.

13 years agoBetter metadata handling.
Michal Vyskocil [Fri, 9 Jan 2009 09:04:34 +0000 (10:04 +0100)]
Better metadata handling.

13 years agoKeep the original maintainer.
Michal Vyskocil [Fri, 9 Jan 2009 08:29:34 +0000 (09:29 +0100)]
Keep the original maintainer.

The osc.core api for metadata manipulations is *extremelly* ugly, so
this patch use only a addMaintainer:
- new methods for meta getting (_get_persons_from_meta, ...)
- redefine an addMaintainer to addBugowner

Note that this is broken too, so it's necessary to check the svn version
and maybe wrote a patch, because current state is bad.

13 years agoIgnore the multiple requests towards one package.
Michal Vyskocil [Fri, 9 Jan 2009 07:40:53 +0000 (08:40 +0100)]
Ignore the multiple requests towards one package.

Return the list of requests, instead id.
Check zero or multiple requests and raise an error.
Add the opts to the requests change functions.

13 years agoThe basic documentation.
Michal Vyskocil [Thu, 8 Jan 2009 16:37:40 +0000 (17:37 +0100)]
The basic documentation.

13 years agoCommon code for request status change and decline command.
Michal Vyskocil [Thu, 8 Jan 2009 16:32:23 +0000 (17:32 +0100)]
Common code for request status change and decline command.

13 years agoThe accept subcommand and removal of old code.
Michal Vyskocil [Thu, 8 Jan 2009 16:07:35 +0000 (17:07 +0100)]
The accept subcommand and removal of old code.

13 years agoA new command contrib wit new subcmd.
Michal Vyskocil [Thu, 8 Jan 2009 09:59:52 +0000 (10:59 +0100)]
A new command contrib wit new subcmd.

Thich change make a cnew_req obsolete. The syntax is osc contrib new

13 years agoAn initial version.
Michal Vyskocil [Thu, 8 Jan 2009 09:41:18 +0000 (10:41 +0100)]
An initial version.

Trying to learn how to work with osc :-)