[Feature]: nonlinear update system #9718

Open
opened 3 months ago by daikei · 2 comments

What feature would you like implemented?

replace version != newVersion with version < newVersion for updates

Why should we add this feature?

Nonlinear update paths will probably happen again, and system admins should not have to fear downgrading by accident

Version

docker/13.2.0-beta

Instance

No response

What browser are you using?

Firefox

Relevant log output

No response

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
### What feature would you like implemented? replace version != newVersion with version < newVersion for updates ### Why should we add this feature? Nonlinear update paths will probably happen again, and system admins should not have to fear downgrading by accident ### Version docker/13.2.0-beta ### Instance _No response_ ### What browser are you using? Firefox ### Relevant log output _No response_ ### Contribution Guidelines - [x] I agree to follow this project's Contribution Guidelines
panos added the
Feature
label 3 months ago

The thing is, the versions aren't just ints, and semver comparison is notoriously buggy when characters are involved (see v13.2.0-beta vs v13.1.4.1). It used to be like how you described, but was reversed due to buggy behavior. I may revisit this, though.

The thing is, the versions aren't just ints, and semver comparison is notoriously buggy when characters are involved (see v13.2.0-beta vs v13.1.4.1). It used to be like how you described, but was reversed due to buggy behavior. I may revisit this, though.
Poster

it may be worth considering adding a test and assigning them a number so they become integers based on importance, or seperating them out entirely so that they follow different flows for checks

it may be worth considering adding a test and assigning them a number so they become integers based on importance, or seperating them out entirely so that they follow different flows for checks
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: calckey/calckey#9718
Loading…
There is no content yet.