On Wed, Jan 17, 2024 at 5:58 AM 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']
>
> The package is already in Fedora, give it a shot,

Thanks! I'll look into updating
https://github.com/sgallagher/get-fedora-releases-action with this.
--
_______________________________________________
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