solc-select
solc-select copied to clipboard
Added additional error handling on being unable to access github
Scenarios:
- If GitHub is unreachable, the
earliest_releaseshould be0.4.10instead of0.4.0. - If soliditylang is unreachable, an error should be raised
- If a user installs
all, then all binaries from soliditylang will be installed, with a warning message that 0.4.0-0.4.9 are unavailable - If a user tries to fetch available versions and GitHub is unreachable, solc-select will continue execution, with a warning message that 0.4.0-0.4.9 are unavailable
Setting this to a draft PR, so we have time to think about how to test.
In current version also valid_version always tries to query latestRelease. It would be nice if in case github is not accessible the latest version check will not fail.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Natalie Chin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.