luet
luet copied to clipboard
Refactor: Review semver comparations inside version.go to simplify migrations
Currently, Best()
method uses directly the semver API and we need to duplicate the workaround for build version with the underscore or invalid chars. The idea is to separate the logic to a unique and specific point.
In this way, will be easier to replace semver with a fork or others
Commit related to this: 129ca8da55ab5d54222b119671bf641aa1a683b0
Now with the versioner https://github.com/mudler/luet/pull/82, we can to move everything under the interface specification, so we can swap implementation easily