10819 Commits

Author SHA1 Message Date
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
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
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
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
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
Meng Ye
b197cd8839 fix Formula path, support macOS 2016-09-29 16:59:05 +08: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
Eli Young
09c04aa715 completion: Avoid aliases with command ls
If the user has an alias overriding the `ls` command that modifies the
output (e.g. `alias ls='ls -F'`), it will cause unexpected characters to
appear in completions. Using `command ls` forces the shell to use the
command directly, without alias expansion.

This also blackholes the stderr of `ls` when used to avoid printing
errors during completion if the requisite directory does not exist.
2016-09-28 16:36:11 -07:00
Markus Reiter
0f71573df4 Update rubocop-cask to 0.10.0. 2016-09-28 23:03:31 +02:00
Mike McQuaid
ff4636bd85 Merge pull request #1178 from ilovezfs/more_clock_gettime
superenv: more 10.11 clock_gettime Autotools fixes
2016-09-28 12:32:47 +01: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
Mike McQuaid
8d563de78a Merge pull request #1166 from MikeMcQuaid/update-hide-github-headers-missing-output
update.sh: hide GITHUB_HEADERS missing output.
2016-09-28 08:54:53 +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
7e93340073 Merge pull request #1164 from MikeMcQuaid/style-fixups
Rubocop style fixups
2016-09-27 13:32:26 +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
ilovezfs
0ffc9de478 Merge pull request #871 from ilovezfs/bump-formula-pr-enhancements
bump-formula-pr: enhancements
2016-09-27 04:13:29 -07:00
ilovezfs
3811f57006 bump-formula-pr: document new options 2016-09-27 03:31:05 -07:00
ilovezfs
5247cb83d7 bump-formula-pr: style fixes 2016-09-27 03:31:04 -07:00
ilovezfs
ff51e09e17 bump-formula-pr: forced_version support for devel 2016-09-27 02:50:46 -07:00
ilovezfs
f4cfb9ee87 bump-formula-pr: add --write option
intended to be used in combination with --dry-run for a not-so-dry run

the expected file modifications are made, but no git actions are taken
2016-09-27 02:46:08 -07:00
ilovezfs
394b0884eb bump-formula-pr: handle gnu mirrors
and add explicit version when not preexisting
2016-09-27 02:46:08 -07:00
ilovezfs
a9a62972bd bump-formula-pr: handle explicit version DSL
--version=1.2.3 option to set `version "1.2.3"`

Note that --version=0 will remove a no-longer-needed explicit version
2016-09-27 02:46:08 -07:00
ilovezfs
19df03219b bump-formula-pr: --mirror option 2016-09-27 02:46:08 -07:00
ilovezfs
743e9bbdaa bump-formula-pr: formula name guessing 2016-09-27 02:46:08 -07:00
ilovezfs
ce092d90fa bump-formula-pr: set sha256 automatically when possible 2016-09-27 02:46:07 -07:00
Mike McQuaid
b432f8e9cb Merge pull request #1004 from apjanke/print-requirements
info: print requirements
2016-09-27 09:48:14 +01:00
Mike McQuaid
92e6edea53 Merge pull request #1125 from reitermarkus/rubocop-macos
RuboCop: MacOS
2016-09-27 09:33:56 +01:00
Mike McQuaid
a5565d8fd6 Merge pull request #1161 from hiddenlotus/master
add pcmpl-homebrew for homebrew emacs plugin
1.0.5
2016-09-27 09:07:31 +01:00
kaihaosw
30779c3283 add pcmpl-homebrew for homebrew emacs plugin 2016-09-27 15:33:39 +08:00
Mike McQuaid
e4ed309087 Merge pull request #1156 from reitermarkus/split-integration-tests
Speed up `parallel_tests` by splitting integration tests.
2016-09-27 08:08:12 +01:00
Markus Reiter
c9c7f462d3 Merge pull request #1159 from toonetown/doc-fix
Fix documentation for --caskroom default
2016-09-27 02:42:14 +02:00
Nathan Toone
8995d8b9e5 Fix documentation for --caskroom default 2016-09-26 17:26:03 -06:00
Markus Reiter
d508b124a4 Rename/merge test files. 2016-09-27 00:15:56 +02:00
Markus Reiter
cd677cf3ae Speed up parallel_tests by splitting integration tests. 2016-09-26 19:55:50 +02:00