-
Notifications
You must be signed in to change notification settings - Fork 20
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
Core module update 2.10+ ignored #7040
Comments
Comparison between strings is wrong: use the semver variable instead. NethServer/dev#7040
Now that 2.10 is in repodata.json, the bug is back. The fix released with 2.9.5 is correct, but uneffective. |
- Replace the previous function which expects a sorted array of versions where index 0 is the max tag value. - Search the update by looking at the max Semver tag among all available versions. Refs NethServer/dev#7040
The second fix is still ineffective because the order of the versions array is not preserved. Items are sorted by their semver value, and the first item of the array is always 2.10. As a result, installations with core 2.9.4 still consider the largest value, 2.10, as a downgrade due to string comparison with 2.9. We can resolve this deadlock by releasing version 3.0.0. |
Starting from core version 2.10, updates are ignored.
Steps to reproduce
Expected behavior
The update to core 2.10.0-dev.1 is offered.
Actual behavior
No update is found.
Components
See also
Refs #6956 (feat-sci)
The text was updated successfully, but these errors were encountered: