-
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.
feat: check for and list valid versions and targets programmatically …
…in `phylum-init` (#74) * Check for valid versions by using the GitHub API to compare against actual releases * Supported target triples programmatically generated based on the results * Users will be told when the version provided as an option is not valid * Removed `SUPPORTED_TARGET_TRIPLES` static collection * Add `--list-releases` and `--list-targets` options * These are mutually exclusive options * Listing Rust target triples are for a specific release version * Format and refactor throughout * Stop using `.get` method on `importlib_metadata.metadata()` results * See python/importlib_metadata#384 * Add constant for `MIN_SUPPORTED_CLI_VERSION`
- Loading branch information
Showing
4 changed files
with
123 additions
and
49 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