9993 Commits

Author SHA1 Message Date
Markus Reiter
e4da2dfb9f Make test for “cask already installed” less strict. 2016-10-02 19:53:43 +02:00
Markus Reiter
4f1ef16cbf Fix indentation of CaskCommandFailedError. 2016-10-02 19:53:43 +02:00
Markus Reiter
082bd5e98a Change A Cask for #{token} is already installed. message. 2016-10-02 19:53:43 +02:00
Mike McQuaid
564fa8867d Merge pull request #1213 from MikeMcQuaid/diagnostic-messages
*/diagnostic: tweak messaging.
2016-10-02 18:37:46 +01:00
Mike McQuaid
f7d1f4eca6 Merge pull request #1211 from vladshablinsky/list-version-code
list: fix exit code for --verbose and --pinned
2016-10-02 18:33:01 +01:00
Mike McQuaid
8a57fee68c */diagnostic: tweak messaging.
Update some messaging based on recent user confusion and the
`/usr/local/Homebrew` and Ruby 2 migrations.
2016-10-02 17:30:08 +01:00
Mike McQuaid
c6f5d24238 update-test: fix tag updating, skip core tap.
Fix updating the `stable` branch used for tagged updates and ensure
that the core tap isn’t retapped (the slowest part by far of this test).
2016-10-02 17:16:35 +01:00
Uladzislau Shablinski
db478fb7b2 list: fix exit code for --verbose and --pinned
`brew list --verbose <formulae>` lists only those kegs that
are installed and exits with 0 if all <formulae> installed.
If one or more formulae from <formulae> are not installed, the
command lists only installed versions and exits with 1.

`brew --pinned formula` exits with 1 if formula is not pinned.

Fixes #1172
2016-10-02 12:35:30 +03:00
Mike McQuaid
f90f52d902 Merge pull request #1205 from MikeMcQuaid/help-external-commands
help: support `#:` help in external commands.
2016-10-02 08:59:32 +01:00
Mike McQuaid
a364c981e4 Merge pull request #1206 from MikeMcQuaid/install-no-updated-warning
install: remove not updated warning.
2016-10-02 08:59:24 +01:00
Markus Reiter
6201f01722 Fix Tty.gray. 2016-10-02 08:40:38 +02:00
Markus Reiter
8b06a01e5b Merge pull request #823 from reitermarkus/refactoring-tty
Refactor Tty.
2016-10-02 05:36:50 +02:00
Mike McQuaid
fa14c26245 Merge pull request #1169 from reitermarkus/rubocop-separate-configs
Use separate RuboCop configs for formulae and core code.
2016-10-01 21:20:18 +01:00
Mike McQuaid
c699597c4c install: remove not updated warning.
This is no longer relevant after moving to taps/tags and if ever
re-added it should probably target homebrew/core.

Fixes #1194.
2016-10-01 19:42:38 +01:00
Markus Reiter
1eab17235c Add temporary compatibility layer for Tty.white. 2016-10-01 20:15:17 +02:00
Markus Reiter
884b268506 Use Formatter for all URLs. 2016-10-01 20:00:49 +02:00
Markus Reiter
75e8b59aad Add Formatter module. 2016-10-01 20:00:49 +02:00
Markus Reiter
6d8ee395fa Refactor Tty. 2016-10-01 20:00:49 +02:00
Mike McQuaid
a4ebda3fc4 help: support #: help in external commands.
Fixes https://github.com/Homebrew/homebrew-test-bot/issues/3
2016-10-01 18:25:16 +01:00
Mike McQuaid
19e633f190 Merge pull request #1203 from alyssais/analytics_depth
analytics: don't report commands run by Homebrew
2016-10-01 18:24:09 +01:00
Mike McQuaid
32e992ae2f Merge pull request #1202 from MikeMcQuaid/warn-brew-upgrade-all
upgrade: tell people that --all is a no-op.
2016-10-01 18:23:31 +01:00
Mike McQuaid
009fe4fafa Merge pull request #1201 from MikeMcQuaid/update-test-to-tag
update-test: add --to-tag option.
2016-10-01 18:23:08 +01:00
Mike McQuaid
84c29fcf1f Fix JSON output handling. 2016-10-01 17:04:44 +01:00
Alyssa Ross
e0d39cc3ef analytics: don't report commands run by Homebrew
Fixes #788.
2016-10-01 15:18:09 +01:00
Mike McQuaid
f17a55b269 upgrade: tell people that --all is a no-op.
Apparently this is still run by people so let's tell them to save
some typing.
2016-10-01 15:11:52 +01:00
Mike McQuaid
cc59e624b0 Merge pull request #1200 from MikeMcQuaid/man-note-date-change
man: note --fail-if-changed date behaviour change.
2016-10-01 14:51:01 +01:00
Mike McQuaid
842ae5dfee update-test: add --to-tag option.
This option is used to test updating between tags.
2016-10-01 13:29:18 +01:00
Mike McQuaid
98e7fb6b60 Merge pull request #1052 from sjackman/store-formula
Store the formula used to build the keg in the keg
2016-10-01 12:24:19 +01:00
Mike McQuaid
099f69e612 man: note --fail-if-changed date behaviour change.
As requested in #1199 this updates the documentation accordingly for
that change.
2016-10-01 12:19:51 +01:00
Mike McQuaid
5b31507fda Use Library/.rubocop.yml file.
This allows having a shared style that’s use for Homebrew/brew and taps
which can be overridden by Homebrew/brew.
2016-10-01 12:13:09 +01:00
Mike McQuaid
c4adc68016 man: set date when --fail-if-changed.
Set the manpage date to the existing one if we're checking for changes.
This avoids the only change being e.g. a new date.
2016-10-01 11:49:39 +01:00
Mike McQuaid
41b2df8e33 Merge pull request #1177 from scpeters/man_exit_code
Man exit code
2016-09-30 08:22:37 +01:00
Mike McQuaid
4e7e4ca471 Merge pull request #1182 from MikeMcQuaid/update-old-git-tags
update.sh: use sort instead of git tag --sort.
2016-09-30 08:22:18 +01:00
Steven Peters
44d13ce256 dev-cmd/man: display diff --stat, add --exit-code
The --fail-if-changed option will cause `brew man`
to return a failing status code if the man files
have changed.
2016-09-29 18:21:49 -07:00
Markus Reiter
cea796c09b Rename shared RuboCop config to .rubocop_common.yml. 2016-09-29 22:59:49 +02:00
Markus Reiter
18a9945ad8 cd to HOMEBREW_LIBRARY is not needed anymore for RuboCop. 2016-09-29 22:58:41 +02:00
Markus Reiter
5800f2f084 Use separate .rubocop.yml in Library/Taps and Library/Homebrew. 2016-09-29 22:58:41 +02:00
Markus Reiter
5b2ae6885b Fix Lint/NestedMethodDefinition in dev-cmd/bottle.rb`. 2016-09-29 22:58:41 +02:00
Markus Reiter
70fc825787 Use separate RuboCop configs for formulae and core code. 2016-09-29 22:58:41 +02:00
Mike McQuaid
d4311fd49f update.sh: use sort instead of git tag --sort.
Older versions of Git don't have this flag and we don't want to block
updates for them when there's a (relatively) simple workaround.
2016-09-29 09:16:15 +01:00
Markus Reiter
0f71573df4 Update rubocop-cask to 0.10.0. 2016-09-28 23:03:31 +02:00
ilovezfs
88a1b2853a superenv: more 10.11 clock_gettime Autotools fixes
some build systems check ac_cv_search_clock_gettime instead of
ac_cv_func_clock_gettime so the former should also be set to "no"

libev.m4 unsets ac_cv_func_clock_gettime, but if ac_have_clock_syscall
is defined, it will leave ac_cv_func_clock_gettime alone:

  http://cvs.schmorp.de/libev/libev.m4?view=markup#l23
2016-09-28 03:31:32 -07:00
Mike McQuaid
c1533e0ba4 Merge pull request #1174 from zmwangx/silence-unzip-and-unrar
download_strategy: silence unzip and unrar
2016-09-28 10:05:48 +01:00
Zhiming Wang
f28e5106c2
download_strategy: silence unzip and unrar
We silenced tar in 5e3a26b. It makes sense to make unzip and unrar
output comparably succinct.
2016-09-27 18:26:04 -04:00
Mike McQuaid
2c50f762ce update.sh: hide GITHUB_HEADERS missing output.
Will only happen once but could be confusing anyway.
2016-09-27 13:55:08 +01:00
Mike McQuaid
cbae10a732 test/test_custom_command: fix rubocop style. 2016-09-27 13:02:07 +01:00
Mike McQuaid
0c472ea6d9 test/test_create: fix rubocop style. 2016-09-27 13:02:07 +01:00
Mike McQuaid
776785459b test/test_audit: fix rubocop style. 2016-09-27 13:02:07 +01:00
Mike McQuaid
47fe231552 test/helper/integration_command_test_case: fix rubocop style. 2016-09-27 13:02:07 +01:00
Mike McQuaid
4488eddf91 Merge pull request #1128 from reitermarkus/rubocop
RuboCop changes.
2016-09-27 12:49:34 +01:00