Mike McQuaid
ba3c46d24f
More deprecations.
...
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00
Mike McQuaid
2be7999878
Merge pull request #2274 from rwhogg/fuse-requirement
...
Port OsxfuseRequirement to Linux
2017-04-20 17:14:42 +01:00
Markus Reiter
d251be1eeb
Ensure readline_nonblock
returns an UTF-8 string.
2017-04-20 04:47:03 +02:00
Mike McQuaid
3f8722c971
audit: allow skipping audit methods.
...
Add `--only` and `--except` methods which can be used to selectively
enable or disable audit groups.
2017-04-18 08:17:26 +01:00
Bob W. Hogg
608d72a35f
OsxfuseRequirement: Port to Linux
2017-04-15 21:20:09 -07:00
Misty De Meo
944bff4de2
Mac Hardware: provide a more Mac-specific implementation of can_run?
2017-04-15 22:59:55 +08:00
Mike McQuaid
d84655efb9
Merge pull request #2442 from tdsmith/fix-symlink-relocation
...
Virtualenv relocation fixes
2017-04-05 09:32:52 +01:00
Mike McQuaid
715132642f
Revert "keg_relocate: Don't relocate dylib IDs containing metavariables."
2017-04-04 13:29:27 +01:00
Maxim Belkin
573aeff115
Add Skylake to Linux hardware list
2017-04-02 15:27:19 -07:00
Mike McQuaid
a084776f95
diagnostic: also ignore outdated CLT on Travis CI.
2017-04-02 17:24:33 +01:00
Tim D. Smith
2f4eaf26a0
Use extend/OS mechanism for grep args
2017-04-02 09:04:49 -07:00
EricFromCanada
60f6dfea14
update suggested Xcode/CLT download URLs
2017-03-28 11:12:34 -04:00
Mike McQuaid
80e95b684e
blacklist: move to missing_formula class instead.
...
This will allow extending this class so it can be used by more than
just blacklisting.
2017-03-20 18:20:31 +02:00
Mike McQuaid
ff77013f48
Merge pull request #2337 from sjackman/linux-system-config
...
Add extend/os/linux/system_config.rb
2017-03-17 16:48:51 +02:00
Mike McQuaid
a9cd74de59
Merge pull request #2279 from sjackman/determine_path
...
determine_path: Fix tests FormulaUnavailableError
2017-03-17 15:57:30 +02:00
Shaun Jackman
0d5a53ba2c
Add extend/os/linux/system_config.rb
...
Report the Linux kernel, OS, and gcc versions.
2017-03-16 17:59:26 -07:00
Viktor Szakats
cc8f029f22
secure urls + remove -k from in-doc curl command
2017-03-14 17:27:11 +00:00
ilovezfs
76db07e1b5
env: make prepend_path ignore system paths
...
`ENV.prepend_path "PATH", which("emacs").dirname` in the emacs
requirement was causing us to end up invoking /usr/bin/clang instead
of /usr/local/Homebrew/Library/Homebrew/shims/super/clang.
2017-03-11 01:59:50 -08:00
Shaun Jackman
c6cbf9590d
linux: Add ARM to CPU.type
2017-03-10 10:30:11 -08:00
Shaun Jackman
31e5ed28d1
determine_path: Fix tests FormulaUnavailableError
...
Fix the brew tests error:
InstallTests#test_a_basic_install:
FormulaUnavailableError: No available formula with the name "gcc"
Library/Homebrew/formulary.rb:231:in `get_formula'
Library/Homebrew/formulary.rb:259:in `factory'
Library/Homebrew/extend/ENV/shared.rb:287:in `gcc_version_formula'
Library/Homebrew/extend/ENV/super.rb:124:in `determine_path'
Library/Homebrew/extend/ENV/super.rb:44:in `setup_build_environment'
Library/Homebrew/build.rb:87:in `install'
Library/Homebrew/build.rb:201:in `<main>'
2017-03-07 09:03:33 -08:00
Mike McQuaid
45f52f77e5
Merge pull request #2244 from jonchang/java
...
java_requirement: don't consider macOS Java stub
2017-03-05 15:32:00 +01:00
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