luet icon indicating copy to clipboard operation
luet copied to clipboard

Refactor: Review semver comparations inside version.go to simplify migrations

Open geaaru opened this issue 4 years ago • 2 comments

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

geaaru avatar Apr 03 '20 16:04 geaaru

Commit related to this: 129ca8da55ab5d54222b119671bf641aa1a683b0

geaaru avatar Apr 03 '20 16:04 geaaru

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

mudler avatar Apr 11 '20 20:04 mudler