Re: List active versions for a package from CLI
On Friday, June 24, 2022 3:47:54 PM CDT Artur Frenszek-Iwicki wrote: > When you go to a package's repo on src.fedoraproject.org, > on the top of the page, you get this nice table that lists > active Fedora and EPEL releases, and for each of those, > prints the package version currently in stable and in testing. > So I guess my question is, does fedpkg/koji/bodhi have this feature > and I just can't find it, or is there a separate program for this, > or is it just my memory playing tricks on me? @juhp's fbrnch[1,2] tool has a status subcommand that does this. I'm not sure about the other tools. [1]: https://github.com/juhp/fbrnch [2]: https://packages.fedoraproject.org/pkgs/fbrnch/fbrnch/ On Friday, June 24, 2022 4:07:09 PM CDT Artur Frenszek-Iwicki wrote: > So it is quite possible that it was, indeed, my memory > playing tricks on me, and I used to get that info > by calling the API endpoint. The API endpoint that src.fp.o uses is https://src.fedoraproject.org/_dg/bodhi_updates/rpms/[packagename] . -- Thanks, Maxwell G (@gotmax23) Pronouns: He/Him/His signature.asc Description: This is a digitally signed message part. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@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 Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: List active versions for a package from CLI
Just after sending this message, it occurred to me that I could just use the developer tools in the browser to check the URL of the API endpoint being called and then just send a similar request using curl. So it is quite possible that it was, indeed, my memory playing tricks on me, and I used to get that info by calling the API endpoint. A.FI. A.FI. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@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 Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
List active versions for a package from CLI
When you go to a package's repo on src.fedoraproject.org, on the top of the page, you get this nice table that lists active Fedora and EPEL releases, and for each of those, prints the package version currently in stable and in testing. Now, I could swear that fedpkg had a similar feature. Yet, looking at the list of commands, it's not there. One way to mimic this would be to call "fedpkg releases-info" to get the list of releases, and then use "koji latest-build $TAG $PKG", possibly cross-checking that info with "bodhi updates query --packages $PKG". So I guess my question is, does fedpkg/koji/bodhi have this feature and I just can't find it, or is there a separate program for this, or is it just my memory playing tricks on me? A.FI. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@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 Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure