25 Jul
2007
25 Jul
'07
11:07
On Thu, Jul 19, 2007 at 12:32:47PM +0200, Dr. Peter Poeml wrote:
Since I just implemented a new command, which I figured could be handy, I am posting this as an example.
You can use it after copying the attached file to ~/.osc-plugins.
It allows to issue "raw" HTTP requests to the api by specifying the URL and possible data or file to send, like:
osc req /source/home:poeml or osc req -m PUT -f /etc/fstab source/home:poeml/test5/myfstab
Thus, it can be used in a curl-like fashion, with authentification handled by osc.
FYI, the newest osc package release incorporates this command. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development