11004 Commits

Author SHA1 Message Date
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
Markus Reiter
9690c94f9d Fix Style/GuardClause style offense. 2016-10-02 00:24:47 +02:00
Markus Reiter
c36f42ce95 Remove private_class_method from commands. 2016-10-02 00:24:47 +02:00
Markus Reiter
acaee035df Add compatibility layer for module Homebrew. 2016-10-02 00:24:47 +02:00
Markus Reiter
0ab750bf24 Use module_function for commands. 2016-10-02 00:24:47 +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
Uladzislau Shablinski
d92a1ad584 brew.rb: update help parsing 2016-10-01 22:09:11 +03: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
Mike McQuaid
c3771336cf Note keg_only changes. 2016-10-01 16:41:59 +01:00
Mike McQuaid
d2cc917960 Fix migrate formula link. 2016-10-01 16:41:46 +01:00
Uladzislau Shablinski
fd0149783a brew.sh: don't autoupdate if --help passed 2016-10-01 18:18:24 +03:00
Mike McQuaid
a158ef25e0 Migrate a Formula to Multiple Versions: add docs.
Add a document describing how to migrate a formula to our new multiple
versions support, upgrade a multiple version formula and how to import
a homebrew/versions formula into homebrew/core.
2016-10-01 15:33:30 +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
c64ce3ef07 Merge pull request #1199 from MikeMcQuaid/man-fail-if-changed-date
man: set date when --fail-if-changed.
2016-10-01 12:13:27 +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
Bruce Steedman
15462cc817 delete verbose env vars in brew tests 2016-10-01 09:49:06 +01:00
Bruce Steedman
df7246fdea make assertions conditional on ARGV.verbose? 2016-10-01 09:26:25 +01:00
Markus Reiter
c129e6405a Add .com.apple.timemachine.supported to DMG_METADATA_FILES. 2016-10-01 04:35:04 +02:00
Bruce Steedman
d843f70a35 remove assertion, leave command 2016-09-30 23:53:42 +01:00
Bruce Steedman
0b293c44e8 fix remaining tap test failures 2016-09-30 23:41:41 +01:00
Bruce Steedman
540347a42c fix tests failing when verbose set 2016-09-30 18:41:54 +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
779833a0c3 Update man pages 2016-09-29 18:21:56 -07: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
Joshua McKinney
d624627885 Refactor and add commands to brew zsh completion
This is a full rewrite of the zsh completion based on the changes we
made to support external commands. A function for each brew command
handles only that command's arguments. The main completion function
dispatches the completion flow to the correct function. This
generically works with both internal and external commands.

This change includes all arguments for all internal brew commands.
Some commands are missing argument documentation due to missing help
docs.
2016-09-29 12:57:53 -04:00
Markus Reiter
0b5fea7275 Merge pull request #1181 from reitermarkus/rubocop-cask
Update `rubocop-cask` to 0.10.0.
2016-09-29 17:09:25 +02:00
Zhiming Wang
8608e48f09 Merge pull request #901 from elyscape/use-command-ls
completion: Avoid aliases with `command ls`
2016-09-29 08:42:09 -04:00
Mike McQuaid
de5deaea98 Merge pull request #1183 from jk2K/patch-1
fix Formula path in Formula-Cookbook, support macOS
2016-09-29 10:06:36 +01:00