Mailinglist Archive: opensuse-buildservice (351 mails)

< Previous Next >
Re: [opensuse-buildservice] Identify the repository a package comes from
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Sun, 6 Jul 2008 19:24:09 +0200
  • Message-id: <20080706172409.GE3233@xxxxxxxxxx>
On 2008-07-06 20:51:11 +0400, Nikolay Derkach wrote:

Is there any way to identify the repository a package bellongs to?
The input data is a package with 'openSUSE Build Service' vendor tag
in the header.

The only way which comes to my mind is to check the GPG key the
package is signed with (since it's unique for a repo) and afterwards
map that key to a repository. But is there any 'map' actually

It's stored in the "Distribution:" tag:
marcus@linux:~> rpm -q --queryformat "%{distribution}\n" kolab
server:Kolab / openSUSE_11.0

And another question, is it possible to get a package bugowner by any
means except parsing the output of 'osc meta'? Maybe any API call?

No afaik the only way is to parse the project/package metadata.

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

< Previous Next >