Am Dienstag, 18. Mai 2010, 08:43:43 schrieb Adrian Schröter:
Am Dienstag, 18. Mai 2010, 07:46:32 schrieb brook.hong@nokia.com:
Hello,
I have modified osc/commandline.py to add client support for this feature, below is the detail
osc help creq createrequest (creq): create multiple requests with a single command
usage: osc creq [OPTIONS] [ -a submit SOURCEPRJ SOURCEPKG DESTPRJ [DESTPKG] -a delete PROJECT [PACKAGE] -a change_devel PROJECT PACKAGE DEVEL_PROJECT [DEVEL_PACKAGE] ]
Looks good to me. Except that the new request types "set_bugowner" and "add_role" are still missing ;)
And I think we need to fix some other places in osc to support request in actions better, esp when showing a request. Currently you do not see the entire truth when doing "osc rq show" to a request with multiple actions
Another thing what comes to my mind is that we should be able to cleanup existing code and use your new functions to have one place to create submit request xml for example. This would have the downside that OBS 1.0 servers can't parse the new request xml anymore (1.5 and later can), but I think this is acceptable with release of OBS 2.0 soon. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org