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
dev-cmd/bump: Ignore Repology if the livecheck uses GithubLatest
#12900
dev-cmd/bump: Ignore Repology if the livecheck uses GithubLatest
#12900
Conversation
Review period will end on 2022-02-22 at 00:00:00 UTC. |
- I got frustrated when I fixed the build and test failures for https://github.com/Homebrew/homebrew-core/pull /95430 only to have the audit step say it was a pre-release. - Repology can list versions that are GitHub pre-releases. Pre-release versions of software are things we don't generally want to ship: there's an audit specifically for that. - This fixes `brew bump` to not mark a Repology version as the newest if the formula's livecheck strategy is `GithubLatest`. If the livecheck doesn't exist, or its update strategy is something other than `GithubLatest`, Repology's reported package version is respected.
32c189b
to
0a91c40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this seems fine to me. Should we also consider adding a message indicating why a formula wasn't bumped (or was bumped to the livecheck
version and not the newer Repology version) when the --open-pr
flag is passed?
Thanks @nandahkrishna. I added a message. I'm open to suggestions on the wording!
|
fece6d8
to
aaa101e
Compare
aaa101e
to
b10c5be
Compare
Co-authored-by: Nanda H Krishna <me@nandahkrishna.com>
b10c5be
to
9ad3a9c
Compare
New output:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Review period skipped due to |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?brew bump
to not mark a Repology version as the newest if the formula's livecheck strategy isGithubLatest
. If the livecheck doesn't exist, or its update strategy is something other thanGithubLatest
, Repology's reported package version is respected.