feat: outdated version notifier (spawn + local-ic) #156
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #155
ref: strangelove-ventures/interchaintest#1152
Summary
When a package is out of date (local-ic, spawn), we need to notify the users. This should only be run 1 time per day as it's a heavy operation.
Reason
When Matija was having spawn ICS issues, he was running local-ic v8.2.0, which did not have ICS support. So it was not apparent that a newer version was needed. This will resolve that issue both for spawn & local-ic. Same is useful for future spawn releases (could attach release notes into the binary itself too)
Ideal refactor
Ideally the makefile installer can automatically pull latest (i.e. make get-localic auto pulls v8.4.0, or v8.5.0, etc). Or this can be done within spawn? need to think on the UX here
TODO
spawn changelog latest
, show markdown in terminalspawn docs
kind of like man