14765 Commits

Author SHA1 Message Date
Gautham Goli
3ff8be1216 add test for build.include? 2017-08-14 02:47:29 +05:30
Ben Muschol
24da1ecd3d Fix url encoded in expected values 2017-08-13 17:16:45 -04:00
Gautham Goli
5a7cbb762f add test for build.with? "--with-foo" 2017-08-14 02:43:54 +05:30
Gautham Goli
02a1406a2e add test for build.without --without-foo 2017-08-14 02:32:29 +05:30
Gautham Goli
3efba57cd9 Add negated? method to formula cop and add tests for negated build.without? 2017-08-14 02:18:46 +05:30
Gautham Goli
e14fedd1b3 Add test for negated build.with? 2017-08-14 02:14:20 +05:30
Ben Muschol
d052f503f9 fix typo 2017-08-13 16:41:18 -04:00
Gautham Goli
ec2b0df10e Add tests for unless build.with? 2017-08-14 01:55:47 +05:30
Gautham Goli
f968776e84 Add tests for unless build.without? 2017-08-14 01:52:48 +05:30
Ben Muschol
91b139aca2 Fix syntax error 2017-08-13 16:15:26 -04:00
Gautham Goli
6dad9d8b44 Add test for top level method def 2017-08-14 01:25:44 +05:30
Gautham Goli
7dfe09ccae Add tests for fileUtils call in system 2017-08-14 01:09:06 +05:30
Ben Muschol
acf46fce5f Rename path_to -> url_to since it returns a url 2017-08-13 15:03:52 -04:00
Ben Muschol
e93ec12b32 Remove duplicate url generation logic in Github module 2017-08-13 15:03:44 -04:00
Gautham Goli
a73c29fef2 add tests for non glob dirs audit 2017-08-14 00:02:44 +05:30
Randall Wood
d7baf81373 Make comment easier to read. 2017-08-13 10:58:58 -04:00
Randall Wood
3396387b52 Remove "*instal" aliases from bash completion
Remove all command aliases ending in "instal" (single letter L) from the bash completion. This has the practical effect of removing the aliases "instal" and "uninstal" from bash completion, allowing "install" and "uninstall" to be auto completed once the first three characters of each "ins" or "uni" are typed in.
2017-08-13 08:46:48 -04:00
Gautham Goli
77105b809a Add tests for macOS check 2017-08-13 14:50:29 +05:30
Gautham Goli
686fc514cf Add tests for assert match and depends_on instance audit rules 2017-08-12 23:28:08 +05:30
Gautham Goli
087c1ca8d6 audit: Port rules from line_problems to rubocop part 4(WIP-3) 2017-08-12 20:50:43 +05:30
Mike McQuaid
e1bab7ede9 Merge pull request #3050 from Homebrew/revert-3046-double_formula_load_error
Revert "Raise an exception when double loading a formula"
2017-08-12 15:01:16 +01:00
Mike McQuaid
ae8235c555 Revert "Raise an exception when double loading a formula" 2017-08-12 15:00:36 +01:00
Mike McQuaid
b93f1e3569 Merge pull request #3046 from alyssais/double_formula_load_error
Raise an exception when double loading a formula
2017-08-12 13:00:10 +01:00
Mike McQuaid
1939952dc4 Remove some hedge words. 2017-08-12 12:59:14 +01:00
Mike McQuaid
7ecc775848 Merge pull request #3044 from BenMusch/search-tap-fix
Replace search_tap with search_taps
2017-08-12 12:46:28 +01:00
Mike McQuaid
a757f43895 Merge pull request #3043 from MikeMcQuaid/pin-upgrade
Note cases when pinned formulae get upgraded.
2017-08-12 12:43:38 +01:00
Mike McQuaid
a1e3c54bc8 Merge pull request #3034 from sjackman/superenv-cxxheader
shims/super/cc: Fix c++ -xc++-header
2017-08-12 12:42:26 +01:00
Tim D. Smith
a34f1d3a53 Update Python docs
Reflect some of the wisdom learned over the last couple of years, which
contradict some of the earlier dicta.
2017-08-11 22:13:20 -07:00
Alyssa Ross
4760f4e803
Raise an exception when double loading a formula
(As proposed in #2673)
2017-08-11 22:40:08 +01:00
Andrew Janke
bb85581df0 brew deps: add --include-requirements 2017-08-11 16:43:37 -04:00
Ben Muschol
cb1650075c Fix style 2017-08-11 15:59:08 -04:00
Ben Muschol
eb009503ed Fix test typo 2017-08-11 15:52:50 -04:00
Ben Muschol
b06fceda57 Add a test 2017-08-11 15:49:57 -04:00
Ben Muschol
348fefea10 Replace search_tap with search_taps 2017-08-11 13:04:37 -04:00
Mike McQuaid
0e3f1ab273 Note cases when pinned formulae get upgraded.
Fixes #3021.
2017-08-11 17:23:11 +01:00
Markus Reiter
d6d681ca01 Merge pull request #3039 from reitermarkus/curl-args
`curl_download`: Retry once on error `33`.
2017-08-11 13:29:08 +02:00
Markus Reiter
d9587a8b5e Don’t pass --fail for curl_output. 2017-08-11 12:28:58 +02:00
Markus Reiter
fd477365b5 curl_download: Retry once on error 33. 2017-08-10 22:51:09 +02:00
Gautham Goli
4295a4ca78 audit: Port rules from line_problems to rubocop part 4(WIP-2) 2017-08-10 19:57:53 +05:30
Mike McQuaid
67b20d97d8 Merge pull request #3028 from DomT4/high_sierra_beta_5
mac/xcode: update expected Clang on 10.13
2017-08-09 20:48:08 +01:00
Mike McQuaid
01af27fd3b Merge pull request #3032 from DomT4/gpg_tweaks
gpg: minor search priority tweaks
2017-08-09 20:46:36 +01:00
Mike McQuaid
ea33958e03 Merge pull request #3031 from JCount/audit-fix-tap-versioned-aliases
audit: fix mismatch in versioned alias names in non-core taps
2017-08-09 20:46:13 +01:00
Shaun Jackman
88bf6abd10 shims/super/cc: Fix c++ -xc++-header
Compiling a precompiled header should be mode :cxx rather than :cxxld.
2017-08-09 12:44:41 -07:00
Dominyk Tiller
0762cc6e74
gpg2_requirement: flip search priority 2017-08-09 17:06:49 +01:00
Dominyk Tiller
ca9b8bea2e
gpg: flip search priority order
Makes more sense this way around now Homebrew has migrated across
to 2.1.x & the latest version of that doesn't install as `gpg2`
any more.

Doesn't need to be merged before this PR but for the sake of referencing
the PR introducing the upstream death of the `gpg2` symlink is:
https://github.com/Homebrew/homebrew-core/pull/16580
2017-08-09 17:04:50 +01:00
ilovezfs
0933686dea Merge pull request #3020 from rwhogg/fix-bump-formula-pr-no-usrbintar
dev-cmd/bump-formula-pr: search for tar
2017-08-08 23:46:56 -07:00
Bob W. Hogg
0ae22c0e36 dev-cmd/bump-formula-pr: search for tar
We first search for gtar in PATH, then
check if Homebrew's gtar is available,
then finally search for tar in PATH.

Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-08-08 23:07:27 -07:00
Markus Reiter
33abea9eb3 Merge pull request #3030 from reitermarkus/curl-args
Allow `curl` args to be overriden.
2017-08-09 07:51:07 +02:00
Markus Reiter
2cba322200 Allow curl args to be overriden. 2017-08-08 23:06:40 +02:00
JCount
e1ebaab0cb audit: fix mismatch in versioned alias names in non-core taps
Fixes #3022
2017-08-08 16:56:19 -04:00