-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the loading of pre-releases when constraint is latest
See: #35 Because of how go-version parses versions with so-called pre-release tags (see: hashicorp/go-version#35) and because not all packages have strict semver versions (especially ones we have taken from alpine), some packages end up being erroneously listed as uninstallable. This PR essentially tells vin to install the latest version of a package, even when that version is recognised as a pre-release
- Loading branch information
Showing
7 changed files
with
63 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
testdata/manifests/valid-manifests/complex-versions-app/3.2.0-r1/manifest.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
provides = "complex-versions-app" | ||
version = "3.2.0-r1" | ||
|
||
[profiles] | ||
[profiles.default] # All manifests need a default profile | ||
deps = [] |
6 changes: 6 additions & 0 deletions
6
testdata/manifests/valid-manifests/complex-versions-app/3.2.0-r2/manifest.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
provides = "complex-versions-app" | ||
version = "3.2.0-r2" | ||
|
||
[profiles] | ||
[profiles.default] # All manifests need a default profile | ||
deps = [] |
6 changes: 6 additions & 0 deletions
6
testdata/manifests/valid-manifests/complex-versions-app/3.2.0-r3/manifest.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
provides = "complex-versions-app" | ||
version = "3.2.0-r3" | ||
|
||
[profiles] | ||
[profiles.default] # All manifests need a default profile | ||
deps = [] |
6 changes: 6 additions & 0 deletions
6
testdata/manifests/valid-manifests/complex-versions-app/3.2.1-r1/manifest.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
provides = "complex-versions-app" | ||
version = "3.2.1-r1" | ||
|
||
[profiles] | ||
[profiles.default] # All manifests need a default profile | ||
deps = [] |