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

SW-988 change octoprint to fix version comparision #116

Conversation

Josef-MrBeam
Copy link

@Josef-MrBeam Josef-MrBeam commented Feb 2, 2022

related Octoprint PR: OctoPrint#4389

this fixes that symantic versioning concept of -beta.1 and so on was striped out of the version number
So a update from 0.9.15 to 0.9.15-beta will not be shown as an update as it is the same (0.9.15) after the sanitisation

@Josef-MrBeam Josef-MrBeam changed the base branch from master to mrbeam2-stable February 2, 2022 22:35
@Josef-MrBeam Josef-MrBeam changed the title Feature/SW 988 change octoprint to fix version comparision SW-988 change octoprint to fix version comparision Mar 16, 2022
@Josef-MrBeam Josef-MrBeam marked this pull request as ready for review March 16, 2022 16:09
@Josef-MrBeam Josef-MrBeam force-pushed the feature/SW-988-change-octoprint-to-fix-version-comparision branch from afcbdc3 to f01742d Compare March 16, 2022 16:10
@ahmed-mrbeam
Copy link

@Josef-MrBeam How about this one
OctoPrint#4238
is it related ?

@Josef-MrBeam
Copy link
Author

No, I had the same issue for the new cloud config but fixed it there with the release_compare inside the update config

@ahmed-mrbeam
Copy link

@Josef-MrBeam this is intended to be merged to Stable, right ?

@ahmed-mrbeam ahmed-mrbeam merged commit c72c887 into mrbeam2-stable Mar 22, 2022
ahmed-mrbeam pushed a commit that referenced this pull request Mar 30, 2022
* remove the sensitization of the version as we need the '-xxx' part (related Octoprint PR: OctoPrint#4389)
* remove the leading v that we use in Mr Beam versions so can use the semantic versioning comparison
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

Successfully merging this pull request may close these issues.

2 participants