13469 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Dominyk Tiller
82b2978171
mac/xcode: update expected Clang on 10.13 2017-08-08 18:58:24 +01:00
Markus Reiter
ae4bafdb36 Simplify CurlDownloadStrategy. 2017-08-08 18:10:13 +02:00
Markus Reiter
b6b8e8863f Simplify SubversionDownloadStrategy. 2017-08-08 18:10:01 +02:00
Mike McQuaid
93051b27d6 formula_cellar_checks: fix broken dylib spacing. 2017-08-08 11:08:35 +01:00
Mike McQuaid
00c8d71a23 Merge pull request #3019 from rwhogg/new-fedora-pkgsearch
cmd/search: use new Fedora package search
2017-08-08 11:00:40 +01:00
Mike McQuaid
fabcad3c64 Merge pull request #3012 from GauthamGoli/depends_on_fix
Add node pattern methods to handle dependency audits in a better way
2017-08-08 10:59:33 +01:00
Bob W. Hogg
3b7113b304 cmd/search: use new Fedora package search
pkgdb has been put into read-only mode,
so it won't be updated for new Fedora releases
going forward. Use apps.fedoraproject.org/packages instead.

Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-08-07 18:22:26 -07:00
ilovezfs
986887b413 Revert "Refactor SVN and cURL download strategies." 2017-08-07 14:31:56 -07:00
Markus Reiter
dc5a2c1764 Simplify CurlDownloadStrategy. 2017-08-07 21:31:17 +02:00
Markus Reiter
fb59e79689 Simplify SubversionDownloadStrategy. 2017-08-07 21:31:17 +02:00
Mike McQuaid
69799d97b1 formula_cellar_checks: remove stray backtick. 2017-08-07 11:48:45 +01:00
Mike McQuaid
1be06bfd14 Merge pull request #3016 from MikeMcQuaid/no-sandbox-message
sandbox: stop printing message.
2017-08-07 11:45:36 +01:00
Mike McQuaid
0950d1f195 Merge pull request #3017 from MikeMcQuaid/reinstall_broken_bottles
formula_cellar_checks: reinstall broken bottles.
2017-08-07 11:45:15 +01:00
Mike McQuaid
5327b304a6 Merge pull request #2998 from andrewyatz/bugfix/pkgconfiglibdir
Bugfix/pkgconfiglibdir
2017-08-07 11:44:58 +01:00
Gautham Goli
a3219ca09c Add node pattern methods to handle dependency audits in a better way 2017-08-07 16:02:50 +05:30
Mike McQuaid
e2070780f1 formula_cellar_checks: reinstall broken bottles.
If we pour from a bottle and then immediately know it’s broken then
we should tell users how to resolve their issue and where to file a
issue to.

Inspired by https://github.com/Homebrew/homebrew-core/issues/16477.
2017-08-07 11:21:55 +01:00
Andrew Yates
9b5a3b80bf Incorrect - added
I added an extra un-wanted - into the pkgconfig path. Now removed
2017-08-07 11:20:56 +01:00
Mike McQuaid
12c454822a sandbox: stop printing message.
We’re always using the sandbox where possible now so this is just
noise for the vast majority of our users.
2017-08-07 11:16:36 +01:00
Mike McQuaid
8e89b9d9d0 Merge pull request #3003 from MikeMcQuaid/better-no-resource-version
software_spec: improve no resource version error.
2017-08-07 10:34:12 +01:00
Mike McQuaid
8217385627 software_spec: improve no resource version error.
This should make it clearer to us that they needed to `brew update`.

Fixes https://github.com/Homebrew/homebrew-core/issues/16075
Fixes https://github.com/Homebrew/brew/issues/2944
2017-08-07 10:12:52 +01:00