aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
AgeCommit message (Collapse)Author
2016-09-11test-bot: don't try to `git clean` any taps.Mike McQuaid
Also, unify the cleanup code and be more careful and consistent with untapping.
2016-09-11test-bot: try again to fix homebrew/core untap.Mike McQuaid
Be more selective with the `git clean` and remove the broken attempt to autotap if missing (as it'd be slow anyway).
2016-09-11test-bot: --ci-upload can upload from current dir.Mike McQuaid
Look in the current directory rather than only allowing upload from Jenkins.
2016-09-11Merge pull request #916 from MikeMcQuaid/bottle-old-valueMike McQuaid
bottle: fix old_value/value ordering for --merge.
2016-09-10bottle: fix old_value/value ordering for --merge.Mike McQuaid
Previously this was the wrong way around causing it to not be accepting enough on e.g. a bump from :any to :any_no_relocation.
2016-09-10bottle: use key/value rather than field.Mike McQuaid
Consistent naming is good.
2016-09-10bottle: further improve --keep-old mismatching.Mike McQuaid
- Make the code more similar between `bottle` and `bottle --merge`. - Also output the mismatched values when using `--merge`.
2016-09-10Merge pull request #907 from MikeMcQuaid/brew-tests-developerMike McQuaid
tests: always set HOMEBREW_DEVELOPER=1.
2016-09-10bottle: improve --keep-old failure output.Mike McQuaid
If fields have changed: tell the user what they were before and are afterwards.
2016-09-10tests: always set HOMEBREW_DEVELOPER=1.Mike McQuaid
Unit tests should be run consistently no matter who is running them and we can stub `ARGV.homebrew_developer?` if we need to change them.
2016-09-08Add DEVELOPER COMMANDS to manpage.Mike McQuaid
2016-09-08Don't hide some (now) developer commands.Mike McQuaid
2016-09-08Move developer-focused commands to dev-cmd.Mike McQuaid
2016-09-08Add `--help` to all developer commands.Mike McQuaid
Also, flag those that we never want to be in a manpage.
2016-09-07test-bot: separate tap/core no formula handling.Mike McQuaid
`e.tap` calls the tap method which wants a block on `FormulaUnavailableError` so the previous approach is :-1:.
2016-09-07test-bot: handle missing tap in exception.Mike McQuaid
Handle the case where a `FormulaUnavailableError` does not contain a tap reference so fall back to `CoreTap` in this case.
2016-09-07test-bot: put exception, retry on missing formula.Mike McQuaid
This will be useful in debugging (and recovering from) the situation where sometimes formulae can't be found when specifying multiple on the command-line.
2016-09-06test-bot: tweak cleaning behaviour again.Mike McQuaid
Always run `git clean -ffdx` on HOMEBREW_REPOSITORY. Also, ensure that if we can't find a formula that's logged.
2016-09-06test-bot: git clean less in cleanup_*.Mike McQuaid
There's edge-cases which is breaking tap CI.
2016-09-05test-bot: never cleanup homebrew/core.Mike McQuaid
Otherwise weird things happen and formulae can't be found.
2016-09-04test-bot: use UPSTREAM_BOTTLE_KEEP_OLD.Mike McQuaid
This is set by Jenkins to indicate a downstream bottle upload job needs to use `brew bottle --keep-old`.
2016-09-04Merge pull request #869 from MikeMcQuaid/test-bot-cleanup-all-tapsMike McQuaid
test-bot: cleanup all repositories.
2016-09-04Merge pull request #376 from ilovezfs/bump-formula-pr-auditilovezfs
bump-formula-pr: audit formula before opening PR note that it was made opt-in not opt-out
2016-09-04test-bot: cleanup all repositories.Mike McQuaid
The test bot currently only focuses on doing cleanup on the current tap and the HOMEBREW_REPOSITORY. This should be extended to cover all repositories as e.g. a syntax error in homebrew/core can break the CI for all the other taps.
2016-09-04test-bot: add missing @tap check.Mike McQuaid
2016-09-03test-bot: don't run brew tests etc. when formulae.Mike McQuaid
If there's formulae changes or the specified argument is a formula then don't waste time running e.g. `brew tests`.
2016-09-03bump-formula-pr: audit formula before opening PRilovezfs
2016-09-01Merge pull request #773 from reitermarkus/report-cask-coverageMike McQuaid
Also report Cask coverage.
2016-08-28test-bot: use --full-name in brew deps invocationSteven Peters
This allows changed formulae in taps to be tested in the proper order. See #738 for more details.
2016-08-27Also report Cask coverage.Markus Reiter
2016-08-26Remove `exist?` check for `brew-cask-tests.rb`.Markus Reiter
2016-08-20Enable ruby-macho by default.William Woodruff
Flips HOMEBREW_RUBY_MACHO to HOMEBREW_NO_RUBY_MACHO.
2016-08-20Merge pull request #760 from jasonkarns/bump-formula-pr-return-to-branchMartin Afanasjew
bump-formula-pr: return to starting branch
2016-08-19bump-formula-pr: return to starting branchJason Karns
After branching, bumping, pushing, and pr-ing; return to whatever branch was originally checked out. In most cases, I'd imagine users to want to continue receiving tap updates from master. However, after using bump-formula-pr, the tap in which the formula was bumped is left on the working branch that was doing the bumping and pull-request. After opening the PR, we should return to whatever branch the user originally had checked out – most likely master. (But git allows us to just say "previous branch" by using `-`)
2016-08-19bump-formula-pr now creates non-tracking branchesJason Karns
Without `--no-track`, some git setups may automatically set `origin/master` as the tracked upstream for the newly created branch. This upstream is what hub defaults as --head when opening PRs. By not allowing git to set `origin/master` as upstream, hub can then use the proper --head for the PR. Since hub still needs to know what --head is intended to be, we can set the branch's upstream when pushing: with the --set-upstream option. Fixes #755
2016-08-18Rename bottle's revision to rebuild.Mike McQuaid
2016-08-18remove ruby 1.8 compatible codesXu Cheng
2016-08-17test-bot: tap cask before cask-tests.Mike McQuaid
2016-08-17Merge pull request #724 from MikeMcQuaid/assume-ruby-twoMike McQuaid
Assume Ruby 2
2016-08-17test-bot: assume Ruby 2.Mike McQuaid
2016-08-17Prepare for Homebrew Cask to be imported.Mike McQuaid
- ignore Cask's files in `readall` (for now, there's an intentional syntax error that will need fixed) - run Cask's tests if they exist - don't check Cask's files in coverage reports (for now)
2016-08-17Fix minor issues in command help text formattingMartin Afanasjew
- Inconsistent or unneeded indentation - Missing or superfluous empty lines - Missing or wrongly formatted arguments in command summary - Missing punctuation
2016-08-14update-test: tweak master not updated check.Mike McQuaid
Loosen this a bit; we don't necessarily expect the end commit is the one we're looking for, just that it has changed from the start commit (i.e. some sort of update has occurred). Addresses some false negatives on `master` branch merges that weren't present on the PR commits.
2016-08-11update-test: check we end up at end commit.Mike McQuaid
This would have caught the bug fixed in 985c67.
2016-08-10Tweak HOMEBREW_NO_AUTO_UPDATE handling.Mike McQuaid
This can just live in `brew.sh` and then it doesn’t need repeated in all the other places.
2016-08-09test-bot: never auto-update.Mike McQuaid
2016-08-08Revert "test-bot: don't run cmd taps generic tests."Mike McQuaid
This reverts commit 24f7e671317dfe22f1d8e10426db2e9074674bc9.
2016-08-08test-bot: don't run cmd taps generic tests.Mike McQuaid
2016-08-08bump-formula-pr: format documentation for --help.Steven Peters
2016-08-06test-bot: avoid duplicate coverage reportsMartin Afanasjew
When running on Travis CI, both the Linux and macOS build will send a coverage report, causing them to be merged by Coveralls. This results in inferior coverage due to the early stage of the Linux-specific tests and is probably not what we want. Make sure we only send a report for macOS (assuming we stick with a single macOS build in `.travis.yml`).