Michael Schroeder píše v Út 27. 03. 2007 v 15:32 +0200:
On Tue, Mar 27, 2007 at 03:16:02PM +0200, Marcus Rueckert wrote:
the smarter solution: $ echo "machine api.opensuse.org login <username> password <yourpass>" >> ~/.netrc $ chmod 0600 ~/.netrc $ curl -n -X POST -d '' 'https://api.opensuse.org/build/GNOME:UNSTABLE?cmd=rebuild&code=failed'
curl -n https://api.opensuse.org/build/GNOME:UNSTABLE -d cmd=rebuild -d code=failed
Note: I am not able to trigger packages with "+" in name in any way (nor via). It seems to be a bug of Build Service, e. g.:
the '+' should be fixed since ages.
Maybe it's fixed in the frontend, but osc doesn't escape the '+'?
osc just now seems to work (at least log and rebuildpac). Several hours ago my script returned errors. But web frontend does not: This is an invalid link: http://build.opensuse.org/package/show?package=libsigc%2B%2B2&project=GNOME%3AUNSTABLE Linked from: http://build.opensuse.org/project/monitor?project=GNOME%3AUNSTABLE -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org