Mike McQuaid
b85ee1cb8f
Update documentation links.
2016-09-20 10:41:42 +01:00
Mike McQuaid
51ed08d733
man: read lead, former maintainers, creator.
2016-09-20 09:31:19 +01:00
Mike McQuaid
622e858b6e
test-bot: always set PATH to HOMEBREW_PREFIX.
...
Set the `PATH` to always have the `bin` and `sbin` for the current
`HOMEBREW_PREFIX` at the beginning.
2016-09-20 08:42:30 +01:00
Mike McQuaid
7a9934ffa3
test-bot: brew prune after removing formulae.
2016-09-19 11:24:36 +01:00
Mike McQuaid
8a4f26f952
test-bot: run brew style
.
2016-09-19 11:18:10 +01:00
Mike McQuaid
167af26a24
Merge pull request #1019 from MikeMcQuaid/macos-rename
...
Use new "macOS" naming where appropriate.
2016-09-19 08:17:36 +01:00
Mike McQuaid
e4fb2ce3bd
Merge pull request #1015 from MikeMcQuaid/relocate-repository
...
Relocate HOMEBREW_REPOSITORY when necessary.
2016-09-19 08:14:44 +01:00
Mike McQuaid
3f9cce0a03
Use new "macOS" naming where appropriate.
...
Not quite a mass replacement as I've used OS X and Mac OS X where
describing specific older versions and added compatibility methods
for things in the DSL.
2016-09-18 19:57:19 +01:00
Mike McQuaid
3551977fb3
test-bot: uninstall all formula on cleanup.
...
Need to do this manually now that we can't rely on `git clean -xdf` to
do it for us.
2016-09-18 19:30:00 +01:00
Mike McQuaid
997ccb044d
Relocate HOMEBREW_REPOSITORY when necessary.
...
Now that the default from the installer, our CI and soon all users
is `/usr/local/Homebrew` it's a lot easier to check if there's
references to it (as we cannot look for `/usr/local` as it's a too
commonly hardcoded path).
2016-09-18 16:31:58 +01:00
Mike McQuaid
3982950e61
rubocop --auto-correct all hash-rocket usage.
2016-09-17 16:14:13 +01:00
Mike McQuaid
b1903c1a4a
test-bot: generate coverage reports on Sierra.
...
We may have two Sierra nodes available which could speed up this
relatively slow operation.
2016-09-17 12:55:46 +01:00
Mike McQuaid
1649545cf9
update-test: handle missing master branch.
...
Ensure it's always created.
Also, re-order `update-test` in `test-bot` (and `readall`) so they are
run before the test suites.
2016-09-16 17:17:50 +01:00
Mike McQuaid
b1fba6ed54
Send coverage from Jenkins, don't run OS X Travis.
...
OS X Travis CI is particularly error-prone, slow and unnecessary for
us when we're already running (fast) OS X builds on Jenkins so use it
just for Linux testing.
2016-09-16 10:20:09 +01:00
Mike McQuaid
054b1a8f73
test-bot: fix test default formula handling.
...
Move the test default formula handling to after all the other formulae
additions are so it'll only be added if no formulae are detected
already in a PR.
2016-09-13 13:25:33 +01:00
Mike McQuaid
0f03506adc
test-bot: don't run Homebrew tests for taps PRs.
...
Check the repository directly rather than @test_default_formula.
2016-09-13 10:36:20 +01:00
Mike McQuaid
0316830d4f
test-bot: also build testing bottle.
2016-09-13 08:58:12 +01:00
Mike McQuaid
4295936322
bottle: allow forcing tap when not present.
2016-09-13 08:57:55 +01:00
Mike McQuaid
c3a8701dc4
test-bot: default to building testbottest.
...
This provides an integration test for `test-bot.rb` by performing
compilation of an actual formula.
2016-09-13 08:18:43 +01:00
Zhiming Wang
5a264cf597
Merge pull request #947 from zmwangx/fix-test-bot-desc
...
test-bot: fix summary
2016-09-12 10:22:27 -04:00
Zhiming Wang
8ce4ca1de3
test-bot: fix summary
2016-09-12 09:09:23 -04:00
Mike McQuaid
793a75f3f3
test-bot: fix bottling non-testing jobs.
...
Need to handle when the `BOT_PARAMS` are `nil`.
2016-09-12 13:51:32 +01:00
Mike McQuaid
5da42b5a5f
test-bot: fix multiline regex.
2016-09-12 10:28:52 +01:00
Mike McQuaid
debc202d1e
bottle: remove debug statements.
2016-09-12 09:57:45 +01:00
Mike McQuaid
e4ef1f062e
test-bot: fix regex placement.
2016-09-12 08:52:19 +01:00
Mike McQuaid
53c3123b53
Merge pull request #929 from MikeMcQuaid/test-bot-jenkinsfile
...
test-bot: handle more Jenkins configurations.
2016-09-12 08:09:39 +01:00
Mike McQuaid
df1f9806a4
test-bot: handle more Jenkins configurations.
...
Used in trying to use a `Jenkinsfile`.
2016-09-11 21:43:37 +01:00
Mike McQuaid
51bda9c90e
dev-cmd/test-bot: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
f1c64f1cdc
dev-cmd/pull: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
71fd2bb4b0
dev-cmd/man: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
e6b057ea76
dev-cmd/edit: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
d01993da82
dev-cmd/create: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
bba6a59c0c
dev-cmd/bump-formula-pr: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
9b5c45a7df
dev-cmd/bottle: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
264afb67df
dev-cmd/audit: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
90d16a8f86
dev-cmd/aspell-dictionaries: fix Rubocop warnings.
2016-09-11 18:28:43 +01:00
Mike McQuaid
237b70168e
bottle: set bottle block tap.
...
Avoids issues when using `—keep-old`
2016-09-11 17:33:39 +01:00
Mike McQuaid
f583199f6e
test-bot: don't try to git clean
any taps.
...
Also, unify the cleanup code and be more careful and consistent with
untapping.
2016-09-11 14:14:31 +01:00
Mike McQuaid
3d73515028
test-bot: try again to fix homebrew/core untap.
...
Be more selective with the `git clean` and remove the broken attempt
to autotap if missing (as it'd be slow anyway).
2016-09-11 12:31:44 +01:00
Mike McQuaid
2ec5423356
test-bot: --ci-upload can upload from current dir.
...
Look in the current directory rather than only allowing upload from
Jenkins.
2016-09-11 11:28:15 +01:00
Mike McQuaid
ad3359b96e
Merge pull request #916 from MikeMcQuaid/bottle-old-value
...
bottle: fix old_value/value ordering for --merge.
2016-09-11 10:39:58 +01:00
Mike McQuaid
be6876c79a
bottle: fix old_value/value ordering for --merge.
...
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-10 21:15:28 +01:00
Mike McQuaid
d0c33b3705
bottle: use key/value rather than field.
...
Consistent naming is good.
2016-09-10 19:43:49 +01:00
Mike McQuaid
ea5da9b592
bottle: further improve --keep-old mismatching.
...
- Make the code more similar between `bottle` and `bottle --merge`.
- Also output the mismatched values when using `--merge`.
2016-09-10 16:12:27 +01:00
Mike McQuaid
cfc930011d
Merge pull request #907 from MikeMcQuaid/brew-tests-developer
...
tests: always set HOMEBREW_DEVELOPER=1.
2016-09-10 15:39:47 +01:00
Mike McQuaid
44ba4583b7
bottle: improve --keep-old failure output.
...
If fields have changed: tell the user what they were before and are
afterwards.
2016-09-10 10:13:33 +01:00
Mike McQuaid
274035381d
tests: always set HOMEBREW_DEVELOPER=1.
...
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-10 09:50:40 +01:00
Mike McQuaid
71881fd7a6
Add DEVELOPER COMMANDS to manpage.
2016-09-08 20:46:51 +01:00
Mike McQuaid
86bfd36af2
Don't hide some (now) developer commands.
2016-09-08 20:46:37 +01:00
Mike McQuaid
af8605ea4b
Move developer-focused commands to dev-cmd.
2016-09-08 20:46:37 +01:00