Re: fedora-distro-aliases - The easiest way to get numbers of active Fedora releases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 17, 2024 at 5:58 AM Jakub Kadlcik <jkadlcik@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux