Mike McQuaid
e26cf3a83f
Don't check Subversion HTTPS pre-Sierra.
...
The system Subversion doesn't handle new certificate authorities (e.g.
Let's Encrypt) well enough for this check to be useful.
2017-03-05 11:42:59 +01:00
Mike McQuaid
960768d8ed
mac/java_requirement: avoid adding/removing stub.
2017-03-05 11:26:30 +01:00
Jonathan Chang
ea28c79031
java_requirement: avoid nil in possible_javas
2017-03-02 20:31:55 -08:00
Jonathan Chang
0ca4bd030a
java_requirement: don't consider macOS Java stub
2017-03-02 19:45:58 -08:00
Uladzislau Shablinski
84fbcdc913
Merge pull request #2183 from vladshablinsky/questions_mean_bool
...
ARGV.include? should return boolean
2017-02-28 02:55:40 +03:00
Naoto Kaneko
928eaca267
Merge branch 'master' into exclude-executable-metafiles
...
Added tests in keg_test and pathname_test was
moved into keg_spec and pathname_spec.
2017-02-27 14:23:53 +09:00
Uladzislau Shablinski
be8a0b3299
ARGV.include? should return boolean
2017-02-26 13:36:20 +03:00
Naoto Kaneko
56a0afe579
Extend #ds_file? in Pathname
2017-02-24 17:44:18 +09:00
Markus Reiter
9dda84ad6b
Add integration test helper methods.
2017-02-23 09:23:22 +01:00
William Woodruff
ebb2b3aa6b
Merge pull request #2036 from woodruffw/rust-hack
...
keg_relocate: Don't relocate dylib IDs containing metavariables.
2017-02-21 15:02:54 -05:00
Mike McQuaid
ed7290abb4
Merge pull request #1948 from sjackman/gnu-gcc
...
gcc_version_formula: Use gcc@4.x rather than gcc4x
2017-02-21 18:06:54 +00:00
Bob W. Hogg
e0d5afc237
java_requirement: Make macOS overrides extend Requirement
...
This doesn't actually seem to make that much difference,
but it is at least consistent with the main class body and with
the Linux overrides.
2017-02-20 19:19:26 -08:00
Mike McQuaid
07a3d43de4
Merge pull request #2057 from JCount/install-force-fix
...
ARGV: add missing "--force" arg to formula_install_option_names
2017-02-20 11:49:36 +00:00
Mike McQuaid
fe4b2e97a1
Merge pull request #1632 from rwhogg/make-java-req-portable
...
java_requirement: port to Linux and refactor
2017-02-20 11:04:12 +00:00
William Woodruff
0f89f6520e
keg_relocate: Don't relocate dylib IDs containing metavariables.
2017-02-19 19:51:27 -05:00
Mike McQuaid
0c4eb95b9f
diagnostic: strip trailing whitespace.
2017-02-19 15:39:52 +00:00
JCount
e84b3eaf48
ARGV: add missing "--force" arg to formula_install_option_names
2017-02-18 23:37:37 -05:00
Mike McQuaid
398289c72c
diagnostic: fix typo.
2017-02-17 22:03:04 +00:00
Mike McQuaid
3678d60a28
diagnostic: detail TRAVIS opt-out reasoning.
2017-02-17 21:53:30 +00:00
Mike McQuaid
6ac0de1b40
Revert "Skip Xcode outdated check on CircleCI"
2017-02-17 21:27:40 +00:00
Bob W. Hogg
c49b97dd9c
Code review cleanups
2017-02-15 21:47:08 -08:00
Bob W. Hogg
5a214de68d
java_requirement: port to Linux and refactor
...
Split the core requirement class into generic, Linux-specific,
and macOS-specific parts.
Additionally, the Linux version is now able to detect Java versions
(the previous Linuxbrew implementation was only able to detect
if Java was present at all.)
2017-02-15 21:35:26 -08:00
Alyssa Ross
9e97eadccb
rubocop: trailing comma in multiline method calls
...
Discussed in
https://github.com/Homebrew/brew/pull/1987/files#r100693581 .
This was originally ommitted because it wasn't compatible with Ruby 1.8.
(See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971 ).
2017-02-12 15:11:38 +00:00
Shaun Jackman
fd343a11fb
gcc_version_formula: Use gcc@4.x rather than gcc4x
2017-02-11 22:37:01 -08:00
Danielle Tomlinson
f457c6ab32
diagnostic: Add CircleCI to Env check
2017-02-10 23:31:58 +01:00
Alyssa Ross
b0fea9eb6c
fileutils: update Ruby documentation URL
2017-01-23 17:56:33 +00:00
Mike McQuaid
6040456ea9
Unset GREP_OPTIONS.
...
Users may have this set, breaking grep's output.
Fixes #1430 .
2017-01-16 20:35:56 +00:00
William Woodruff
6b63abb850
keg_relocate: Check HOMEBREW_TEMP's realpath when excluding name changes.
...
Since /tmp (the default HOMEBREW_TEMP) is a symlink to /private/tmp,
some build systems (like Parrot's) will attempt to use the realpath
instead of the literal /tmp we supply it with. This breaks the relocation
code, which only tested the literal HOMEBREW_TEMP and not its realpath.
2017-01-07 15:06:46 -05:00
Jan Viljanen
80b7d4c1aa
Whitelist PHP formulas in shadowed header audit check
2017-01-06 23:43:25 +01:00
Mike McQuaid
6c2b614a04
pathname: make compute_disk_usage handle symlinks.
2017-01-06 08:50:20 +00:00
Mike McQuaid
79f9896d2f
bottles: --force-bottle feigns or_later.
...
When reproducing issues with software that hasn’t been bottled yet on
your version of macOS it can sometimes be helpful to use `or_later`
bottle functionality i.e. just use the bottle for the latest version of
macOS available. This maps well to the existing `--force-bottle`
argument so it will now act as if the latest bottle has a `or_later`
ending.
2017-01-02 16:05:14 +00:00
Mike McQuaid
f0fbcf5022
ENV/super: fix set_cpu_flags stub.
...
It should accept arguments.
Fixes https://github.com/Homebrew/homebrew-core/issues/8362
2016-12-31 22:44:05 +00:00
Mike McQuaid
82f4413964
formula, ARGV: don't output duplicate formulae.
...
If you specify a formula more than once or it exists in the Cellar with
an alias name and the main name (e.g. `qt` and `qt5`) you can see the
same formula showing up more than once. Instead, resolve these output
lists of formulae such that they are unique based on their `name`. This
doesn't use `full_name` as it's `name` that's use for the `Cellar`.
2016-12-31 17:03:29 +00:00
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