Mike McQuaid
e12d2746b6
os/mac/diagnostic: allow custom Ruby for devs.
...
This avoids `brew doctor` warnings on High Sierra but in general this is
a good idea for future versions and to allow Homebrew developers to test
things out with different versions of Ruby.
2017-09-15 08:06:58 +01:00
Josh Soref
44c56cd9a8
spelling: separated
2017-09-10 16:42:10 +00:00
Josh Soref
08e53870a6
spelling: definitions
2017-09-10 16:31:02 +00:00
ilovezfs
a4c5e64da4
Revert "mach: Avoid reopening the file for relocation"
2017-09-08 12:32:32 -07:00
William Woodruff
a77a1f949a
Merge pull request #3101 from woodruffw/macho-use-object
...
mach: Avoid reopening the file for relocation
2017-09-08 14:30:23 -04:00
Dominyk Tiller
9899a5d0a8
mac/hardware/cpu: recognise Kaby Lake
...
The 2017 MacBook Pro line shipped with Kaby Lake CPUs.
2017-09-05 03:16:18 +01:00
Dominyk Tiller
0cb6307f2d
ENV: move java_cache to compat for future hard deprecation
2017-08-31 21:04:42 +01:00
William Woodruff
18115f0639
mach: Avoid reopening the file for relocation
...
This commit allows the relocation code to perform install name
and dylib ID changes without reopening the file separately.
2017-08-28 19:05:12 -04:00
Viktor Szakats
b44c7a1022
upgrade more urls to https
2017-08-22 10:31:21 +00:00
Mike McQuaid
93051b27d6
formula_cellar_checks: fix broken dylib spacing.
2017-08-08 11:08:35 +01:00
Mike McQuaid
69799d97b1
formula_cellar_checks: remove stray backtick.
2017-08-07 11:48:45 +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
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
Andrew Yates
365c55573b
Moving /usr/lib/pkg-config to be first
...
Ensuring old functionality still happens and /usr/lib/pkg-config is the first location found in macOS.
2017-08-03 17:22:18 +01:00
Andrew Yates
19cfcc34ef
Adding in "/usr/lib/pkg-config"
...
Moving "/usr/lib/pkg-config" into the pkg-path path
2017-08-03 10:46:12 +01:00
Andrew Yates
980db9d3fb
Remove errant pkg-config libdir
...
We found an issue in Linuxbrew/homebrew-core#3366 where the addition of "/usr/lib/pkg-config" causes compilation issues if system pkg-config files are in that directory on Linux. Removing the line from here and adding it into the mac superenv.
2017-08-03 10:44:56 +01:00
Jan Viljanen
85da376233
audit: add additional php header ignore patterns
2017-08-03 06:13:15 +02:00
Shaun Jackman
5198e80724
cpu: fix SSE4 detection on Linux
2017-07-22 11:29:19 +02:00
Misty De Meo
890788af65
FileUtils.make: don't bypass superenv
2017-07-15 17:40:21 -07:00
ilovezfs
0d03eef655
Revert "FileUtils.make: don't bypass superenv"
2017-07-12 02:58:01 -07:00
Misty De Meo
2aefd7eed6
FileUtils.make: don't bypass superenv
2017-07-07 16:23:46 -07:00
Jonathan Chang
5ab745574c
cpu: fix SSE3 detection on Linux
2017-07-05 13:03:39 -07:00
Markus Reiter
3b4ee58c49
Refactor using Forwardable
and DelegateClass
.
2017-06-28 09:25:31 +02:00
Mike McQuaid
ed9942fbd1
Merge pull request #2769 from MikeMcQuaid/rubocop-no-perl-backrefs
...
rubocop: don’t allow Perl regex backrefs.
2017-06-12 16:47:28 +01:00
Mike McQuaid
021cef4b2b
Autocorrect Rubocop Style/SpecialGlobalVars.
2017-06-12 09:11:42 +01:00
Mike McQuaid
7a0aff1080
Autocorrect Rubocop Style/PerlBackrefs.
2017-06-10 20:23:20 +03:00
constXife
4f5643a676
Fix undefined variable ruby_version
2017-06-06 13:45:09 +07:00
Misty De Meo
ffa65c7498
String: backport #match? from 2.4.0
2017-06-03 20:47:39 -07:00
Markus Reiter
2d6ae61314
Re-revert "Fix operator spacing."
2017-06-02 19:22:05 +02:00
ilovezfs
197392b56d
Revert "Fix operator spacing."
2017-06-01 04:06:40 -07:00
Markus Reiter
d34ba7395b
Fix operator spacing.
2017-05-31 19:53:41 +02:00
Mike McQuaid
17650628b3
Merge pull request #2700 from sjackman/env-std-linux
...
Stdenv: Add ENV.libxml2 and ENV.x11 for Linux
2017-05-31 08:33:55 +01:00
Misty De Meo
a40291ee4a
Pathname: use Digest::SHA256 alias
...
Digest::SHA2 wasn't exposed under that name in older versions of Ruby.
2017-05-30 18:30:16 -07:00
Bob W. Hogg
e2c707d8b1
Stdenv: Add ENV.libxml2 and ENV.x11 for Linux
...
Add ENV.libxml2 primarily for the use of test do blocks.
Add a dummy ENV.x11 function.
See Linuxbrew/brew#356 and Linuxbrew/brew#382
2017-05-30 10:37:26 -07:00
Mike McQuaid
4356016b4a
Use parallel RuboCop
...
This requires updating to Rubocop 0.49.0 which will require some fixes
to rules, in Homebrew/brew and Homebrew/homebrew-core but opening this
for now so I remember.
2017-05-29 18:42:02 +01:00
Mike McQuaid
945cfc7cb7
diagnostic: move some more macOS doctor checks.
...
Move some `brew doctor` checks that are pretty macOS specific so they
are only run on macOS.
2017-05-27 13:34:59 +01:00
Markus Reiter
5828eefd01
Remove to_s
from some Pathname
s.
2017-05-08 13:37:28 +02:00
Markus Reiter
24f48ae7d9
Use PATH#select
.
2017-04-30 21:11:28 +02:00
Markus Reiter
4d5d6a65e3
Rename PATH#validate
to PATH#existing
.
2017-04-30 21:11:28 +02:00
Markus Reiter
f8ad9d7efd
Use PATH
where possible.
2017-04-30 21:11:27 +02:00
Markus Reiter
314483f75c
Remove Array#to_path_s
.
2017-04-30 21:11:27 +02:00
Markus Reiter
3e4fe279b0
Use to_path_s
for determine_pkg_config_libdir
.
2017-04-30 21:11:27 +02:00
Mike McQuaid
45a7730f61
Fix and remove various TODOs.
...
Fix those that can be done so without tearing Homebrew to pieces and
remove the comments for those that can never be done.
2017-04-23 15:10:18 +01:00
Mike McQuaid
11acadaa50
Merge pull request #2524 from MikeMcQuaid/more-env-filtering-fixes
...
Hide sensitive tokens from install/test/post.
2017-04-23 09:45:47 +01:00
Mike McQuaid
64e2e6e862
super: re-add set_cpu_flags.
...
It's used by ENV.fortran.
Fixes https://github.com/Homebrew/brew/issues/2530
Fixes https://github.com/Homebrew/homebrew-science/issues/5485
2017-04-22 21:56:32 +01:00
Mike McQuaid
d02b4f321d
Hide sensitive tokens from install/test/post.
...
Hide these tokens to avoid malicious subprocesses e.g. sending them
over the network. Also, support using these tokens with environment
filtering and clear `HOMEBREW_PATH` from subprocesses to stop them
sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s
PATH for e.g. `brew doctor` etc.
2017-04-22 16:31:19 +01:00
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