-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1668 from itowlson/plugins-install-latest-compati…
…ble-version `spin plugins install` without version: install latest compatible not latest ever
- Loading branch information
Showing
16 changed files
with
372 additions
and
22 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
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
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 @@ | ||
Fake file for preventing the plugin system from pulling from the production repo into this directory during tests |
27 changes: 27 additions & 0 deletions
27
.../plugins/tests/.spin-plugins/manifests/some-spin-ver-some-not/some-spin-ver-some-not.json
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,27 @@ | ||
{ | ||
"name": "some-spin-ver-some-not", | ||
"description": "A plugin where only some versions work with the test harness version of Spin.", | ||
"version": "99.0.1", | ||
"spinCompatibility": ">=99.0", | ||
"license": "Apache-2.0", | ||
"packages": [ | ||
{ | ||
"os": "linux", | ||
"arch": "amd64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
}, | ||
{ | ||
"os": "macos", | ||
"arch": "aarch64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
}, | ||
{ | ||
"os": "macos", | ||
"arch": "amd64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
} | ||
] | ||
} |
27 changes: 27 additions & 0 deletions
27
...s/tests/.spin-plugins/manifests/some-spin-ver-some-not/[email protected]
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,27 @@ | ||
{ | ||
"name": "some-spin-ver-some-not", | ||
"description": "A plugin where only some versions work with the test harness version of Spin.", | ||
"version": "98.0.0", | ||
"spinCompatibility": ">=98.0", | ||
"license": "Apache-2.0", | ||
"packages": [ | ||
{ | ||
"os": "linux", | ||
"arch": "amd64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
}, | ||
{ | ||
"os": "macos", | ||
"arch": "aarch64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
}, | ||
{ | ||
"os": "macos", | ||
"arch": "amd64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
...s/tests/.spin-plugins/manifests/some-spin-ver-some-not/[email protected]
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,15 @@ | ||
{ | ||
"name": "some-spin-ver-some-not", | ||
"description": "A plugin where only some versions work with the test harness version of Spin.", | ||
"version": "98.1.0", | ||
"spinCompatibility": ">=98.0", | ||
"license": "Apache-2.0", | ||
"packages": [ | ||
{ | ||
"os": "windows", | ||
"arch": "aarch64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
} | ||
] | ||
} |
27 changes: 27 additions & 0 deletions
27
...s/tests/.spin-plugins/manifests/some-spin-ver-some-not/[email protected]
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,27 @@ | ||
{ | ||
"name": "some-spin-ver-some-not", | ||
"description": "A plugin where only some versions work with the test harness version of Spin.", | ||
"version": "99.0.0", | ||
"spinCompatibility": ">=99.0", | ||
"license": "Apache-2.0", | ||
"packages": [ | ||
{ | ||
"os": "linux", | ||
"arch": "amd64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
}, | ||
{ | ||
"os": "macos", | ||
"arch": "aarch64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
}, | ||
{ | ||
"os": "macos", | ||
"arch": "amd64", | ||
"url": "https://example.com/doesnt-exist", | ||
"sha256": "11111111" | ||
} | ||
] | ||
} |
Oops, something went wrong.