Besides Bodhi's RSS feature, where else can I get update notifications for a package?

What I need is the latest stable version of a specific package on a specific fedora release, such as this link: https://bodhi.fedoraproject.org/rss/updates/?packages=libical&status=stable&releases=F42.

The method I can think of at the moment is as follows: curl -s 'https://bodhi.fedoraproject.org/rss/updates/?packages=libical&status=stable&releases=F42' | xmllint - --xpath '(//rss/channel/item/description)[1]/text()' | python3 -c "import sys, html; print(html.unescape(sys.stdin.read()))" | xmllint - --html --xpath '(//ul)[1]/li/text()'.

But this approach has many drawbacks. Is there a simpler and more straightforward solution?
One premise is that I do not want to check locally using the dnf command, because I can think of that solution too. Since I am not using that approach, it means I have my reasons.

Perhaps you could query https://mdapi.fedoraproject.org/ ?

1 Like

Do you know why the valid branches include f39, f40, f41 and rawhide but not f42?

For example, these calls are fine:

https://mdapi.fedoraproject.org/f41/pkg/libblockdev

https://mdapi.fedoraproject.org/rawhide/pkg/libblockdev

But this one gives “400: Bad Request”:

https://mdapi.fedoraproject.org/f42/pkg/libblockdev

1 Like