Mailinglist Archive: zypp-devel (40 mails)
| < Previous | Next > |
Re: [zypp-devel] Release tarballs?
- From: Martin Vidner <mvidner@xxxxxxx>
- Date: Tue, 7 Jul 2009 10:07:39 +0200
- Message-id: <20090707080739.GA30267@xxxxxxxxxxxxxxxx>
On Fri, Jul 03, 2009 at 04:31:36PM +0200, Duncan Mac-Vicar Prett wrote:
It works even without that.
Apidocs says "Authentication is done by sending a Basic HTTP
Authorisation header"
grep -A2 '^\[.*api.opensuse.org\]' ~/.oscrc
# ^ only if you forgot USER and SECRET, same as for bugzilla.novell.com
touch ~/.netrc
chmod go-rwx ~/.netrc
echo machine api.opensuse.org login USER password SECRET >> ~/.netrc
curl -n https://api.opensuse.org/about
curl -n https://api.opensuse.org/source/zypp:Head/libzypp/libzypp.spec
It is here
https://api.opensuse.org/apidocs/
linked correctly from http://en.opensuse.org/Build_Service
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
anyway, getting the tarbal is possible also without osc, as osc only
makes a REST (GET) request to https://api.opensuse.org, you only need to
authenticate with iChain (Novell bugzilla account). For curl automation
you can look here:
http://mvidner.blogspot.com/2007/03/bugzilla-automation-logging-in.html
It works even without that.
Apidocs says "Authentication is done by sending a Basic HTTP
Authorisation header"
grep -A2 '^\[.*api.opensuse.org\]' ~/.oscrc
# ^ only if you forgot USER and SECRET, same as for bugzilla.novell.com
touch ~/.netrc
chmod go-rwx ~/.netrc
echo machine api.opensuse.org login USER password SECRET >> ~/.netrc
curl -n https://api.opensuse.org/about
curl -n https://api.opensuse.org/source/zypp:Head/libzypp/libzypp.spec
Then in api.opensuse.org used to be docs for the API. Now it redirects
to a strange wikipage, but that should be a bug of OBS.
It is here
https://api.opensuse.org/apidocs/
linked correctly from http://en.opensuse.org/Build_Service
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |