Skip to content
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: allow "any" to specify a "binary" with no arch/os dependencies #7230

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

michaelfig
Copy link
Contributor

@michaelfig michaelfig commented Sep 3, 2020

Description

This is a tiny feature for cosmovisor to allow the "binary" info to specify a portable
script by using "any" as the default architecture if there is no specific match.


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@codecov
Copy link

codecov bot commented Sep 3, 2020

Codecov Report

Merging #7230 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7230   +/-   ##
=======================================
  Coverage   56.36%   56.36%           
=======================================
  Files         584      584           
  Lines       40566    40566           
=======================================
  Hits        22866    22866           
  Misses      15773    15773           
  Partials     1927     1927           

cosmovisor/upgrade.go Outdated Show resolved Hide resolved
cosmovisor/upgrade.go Outdated Show resolved Hide resolved
cosmovisor/upgrade_test.go Outdated Show resolved Hide resolved
cosmovisor/README.md Outdated Show resolved Hide resolved
@alessio alessio requested a review from jgimeno September 3, 2020 09:36
@alessio alessio self-assigned this Sep 3, 2020
@michaelfig michaelfig changed the title feat: allow "*" to specify a "binary" with no arch/os dependencies feat: allow "any" to specify a "binary" with no arch/os dependencies Sep 3, 2020
Copy link
Contributor

@alessio alessio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good addition! ACK from me.

@alessio
Copy link
Contributor

alessio commented Sep 7, 2020

@michaelfig mind rebasing to master?

@michaelfig
Copy link
Contributor Author

@michaelfig mind rebasing to master?

Done!

@alessio
Copy link
Contributor

alessio commented Sep 13, 2020

@michaelfig please merge master again - sorry about the inconvenience

@sahith-narahari sahith-narahari added the A:automerge Automatically merge PR once all prerequisites pass. label Sep 13, 2020
@michaelfig
Copy link
Contributor Author

@michaelfig please merge master again - sorry about the inconvenience

Done!

@mergify mergify bot merged commit 63c3a6e into cosmos:master Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants