-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect latest version on ejabberd #1016
Comments
Hi @bowlofeggs, this definitely looks like bug. I will look at it more closely, when I will have some spare time. I have some suspicion, where this could be, but I need to verify it first. |
I finally found some time to get back to Anitya and I found out, that the issue is in the GitHub cursor. To prevent reaching the API rate limits we are using cursors for GitHub projects to receive only newer versions than the last retrieved using the cursor provided by GraphQL API. In this case the cursor value was a non-sense, not sure how this happened. When I tried to delete the cursor in my local instance it worked. This issue should be solved by two ways:
If you want to know more, here is my captain's log for the investigation:
|
I found out, that using the date for filtering is not possible in GraphQL API, so I would probably go with limit to last 50 tags, which will still consume only 1 point from rate limit. Not sure if I should check even older releases, but I think the older ones doesn't matter for release monitoring, just the latest. So the solution for this will be to remove the cursor completely and just retrieve the last 50 tags/releases from the project and use them. |
This commit removes GitHub cursor from Anitya. It started to be unreliable and even if obtain 50 tags or releases, we still consume only 1 point of rate limit, so it doesn't make sense to keep it. Fixes fedora-infra#1016 Signed-off-by: Michal Konečný <[email protected]>
This commit removes GitHub cursor from Anitya. It started to be unreliable and even if we obtain 50 tags or releases, we still consume only 1 point of rate limit, so it doesn't make sense to keep it. Fixes fedora-infra#1016 Signed-off-by: Michal Konečný <[email protected]>
This commit removes GitHub cursor from Anitya. It started to be unreliable and even if we obtain 50 tags or releases, we still consume only 1 point of rate limit, so it doesn't make sense to keep it. Fixes #1016 Signed-off-by: Michal Konečný <[email protected]>
I noticed that I hadn't gotten a notification for ejabberd updates in a while. Anitya has 20.03 as the latest release:
https://release-monitoring.org/project/667/
However, there have been 4 releases (20.04, 20.07, 20.12, and 21.01) since then:
https://github.com/processone/ejabberd/tags
The text was updated successfully, but these errors were encountered: