Recipe catalogue version ordering #427
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The recipe versions in the catalogue are not ordered according to the semver semantics. For example for the wekan recipe the version "0.12.0+v6.68" is placed between "0.1.1+v5.98" and "0.2.0+v6.05", therefore version "0.9.0+v6.34" is detected as latest version:
d5a183e44d/recipes.json (L6633)
As the upgrade/deploy commands use the last version from the catalogue version order, the newest version is not detected.
Either the catalogue generation should return a correct semver version order or the function
GetRecipeCatalogueVersions
e4a89bcc4f/pkg/recipe/recipe.go (L1027)
should do the ordering.Oh yeh, that's a bad bug. Thanks for raising! Will have to check other places where the code assumes the catalogue is ordered. I'm not sure how things are done in e.g. the
app ls -S
listing of versions.