Skip to content
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

[Bug] Wrong latest_stable_release_number when simultaneous releases #3416

Open
poum opened this issue Jul 20, 2024 · 0 comments
Open

[Bug] Wrong latest_stable_release_number when simultaneous releases #3416

poum opened this issue Jul 20, 2024 · 0 comments

Comments

@poum
Copy link

poum commented Jul 20, 2024

Given API request for a package
When 2 different releases occured at the same time
Then the latest_stable_release_number occurs not the be the highest release number

Way to reproduce:

  • call API for markbaker/matrix
  • latest_stable_release_number is 2.1.4
  • Should be 3.0.1

Release number indicated on web page is also erroneous

Proof

See https://libraries.io/packagist/markbaker%2Fmatrix

Way to fix

  • Select all matching releases with last release date
  • Sort select on descending release number
  • Select the first on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant