Mike McQuaid
b1e27d689d
Merge pull request #1701 from MikeMcQuaid/deprecate-std-superenv-stuff
...
ENV: deprecate old methods.
2016-12-30 20:43:27 +00:00
Mike McQuaid
9e2a8248a6
Merge pull request #1725 from MikeMcQuaid/curl-homepage-reliablity
...
audit: improve reliability of homepage audit.
2016-12-30 20:42:18 +00:00
Mike McQuaid
e50102d91e
ENV: deprecate old methods.
...
These should have been deprecated long ago but we didn’t really have
the necessary framework to do so.
2016-12-30 20:20:13 +00:00
Mike McQuaid
b3c6334d3c
audit: use new curl_args form.
...
This will use Curl’s default user agent to reduce homepage errors and
provides a function that can be used for other audits to perform
similar tests on URLs.
2016-12-30 20:17:34 +00:00
Mike McQuaid
758de6b454
Merge pull request #1694 from rwhogg/add-kabylake
...
Add Kaby Lake to Linux hardware list
2016-12-29 14:32:12 +00:00
Mike McQuaid
6f44dc41d5
development_tools: remove unused method.
2016-12-29 12:51:12 +00:00
Mike McQuaid
1d2390b2de
Merge pull request #1698 from MikeMcQuaid/deprecate-32-bit
...
Deprecate 32-bit options.
2016-12-20 10:54:54 +00:00
Mike McQuaid
f98304026b
Deprecate 32-bit options.
...
These were formerly supported but as it has been a very long time since
32-bit software was necessary on macOS these have been deprecated with
a `brew audit` warning and a future `odeprecated`.
2016-12-20 10:22:30 +00:00
Mike McQuaid
e950aa11d1
Remove Xcode prerelease warnings.
...
At this point we probably do want to know about issues that crop up in
betas so we can fix them before the new version of Xcode is released.
Additionally, this doesn't really work well any more with our new
tag-based workflow as it means we need to cut a new tag immediately
after a new Xcode is released.
2016-12-19 18:01:36 +00:00
Mike McQuaid
477faf073b
Never trigger too old CLT check on <10.7.
...
While we fake a CLT for these versions they never shipped with the CLT
so cannot update it.
2016-12-18 15:31:17 -08:00
Bob W. Hogg
ebb659af7d
Add Kaby Lake to Linux hardware list
...
Note that no Mac hardware using a Kaby Lake processor has been released
yet, so do not add it to the equivalent list for macOS.
2016-12-18 14:50:38 -08:00
Mike McQuaid
025e53c321
diagnostic: silence outdated Travis Xcode warning.
...
This doesn't add any value and stops us from testing `brew doctor` and
others from running `brew doctor` on Travis CI.
2016-11-26 13:09:59 +00:00
Markus Reiter
3a01fbadcd
Merge pull request #1362 from reitermarkus/rubocop
...
Update RuboCop to 0.45.0.
2016-11-14 16:50:24 +01:00
Mike McQuaid
cc3bf7bcb5
Don't warn about unused brew install
arguments.
...
This is a step closer to better argument handling but for now just
fixes the issue in #1217 where it starts complaining about options like
`--build-from-source` being used.
2016-11-14 09:28:28 +00:00
Markus Reiter
6c1d42386d
Remove flat_map
compatibility layer.
2016-11-14 09:45:44 +01:00
Markus Reiter
59e2d67721
No if/unless-modifier on multiline blocks.
2016-11-13 23:37:40 +01:00
Markus Reiter
84b2276fd8
Use guard clauses.
2016-11-13 23:00:47 +01:00
Mike McQuaid
215105a484
diagnostic: skip xcode-select check with no Xcode.
...
Skip the `xcode-select` configuration check if there's no CLT or Xcode
installed as in that case neither will be used.
Fixes #1055 .
2016-11-12 11:32:27 +00:00
Mike McQuaid
2ce17a1137
Merge pull request #1082 from alyssais/uninstall_dependancy_error
...
uninstall: refuse when dependents still installed
2016-11-11 08:23:57 +00:00
Mike McQuaid
c2815fbb9a
Merge pull request #1381 from adzenith/patch-1
...
`brew doctor` recommends using cask to upgrade XQuartz
2016-11-10 21:05:21 +00:00
Nikolaus Wittenstein
969ac3a9c6
brew doctor
recommends using cask to upgrade XQuartz
...
Also changes exceptions.rb to use Formatter.url
2016-11-09 22:21:21 -05:00
Mike McQuaid
cfaa05f841
Merge pull request #1443 from MikeMcQuaid/better-development-tools-checks
...
Improve debugging information based on failures
2016-11-06 08:21:11 -05:00
Mike McQuaid
1f6c26a2e4
software_spec: no _or_later
in bottle filenames.
...
It's more useful to be able to "bless" an existing bottle to be used on
later OSs (e.g. where it cannot yet be built) than it is to have to
create a new, identical bottle just to have a different filename.
2016-11-05 16:13:42 -04:00
Mike McQuaid
262eaca56e
diagnostic: add build error checks.
2016-11-05 10:58:39 -04:00
Mike McQuaid
b38f5b3e7d
diagnostic: only make minimum Xcode/CLT version checks fatal.
...
Also: freeze the relevant arrays.
2016-11-05 10:58:39 -04:00
Mike McQuaid
6359c75a2d
os/mac/diagnostic: split some unless conditions.
2016-11-05 10:58:39 -04:00
Mike McQuaid
bccd792bbf
diagnostic: add checks for minimum Xcode/CLT versions.
2016-11-05 10:58:38 -04:00
ilovezfs
e26750e112
superenv: treat timingsafe_bcmp as weak on 10.11
...
Xcode 8.1 added timingsafe_bcmp to string.h and libsystem_c.tbd,
and 10.12.1 added it to libsystem_c.dylib, but it is not present in
libsystem_c.dylib on 10.11.6 (15G1108).
It may appear in libsystem_c.dylib in a later 10.11 release or it may
be marked weak on 10.11 in a later Xcode release.
Fixes Homebrew/homebrew-core#6344 .
2016-10-29 03:26:52 -07:00
Alyssa Ross
c4c855b9fc
ARGV: extract #values from missing
2016-10-25 22:36:13 +01:00
Josh Hagins
fab2cffe5d
keg_relocate: wrap relocation locations in struct
2016-10-24 16:21:08 -04:00
Josh Hagins
c7e6613f7b
tap_constants: rename HOMEBREW_CASK_TAP_FORMULA_REGEX
...
New name is HOMEBREW_CASK_TAP_CASK_REGEX
2016-10-23 21:48:11 -04:00
Mike McQuaid
1f963267b6
Update Rubocop style.
...
Another look at the current Rubocop rules and how they fit with our
existing and desired future style. Almost all of these changes were
automatic. Split some rules between formulae/brew where brew doesn't
have millions of cases that need fixed.
2016-10-22 13:32:46 +01:00
ilovezfs
a53eca8cde
dependency_collector: need xz dep on <= macOS 10.8
...
Mountain Lion: http://opensource.apple.com/source/libarchive/libarchive-25.1/config.h
`/* #undef HAVE_LIBLZMA */`
Mavericks: http://opensource.apple.com/source/libarchive/libarchive-29/config.h
`#define HAVE_LIBLZMA 1`
2016-10-16 05:48:37 -07:00
Mike McQuaid
b1a16deb19
Use BSD tar's libarchive LZMA support if available
...
Avoid using an unnecessary `xz` dependency when it's not needed.
2016-10-15 13:10:37 +01:00
Markus Reiter
ddf5583208
Refactor Cask’s extensions.
2016-10-04 15:43:58 +02:00
Mike McQuaid
8a57fee68c
*/diagnostic: tweak messaging.
...
Update some messaging based on recent user confusion and the
`/usr/local/Homebrew` and Ruby 2 migrations.
2016-10-02 17:30:08 +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
Zhiming Wang
9b9e9eb8dd
ARGV: kegs: error on empty arguments
...
Fixes #1138 .
2016-09-25 11:33:56 -04:00
Mike McQuaid
e767fd3df9
Merge branch 'master' into mkdir_with_intermediates
2016-09-24 20:48:03 +01:00
Markus Reiter
6c6a4c9fa7
RuboCop: Style/AccessorMethodName
2016-09-24 19:28:26 +02:00
Markus Reiter
e2c7509065
Merge pull request #1113 from reitermarkus/rubocop-guardclause
...
RuboCop: Fix Style/GuardClause.
2016-09-24 17:38:49 +02:00
Markus Reiter
58e36c7319
Fix Style/GuardClause.
2016-09-24 12:24:35 +02:00
Dominyk Tiller
12aad5c65f
diagnostic: limit fatal dev tools check to Sierra
2016-09-23 22:57:14 +01:00
Mike McQuaid
dd393c73ed
Merge pull request #1106 from reitermarkus/rubocop
...
Even more RuboCop changes.
2016-09-23 19:35:15 +01:00
Mike McQuaid
81e325cdb7
Merge pull request #1097 from DomT4/software_dev_is_hard
...
diagnostic: make using outdated dev tools fatal
2016-09-23 17:49:01 +01:00
Markus Reiter
e851c9bf6c
Style/Alias: Prefer alias
.
2016-09-23 18:19:53 +02:00
Markus Reiter
fe2d51e0b9
Fix Style/IfUnlessModifier.
2016-09-23 15:30:07 +02:00
Markus Reiter
4be3aff253
Fix Lint/NonLocalExitFromIterator.
2016-09-23 15:30:06 +02:00
Markus Reiter
23eac7ab89
Fix DoubleNegation.
2016-09-23 15:30:06 +02:00
Mike McQuaid
9001855d64
Merge pull request #1086 from woodruffw/macho-cosmetics
...
Remove old cctools references now that only ruby-macho is used.
2016-09-23 10:40:08 +01:00