On Thu, Apr 28, 2022 at 1:59 PM Mikolaj Izdebski <mizdebsk(a)redhat.com> wrote:
On Wed, Apr 27, 2022 at 3:45 PM Fabio Valentini <decathorpe(a)gmail.com> wrote:
> There is also the question about whether anitya
release-monitoring.org is
> actually set up for those packages, but I don't have an easy way to make
> scripted checks for this yet. If you add new Rust packages to Fedora, please
> make sure to set up release-monitoring with these settings:
You can use Anitya API to easily check whether there is a mapping from
Fedora package to Release Monitoring project, eg.:
https://release-monitoring.org/api/v2/packages/?name=rust-drg&distrib...
Then you can get project details with:
https://release-monitoring.org/api/v2/projects/?name=drg
Oh, that's very nice. This is exactly what I need :)
I wanted to look into whether anitya has an API, but couldn't find
documentation for it.
Thanks for the pointers.
Fabio