update-test: more improvements.#9028
Merged
MikeMcQuaid merged 1 commit intoHomebrew:masterfrom Nov 4, 2020
MikeMcQuaid:update-test-tweaks
Merged
update-test: more improvements.#9028MikeMcQuaid merged 1 commit intoHomebrew:masterfrom MikeMcQuaid:update-test-tweaks
MikeMcQuaid merged 1 commit intoHomebrew:masterfrom
MikeMcQuaid:update-test-tweaks
Conversation
- Explain why `HOMEBREW_UPDATE_TEST` is set and what it does. - Avoid auto-updating (this should already be not happening but let's make sure). - Set environment variables to ensure we're testing the default update behaviour (rather than deferring to user configuration). - Use `HOMEBREW_BREW_GIT_REMOTE` as well as setting `git config remote.origin.url` ourselves. - Run `brew help` quietly first to hide irrelevant portable Ruby output. - Run `brew update --verbose --debug` to get even more output on failure. Fixes #8979
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
HOMEBREW_UPDATE_TESTis set and what it does.HOMEBREW_BREW_GIT_REMOTEas well as settinggit config remote.origin.urlourselves.brew helpquietly first to hide irrelevant portable Ruby output.brew update --verbose --debugto get even more output on failure.Fixes #8979
brew stylewith your changes locally?brew testswith your changes locally?brew manlocally and committed any changes?