Repository navigation
Version control OpenZFS On Windows-2.3.1rc12 #661
Replies: 2 comments 1 reply
|
I am sure it's bug of |
|
To quote Ace Ventura - All-righty then! ChatGPT finally got me links to the relevant docs that told me why. The winget doc gave details on how it interprets version numbers here. In essence it boils down to the fact there are alphabetical values in the MIDDLE of one of your Major.Minor.Patch version values. If it had been Only numbers, things would be fine. The docs give an explicit example of:
In our case this compares directly to '1rc9' and '1rc12'. The first "1" stays the numerical integer value 1 in both examples, because it's seen first before any of the alphabetical characters. The RC9 part changes to strictly text with the text ascii character nine, not the numeric integer value 9. In the other, it's ascii character 1 and ascii character 2, not the numeric integer value twelve. And because it's now all text, it sorts and evaluates them the way it does from my initial post. Sorry if this is pedantic - see my power activation notice from above. OK; fine. How do we fix this going forward or make corrections to previous releases It's Simple. Really. (Famous last words.....) First, and primarily, we need to change the RC version value/string. I would suggest to add a dash after the Major.Minor.Patch version values so the dash is before the The second item will be harder. This is because Release Candidate is for a Future version (again - pre-release), not a version that has already been released. This is so that when the Actual Version is released, all the release candidates will be obsoleted and superseded by the released full version. Now, winget will apparently try to use Non Semantic Versioning values to the best of it's abilities. This is why 2.3.1rcXX was treated as a valid value at all. You might find another method that works better within the existing allowances that winget provides. I dunno, I didn't look that closely. I saw a standard listed and thought - "Ohh! Standards! Standards good!!!" and took off to the races. |
Uh oh!
There was an error while loading. Please reload this page.
I like to keep thing updated on my system with winget, and I see that OpenZFS on Windows is available in there. The thing I noticed is that winget is not giving me the latest version. I'm on RC 12 and it keeps wanting to give me RC 9
winget seems to be focused on the first digit of the RC version number, and says "Nope, one is less than nine, so you must need RC 9".
Is there someway that this can be fixed?
All reactions