Bugzilla components of retired packages

Pierre-Yves Chibon pingou at pingoured.fr
Thu Apr 2 14:22:27 UTC 2015


On Thu, Apr 02, 2015 at 09:04:38AM -0500, Michael Cronenworth wrote:
> On 04/02/2015 03:37 AM, Pierre-Yves Chibon wrote:
> >Retrieving the list of retired packages from pkgdb is the easy step:
> >https://admin.fedoraproject.org/pkgdb/api/#list_packages
> >
> >So this should do it:
> >https://admin.fedoraproject.org/pkgdb/api/packages?status=Retired&eol=True
> 
> Thanks. I got a package list in just a few seconds using:
> 
> https://admin.fedoraproject.org/pkgdb/api/packages?branches=master&branches=f22&branches=f21&branches=f20&status=Retired&limit=500&page=[1-8]
> 
> List: http://fpaste.org/206455/79833981/

hm, looking through the pkgdb code it iterates through the branch instead of
asking for the specified status on all the specified branches.
So maybe do one request per branch and find the list of packages present in all
requests.

I can probably script something quickly if you want.


Pierre


More information about the infrastructure mailing list