Can someone point me to a way to generate a list of non-retired packages that I am a maintainer on? Thanks.
Hunting around for a "pagure cli" doesn't bring up much that seems active.
On Fri, 28 Feb 2020, Orion Poplawski wrote:
Can someone point me to a way to generate a list of non-retired packages that I am a maintainer on? Thanks.
Hunting around for a "pagure cli" doesn't bring up much that seems active.
You could probably scrape it from here?
https://src.fedoraproject.org/dashboard/projects
Scott
Something like this should work:
$ curl -o result.json 'https://src.fedoraproject.org/api/0/projects?owner=orion&per_page=100' $ jq <result.json '.projects[].fullname'
With Python and requests you could also make multiple calls to deal with the pagination.
Am Fr., 28. Feb. 2020 um 21:05 Uhr schrieb Scott Talbert swt@techie.net:
On Fri, 28 Feb 2020, Orion Poplawski wrote:
Can someone point me to a way to generate a list of non-retired packages that I am a maintainer on? Thanks.
Hunting around for a "pagure cli" doesn't bring up much that seems active.
You could probably scrape it from here?
- Thomas
On 2/28/20 1:21 PM, Thomas Moschny wrote:
Something like this should work:
$ curl -o result.json 'https://src.fedoraproject.org/api/0/projects?owner=orion&per_page=100' $ jq <result.json '.projects[].fullname'
With Python and requests you could also make multiple calls to deal with the pagination.
Thanks! That got me started down the right path...
Am Fr., 28. Feb. 2020 um 21:05 Uhr schrieb Scott Talbert swt@techie.net:
On Fri, 28 Feb 2020, Orion Poplawski wrote:
Can someone point me to a way to generate a list of non-retired packages that I am a maintainer on? Thanks.
Hunting around for a "pagure cli" doesn't bring up much that seems active.
You could probably scrape it from here?
- Thomas
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
On 2/28/20 1:04 PM, Scott Talbert wrote:
On Fri, 28 Feb 2020, Orion Poplawski wrote:
Can someone point me to a way to generate a list of non-retired packages that I am a maintainer on? Thanks.
Hunting around for a "pagure cli" doesn't bring up much that seems active.
You could probably scrape it from here?
Thanks, but that's a pain and includes retired packages.