fedora-infra / anitya

A cross-distribution upstream release monitoring project
https://release-monitoring.org
GNU General Public License v2.0
249 stars 105 forks source link

Anitya doesn't find versions for GitHub project with proper tags #1832

Open PureTryOut opened 18 hours ago

PureTryOut commented 18 hours ago

I just added https://github.com/maplibre/maplibre-native to Anitya and even though it has a ton of tags, Anitya fails to find the ones relevant for Linux. The repo includes the tags qt-v2.0.0 and qt-v2.0.1 but Anitya only manages to find Android, iOS and Node related ones. Obviously I let Anitya filter those out but rather than then finding the Qt tags it just finds nothing instead.

I'm guessing due to the huge amount of tags GitHub starts paginating the list and Anitya doesn't try the other pages?

Zlopez commented 2 hours ago

Anitya is only checking the last 50 tags on the GitHub repository. The reason for that is to not hit the ratelimit that often. I can advice to watch releases instead of tags, but I'm not sure if that will be helpful in this case as there is plenty of mobile versions on top of the Linux versions. Or if you care only about the new versions released it will work as you already set it up, looking for any new qt-* tag added to project.

You can also try to setup the custom backend, but it isn't the best solution. Could you provide a link to Anitya project, so I can look at it.