14765 Commits

Author SHA1 Message Date
Dominyk Tiller
82b2978171
mac/xcode: update expected Clang on 10.13 2017-08-08 18:58:24 +01:00
Markus Reiter
1a30c165bf Merge pull request #3026 from reitermarkus/refactor-download-strategies
Refactor download strategies.
2017-08-08 19:26:33 +02: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
JCount
ae1986ac91 Merge pull request #3018 from Homebrew/revert-2848-refactoring
Revert "Refactor SVN and cURL download strategies."
2017-08-07 17:33:12 -04:00
ilovezfs
986887b413 Revert "Refactor SVN and cURL download strategies." 2017-08-07 14:31:56 -07:00
Markus Reiter
6ef49d8b86 Merge pull request #2848 from reitermarkus/refactoring
Refactor SVN and cURL download strategies.
2017-08-07 22:13:10 +02: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. 1.3.1 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
Mike McQuaid
6a31e02ab2 Merge pull request #3005 from MikeMcQuaid/cleanup-aliases
keg: cleanup aliases correctly.
2017-08-07 09:50:56 +01:00
Gautham Goli
a92e1eda27 audit: Port rules from line_problems to rubocop part 4(WIP) 2017-08-07 14:08:22 +05:30
Gautham Goli
d9c81901c3 audit: Add tests for rubocop methods in line_cop.rb 2017-08-06 18:36:09 +05:30
Gautham Goli
b8f811cca6 audit: Port rules from line_problems to rubocop part 3 2017-08-06 18:36:09 +05:30
Gautham Goli
3edae73cd9 audit: Add tests for audit rules ported from line_problems method to rubocops 2017-08-06 18:36:09 +05:30
Gautham Goli
b5da76e28d audit: Port FileUtils, inreplace audit rules in audit_lines to rubocop 2017-08-06 18:36:09 +05:30
Gautham Goli
bc2bcef1ba audit: Port classname and template comments audit rules from line_problems method to rubocop 2017-08-06 18:36:09 +05:30
Markus Reiter
f57a172cd2 Merge pull request #3013 from reitermarkus/fix-pkg-uninstallation
Fix `Pkg#uninstall` not calling `MacOS.undeletable?` for all files.
2017-08-06 14:00:53 +02:00
Markus Reiter
ffc47388bd Fix Pkg#uninstall not calling MacOS.undeletable? for all files. 2017-08-06 13:19:30 +02:00
Mike McQuaid
c2cbfc1526 Merge pull request #3010 from rwhogg/remove-homebrew-x11-reference
formula: Remove reference to homebrew/x11
2017-08-06 09:55:56 +01:00
Markus Reiter
cf6a568f98 Merge pull request #3009 from reitermarkus/fix-cask-url-ext
Fix parsing extension from URL.
2017-08-05 23:16:44 +02:00
Gautham Goli
781da49df8 audit: Add tests for audit rules ported from line_problems method to rubocops 2017-08-06 02:28:58 +05:30
Gautham Goli
7614d2cc8b audit: Port FileUtils, inreplace audit rules in audit_lines to rubocop 2017-08-06 02:28:58 +05:30
Gautham Goli
affd9055c2 audit: Port classname and template comments audit rules from line_problems method to rubocop 2017-08-06 02:28:58 +05:30
Markus Reiter
bd25c2e219 Fix parsing extension from URL. 2017-08-05 22:05:04 +02:00
Bob W. Hogg
06ecad2950 formula: Remove reference to homebrew/x11
That tap is now defunct.

Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-08-05 12:54:39 -07:00
Markus Reiter
7a17a166ec Merge pull request #3006 from reitermarkus/unfocus
Delete `:focus`.
2017-08-05 21:05:08 +02:00
Mike McQuaid
e862bcbc32 keg: cleanup aliases correctly.
This was missed when I was focused on cleaning up versioned aliases.

Fixes #2992.
2017-08-05 18:03:04 +01:00
Mike McQuaid
441bd37fd0 Merge pull request #3004 from MikeMcQuaid/travis-only-master
travis.yml: only build the master branch.
2017-08-05 18:02:06 +01:00
Mike McQuaid
eaea27c960 formula_installer: restore build_bottle defaults. 2017-08-05 17:51:47 +01:00
Mike McQuaid
8405158d8d Merge pull request #2976 from GauthamGoli/audit_external_patches_rubocop
audit: Port patches audit code to a rubocop and add tests
2017-08-05 17:39:40 +01:00
Gautham Goli
66ffdb5b06 Refactor legacy_patches_cop to merge external patch audit rules in a single cop and add tests 2017-08-05 21:51:24 +05:30
Gautham Goli
43cec10000 audit: Port patches audit code to a rubocop 2017-08-05 21:51:24 +05:30
Mike McQuaid
df0abe08b2 travis.yml: only build the master branch.
This avoid two weird things:

- scary messages when building tags fails
- two builds being run instead of one when people create a PR and a
  branch on the Homebrew/brew repo (rather than their fork).
2017-08-05 17:09:32 +01:00
Markus Reiter
f5af3fe0cd Delete :focus. 2017-08-05 18:09:09 +02:00
Markus Reiter
c26c9204fa Merge pull request #2965 from reitermarkus/cask-tap
Detect `Tap` in `CaskLoader`.
2017-08-05 16:54:26 +02:00
Markus Reiter
f89e09b785 Add spec for conflicts_with cask. 2017-08-05 16:21:14 +02:00