Get pkgdb info (2)
By Pierre-Yves on Wednesday, May 11 2011, 11:47 - Général - Permalink

Amélioration du script pour pkgdb.
Improvement of the script to query pkgdb.
English version
I made some changes to my script to query pkgdb. It now returns the group which can commit, the comaintainers (with their rights) and this for all branches or just one.
French version
J'ai fait quelques modifications à mon script qui récupère les informations de pkgdb. Maintenant, les comainteneurs (avec leur droits) et les groupes qui peuvent commiter sur le paquet sont affichés et ce pour toutes les branches ou juste pour une.
Output/Sortie:
$ ./pkgdb.py R-qtl f14
Fedora Package Database -- R-qtl
Tools for analyzing QTL experiments
f14 Owner: ellert
Group: provenpackager
Comaintainer(s):
pingou watchbugzilla watchcommits commit
Last build: 2011-01-20 by ellert for R-qtl-1.19.20-1.fc14 in Updates
$ ./pkgdb.py guake devel
Fedora Package Database -- guake
Drop-down terminal for GNOME
devel Owner: pingou
Group: packager provenpackager
Comaintainer(s):
maxamillion watchbugzilla watchcommits
Last build: 2011-02-09 by ausil for guake-0.4.2-3.fc15 in Updates
Comments
Awesome. Are you going to get this packaged for fedora?
The script has again already evolved ;-)
But eventually, if I manage to improve a bit what it can do it might become a tool on its own.
I'll keep the updates on the blog.