[opensuse-buildservice] Identify the repository a package comes from
Hi, 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 available? 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? -- Regards, Nikolay Derkach --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-07-06 20:51:11 +0400, Nikolay Derkach wrote:
Hi,
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 available?
It's stored in the "Distribution:" tag: marcus@linux:~> rpm -q --queryformat "%{distribution}\n" kolab server:Kolab / openSUSE_11.0 marcus@linux:~>
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. Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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.
$ rpm -q --qf '%{VENDOR}\n%{DISTRIBUTION}\n' qstat openSUSE Build Service games:tools / openSUSE_11.0 cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Ludwig Nussel
-
Marcus Hüwe
-
Nikolay Derkach