> On 17 Jan 2024, at 10:57, Jakub Kadlcik <jkadl...@redhat.com> wrote:
> 
> Hello,
> I just wanted to quickly announce a small project I did in collaboration with 
> the Packit folks.
> 
> Do you have some tools or services that perform actions on all currently 
> active Fedora releases? And do you have to manually update their list every 
> time a new Fedora release is branched or EOLed? The fedora-distro-aliases 
> will make your life easier.
> 
> https://github.com/rpm-software-management/fedora-distro-aliases
> 
> It defines aliases such as `fedora-stable`, `epel-all`, `fedora-latest`, etc. 
> To evaluate them, it queries Bodhi, so they are always up-to-date (but the 
> tradeoff is that it requires an internet connection). There are multiple 
> examples in the project README but the usage is simple, e.g.:
> 
>     >>> from fedora_distro_aliases import get_distro_aliases
>     >>> aliases = get_distro_aliases()
>     >>> [x.namever for x in aliases["fedora-all"]]
>     ['fedora-38', 'fedora-39', 'fedora-rawhide']

Yes I have tools I update the list of fedora releases in.
Thanks for this tool!

Now I'm off to update my tools to use this.

> 
> The package is already in Fedora, give it a shot,

And its called python3-fedora-distro-aliases

Barry

> Jakub
> 
> 
> --
> _______________________________________________
> 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, report it: 
> https://pagure.io/fedora-infrastructure/new_issue

--
_______________________________________________
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to