-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add upgrade proposal plan validation to CLI #10379
Commits on Oct 13, 2021
-
[10286]: Create planinfo.go to house some validation pieces related t…
…o upgrade plan info.
Configuration menu - View commit details
-
Copy full SHA for ac64aa1 - Browse repository at this point
Copy the full SHA ac64aa1View commit details -
[10286]: Update the cli software-upgrade process to have a --no-valid…
…ate flag and validate the plan info by default.
Configuration menu - View commit details
-
Copy full SHA for 22886b7 - Browse repository at this point
Copy the full SHA 22886b7View commit details
Commits on Oct 14, 2021
-
[10286]: Refactor the new planinfo.go stuff to make it hopefully hand…
…ier for reuse by cosmovisor. Also, add a --daemon-name flag to the software-upgrade. The deamon name is needed in order to properly validate the plan info. It defaults to the name of the running executable, but since that might not be right, the flag allows defining it.
Configuration menu - View commit details
-
Copy full SHA for 7cfac32 - Browse repository at this point
Copy the full SHA 7cfac32View commit details -
[10286]: Switch up the --daemon-name flag a bit. Just use the DAEMON_…
…NAME env var as the default if it's set, then there isn't a need for a special getter for that flag's value.
Configuration menu - View commit details
-
Copy full SHA for 4ce1a17 - Browse repository at this point
Copy the full SHA 4ce1a17View commit details -
[10286]: Add github.com/hashicorp/go-getter v1.4.1 to the main go.mod…
… file. It's in the cosmovisor go.mod file, but similar functionality is needed in the x/upgrade module now.
Configuration menu - View commit details
-
Copy full SHA for 5c869f5 - Browse repository at this point
Copy the full SHA 5c869f5View commit details -
[10286]: Move the planinfo.go file into a new planinfo folder/package…
…, and split out the downloading functions into a new downloader.go file. Change PlanInfo.ValidateBasic to ValidateFull that does both the validation pieces on the binaries map.
Configuration menu - View commit details
-
Copy full SHA for 04d2f54 - Browse repository at this point
Copy the full SHA 04d2f54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 161fff8 - Browse repository at this point
Copy the full SHA 161fff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 581e32b - Browse repository at this point
Copy the full SHA 581e32bView commit details
Commits on Oct 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b67858d - Browse repository at this point
Copy the full SHA b67858dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65b84a8 - Browse repository at this point
Copy the full SHA 65b84a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f3175b - Browse repository at this point
Copy the full SHA 6f3175bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b646d58 - Browse repository at this point
Copy the full SHA b646d58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b835f8 - Browse repository at this point
Copy the full SHA 0b835f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a7f795 - Browse repository at this point
Copy the full SHA 7a7f795View commit details -
[10286]: Move the makeFileURL out of the function it's in so it can b…
…e used in other tests.
Configuration menu - View commit details
-
Copy full SHA for 71abcf6 - Browse repository at this point
Copy the full SHA 71abcf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d5cec9 - Browse repository at this point
Copy the full SHA 8d5cec9View commit details -
Merge branch 'master' into dwedul/10286-upgrade-prop-validation
# Conflicts: # go.sum
Configuration menu - View commit details
-
Copy full SHA for 604a5be - Browse repository at this point
Copy the full SHA 604a5beView commit details -
Configuration menu - View commit details
-
Copy full SHA for aecbdda - Browse repository at this point
Copy the full SHA aecbddaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ad28b4 - Browse repository at this point
Copy the full SHA 3ad28b4View commit details
Commits on Oct 18, 2021
-
[10286]: Get rid of the package global osArchRx and make it just a va…
…riable in the one function that needs it.
Configuration menu - View commit details
-
Copy full SHA for 2d727d1 - Browse repository at this point
Copy the full SHA 2d727d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0860283 - Browse repository at this point
Copy the full SHA 0860283View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7ec6b7 - Browse repository at this point
Copy the full SHA b7ec6b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3faff93 - Browse repository at this point
Copy the full SHA 3faff93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13a6cea - Browse repository at this point
Copy the full SHA 13a6ceaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d7384a - Browse repository at this point
Copy the full SHA 4d7384aView commit details
Commits on Oct 21, 2021
-
Merge branch 'master' into dwedul/10286-upgrade-prop-validation
# Conflicts: # go.mod
Configuration menu - View commit details
-
Copy full SHA for fbc8e65 - Browse repository at this point
Copy the full SHA fbc8e65View commit details
Commits on Oct 22, 2021
-
Merge branch 'master' into dwedul/10286-upgrade-prop-validation
# Conflicts: # CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 233beb3 - Browse repository at this point
Copy the full SHA 233beb3View commit details
Commits on Oct 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 73ae27a - Browse repository at this point
Copy the full SHA 73ae27aView commit details
Commits on Oct 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 71f1ba1 - Browse repository at this point
Copy the full SHA 71f1ba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7acb128 - Browse repository at this point
Copy the full SHA 7acb128View commit details
Commits on Oct 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fda7d0c - Browse repository at this point
Copy the full SHA fda7d0cView commit details
Commits on Nov 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2f1dfaa - Browse repository at this point
Copy the full SHA 2f1dfaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a39cad - Browse repository at this point
Copy the full SHA 5a39cadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fa8830 - Browse repository at this point
Copy the full SHA 1fa8830View commit details -
Configuration menu - View commit details
-
Copy full SHA for fff68d4 - Browse repository at this point
Copy the full SHA fff68d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5176c9d - Browse repository at this point
Copy the full SHA 5176c9dView commit details -
[10286]: Rename checkURL to validateIsURLWithChecksum to be clearer a…
…bout what it's doing.
Configuration menu - View commit details
-
Copy full SHA for 89efbb1 - Browse repository at this point
Copy the full SHA 89efbb1View commit details -
[10286]: Rename downloadUpgradeAsDir to downloadUpgradeAsArchive sinc…
…e that's more accurate to what the url must be.
Configuration menu - View commit details
-
Copy full SHA for 236af7d - Browse repository at this point
Copy the full SHA 236af7dView commit details -
[10286]: Rename DownloadPlanInfoFromURL to DownloadURLWithChecksum an…
…d make the error messages a little more generic.
Configuration menu - View commit details
-
Copy full SHA for 34781f8 - Browse repository at this point
Copy the full SHA 34781f8View commit details -
[10286]: Update error message from 'plan info cannot be blank' to 'pl…
…an info must not be blank'.
Configuration menu - View commit details
-
Copy full SHA for 4cdeb58 - Browse repository at this point
Copy the full SHA 4cdeb58View commit details -
[10286]: Move the x/upgrade/types/planinfo stuff into x/upgrade/plan …
…and rename PlanInfo to just Info.
Configuration menu - View commit details
-
Copy full SHA for 482c9f1 - Browse repository at this point
Copy the full SHA 482c9f1View commit details -
[10286]: Remove the punctuation at the end of the new software-upgrad…
…e flag descriptions since the others don't have it and the default is added to the end of that string making it weird with punctuation.
Configuration menu - View commit details
-
Copy full SHA for 716bc54 - Browse repository at this point
Copy the full SHA 716bc54View commit details -
[10286]: Add a little more to the --daemon-name description to hopefu…
…lly prevent some ambiguity.
Configuration menu - View commit details
-
Copy full SHA for 26093e8 - Browse repository at this point
Copy the full SHA 26093e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61706d7 - Browse repository at this point
Copy the full SHA 61706d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2641576 - Browse repository at this point
Copy the full SHA 2641576View commit details
Commits on Nov 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 320d49f - Browse repository at this point
Copy the full SHA 320d49fView commit details
Commits on Nov 12, 2021
-
Merge branch 'master' into dwedul/10286-upgrade-prop-validation
# Conflicts: # go.mod # go.sum
Configuration menu - View commit details
-
Copy full SHA for 382a137 - Browse repository at this point
Copy the full SHA 382a137View commit details