Mailinglist Archive: opensuse-buildservice (327 mails)

< Previous Next >
[opensuse-buildservice] Re: Retrieving package version numbers
  • From: Guido Berhoerster <gber@xxxxxxxxxxxx>
  • Date: Mon, 4 Apr 2011 15:22:02 +0200
  • Message-id: <20110404132202.GC4508@wopr.local.invalid>
* Stephan Kulow <coolo@xxxxxxx> [2011-04-04 13:02]:
Am Montag, 4. April 2011 schrieb Vita Cizek:
On Mon, Apr 04, 2011 at 01:55:00PM +0200, Stephan Kulow wrote:
Am Montag, 4. April 2011 schrieb Guido Berhoerster:

is there a way to retrieve the version number of a package,
possibly even through the publically accessible part of the API?

For factory packages you can retrieve a summary with
osc api /status/project/openSUSE:Factory

Is the /status URL documented somewhere?
I can't find it at

I'd like to retrieve version number for a single package.

Then better use
osc api '/source/openSUSE:Factory/perl?view=info&parse=1'

Michael implemented this last week.

Through /public/source/<project>/<package>?view=info&parse=1
it is publically accessible. Thanks a lot, this is exactly what I
was looking for and allows for easy version checking/comparison
with upstream projects.

Guido Berhoerster
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups