9956 Commits

Author SHA1 Message Date
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
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
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
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
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
Zhiming Wang
7ccc554f7e Merge pull request #1153 from zmwangx/m4a-fixtures
fixtures: add test.m4a
2016-09-26 12:06:07 -04:00
Mike McQuaid
11293bc3c8 Merge pull request #1152 from MikeMcQuaid/doctor-remove-outdated-check
doctor: remove outdated Homebrew check.
2016-09-26 15:07:15 +01:00
Zhiming Wang
94ed397e62 Merge pull request #1139 from zmwangx/empty-argument-no-such-keg
ARGV: kegs: error on empty arguments
2016-09-26 09:36:33 -04:00
Zhiming Wang
b6f983120a
fixtures: add test.m4a
test.m4a contains an AAC LC stream inside an M4A (MPEG-4 Part 14)
container. It is generated by FFmpeg 3.1.3 from test.wav:

    ffmpeg -y -i test.wav -c:a aac -profile:a aac_low -b:a 32k test.m4a

test.m4a facilitates testing utilities or libraries that work with the
AAC codec or the M4A container, e.g., alac.
2016-09-26 09:07:24 -04:00
Mike McQuaid
2405c3e205 doctor: remove outdated Homebrew check.
This is no longer relevant in the bright, new tagged future.

Fixes #1151.
2016-09-26 12:13:18 +01:00
Mike McQuaid
f6ec63cd8b update.sh: don't restore branch to stable.
Only run for Homebrew developers so assume they don’t want to switch
back to an old stable branch.

Fixes #1141.
2016-09-26 08:22:56 +01:00
Mike McQuaid
1ff2d06cf0 update.sh: use HOMEBREW_UPDATE_TO_TAG.
This makes the code easier to follow rather than having to know
HOMEBREW_NO_UPDATE_CLEANUP implies not updating to a tag.
2016-09-25 21:53:28 +01:00
Markus Reiter
b114db13d5 Update RuboCop config. 2016-09-25 19:55:34 +02:00
Markus Reiter
51504e4383 RuboCop: Style/ClassVars 2016-09-25 19:55:34 +02:00
Markus Reiter
573aea0b3d RuboCop: Style/IfUnlessModifier 2016-09-25 19:55:34 +02:00
Markus Reiter
c8492c2c44 RuboCop: Style/SpecialGlobalVars 2016-09-25 19:55:34 +02:00
Zhiming Wang
9b9e9eb8dd
ARGV: kegs: error on empty arguments
Fixes #1138.
2016-09-25 11:33:56 -04:00
Markus Reiter
f732278cda Fix search_tap regex/string matching. 2016-09-25 16:27:43 +02:00
Markus Reiter
50b635e276 Add test for search_tap. 2016-09-25 16:27:43 +02:00
Andrew Janke
5aaccba34c info: include versions and other details in Requirements display 2016-09-24 21:39:33 -04:00
Zhiming Wang
5e3a26bfe0
download_strategy: never verbosely untar
The verbose mode of tar is too pointlessly verbose.
2016-09-24 19:53:43 -04:00
Markus Reiter
b987230ddf RuboCop: Style/CaseEquality 2016-09-25 00:22:53 +02:00
Markus Reiter
00b3dde0b2 RuboCop: MacOS 2016-09-25 00:16:31 +02:00
Mike McQuaid
817bc2746e Merge pull request #1043 from msavy/mkdir_with_intermediates
Alter mkdir wrapper use mkdir_p to create intermediate directories
2016-09-24 21:42:02 +01:00
Mike McQuaid
e767fd3df9 Merge branch 'master' into mkdir_with_intermediates 2016-09-24 20:48:03 +01:00
Mike McQuaid
87cf4f7f7a update.sh: use GitHub tags API.
Otherwise if we've committed to `master` and someone `brew update`s
before we cut the tag then they won't be updated to the latest version.
2016-09-24 20:43:14 +01:00