20377 Commits

Author SHA1 Message Date
Andre Arko
e63eff2201
Treat future SDKs as "latest"
Some SDKs return a number higher than the hard-coded `latest_version`
in this file. With the current `==` check, those higher version numbers
are treated as "not the latest". This prevents machines with
higher-versioned SDKs from being able to use Homebrew.

To resolve that problem, this PR changes the check to `>=`, which allows
machines with higher-versioned SDKs to also use Homebrew to install
packages.
2019-01-08 00:26:22 -08:00
Claudia
a72af2c8a6
Disable cop for #set_cpu_flags, #set_cpu_cflags
In `extend/ENV/std.rb`, the methods `set_cpu_flags` and
`set_cpu_cflags` have been violating the `Naming/AccessorMethodName`
cop.

A recent modification in #7e13b3749 woke up the cop. That means we’re
likely dealing with legacy code here, predating the introduction of
RuboCop into Homebrew.

This commit disables the cop for either method. I believe refactoring
wouldn’t currently be worth the effort, especially given that
`#set_cpu_cflags` is mostly called without arguments.
2019-01-08 08:13:25 +01:00
Shaun Jackman
464b41eb52
Merge pull request #5483 from sjackman/docs-linuxbrew
Add docs/Linuxbrew.md
2019-01-07 09:45:27 -08:00
Mike McQuaid
6cd4c3171c
Merge pull request #5494 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/jaro_winkler-1.5.2
Bump jaro_winkler from 1.5.1 to 1.5.2 in /Library/Homebrew/vendor
2019-01-07 08:41:52 +00:00
Mike McQuaid
faa834513c
Merge pull request #5495 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/i18n-1.5.1
Bump i18n from 1.4.0 to 1.5.1 in /Library/Homebrew/vendor
2019-01-07 08:41:44 +00:00
Mike McQuaid
52bea2a75c
Merge pull request #5491 from MikeMcQuaid/bottle-arch-default
ENV: default CFLAGS to bottle values.
2019-01-07 08:30:27 +00:00
Mike McQuaid
27be45565a
Merge pull request #5492 from Homebrew/dependabot/bundler/docs/html-pipeline-2.10.0
Bump html-pipeline from 2.9.2 to 2.10.0 in /docs
2019-01-07 08:29:58 +00:00
dependabot[bot]
9cf6558d16
Bump i18n from 1.4.0 to 1.5.1 in /Library/Homebrew/vendor
Bumps [i18n](https://github.com/svenfuchs/i18n) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/svenfuchs/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/i18n/compare/v1.4.0...v1.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 07:32:23 +00:00
dependabot[bot]
ca81b7548a
Bump jaro_winkler from 1.5.1 to 1.5.2 in /Library/Homebrew/vendor
Bumps [jaro_winkler](https://github.com/tonytonyjan/jaro_winkler) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/tonytonyjan/jaro_winkler/releases)
- [Changelog](https://github.com/tonytonyjan/jaro_winkler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tonytonyjan/jaro_winkler/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 07:31:54 +00:00
Mike McQuaid
7e13b37495
ENV: default CFLAGS to bottle values.
This reduces the deviation in compilation flags on a given OS between
users and between bottling/not bottling to provide a consistent
behaviour for debugging and support.
2019-01-06 21:27:15 +00:00
dependabot[bot]
1ff6d6360f
Bump html-pipeline from 2.9.2 to 2.10.0 in /docs
Bumps [html-pipeline](https://github.com/jch/html-pipeline) from 2.9.2 to 2.10.0.
- [Release notes](https://github.com/jch/html-pipeline/releases)
- [Changelog](https://github.com/jch/html-pipeline/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jch/html-pipeline/compare/v2.9.2...v2.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-06 21:25:04 +00:00
Shaun Jackman
f25eff15a6 Add docs/Linuxbrew.md 2019-01-06 10:54:39 -08:00
Mike McQuaid
28e34d8af0
Merge pull request #5490 from MikeMcQuaid/scons-audit
rubocops: remove scons audit.
2019-01-06 15:00:30 +00:00
Mike McQuaid
511fc4cb68
Merge pull request #5489 from Homebrew/dependabot/bundler/docs/ffi-1.10.0
Bump ffi from 1.9.25 to 1.10.0 in /docs
2019-01-06 14:58:03 +00:00
Mike McQuaid
b917cccf19
rubocops: remove scons audit.
This will be deprecated in #5477.
2019-01-06 14:41:37 +00:00
dependabot[bot]
a8c8e997f8
Bump ffi from 1.9.25 to 1.10.0 in /docs
Bumps [ffi](https://github.com/ffi/ffi) from 1.9.25 to 1.10.0.
- [Release notes](https://github.com/ffi/ffi/releases)
- [Changelog](https://github.com/ffi/ffi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ffi/ffi/compare/1.9.25...1.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-06 14:40:36 +00:00
Mike McQuaid
db06c4d927
Merge pull request #5484 from Homebrew/dependabot/bundler/docs/html-pipeline-2.9.2
Bump html-pipeline from 2.9.1 to 2.9.2 in /docs
2019-01-06 14:38:34 +00:00
dependabot[bot]
98daba786c
Bump html-pipeline from 2.9.1 to 2.9.2 in /docs
Bumps [html-pipeline](https://github.com/jch/html-pipeline) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/jch/html-pipeline/releases)
- [Changelog](https://github.com/jch/html-pipeline/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jch/html-pipeline/compare/v2.9.1...v2.9.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 20:32:43 +00:00
Mike McQuaid
bd1e12cc0f
Merge pull request #5485 from Homebrew/dependabot/bundler/docs/sass-3.7.3
Bump sass from 3.7.2 to 3.7.3 in /docs
2019-01-04 20:30:49 +00:00
Mike McQuaid
9d5519e433
Merge pull request #5486 from Homebrew/dependabot/bundler/docs/html-proofer-3.10.0
Bump html-proofer from 3.9.3 to 3.10.0 in /docs
2019-01-04 20:30:40 +00:00
Mike McQuaid
66894b6b27
Merge pull request #5482 from sjackman/info-json
info: Fix style: Use a guard clause
2019-01-04 20:28:22 +00:00
dependabot[bot]
8fb3d8a819
Bump html-proofer from 3.9.3 to 3.10.0 in /docs
Bumps [html-proofer](https://github.com/gjtorikian/html-proofer) from 3.9.3 to 3.10.0.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases)
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.9.3...v3.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 20:10:35 +00:00
dependabot[bot]
27ab0692c3
Bump sass from 3.7.2 to 3.7.3 in /docs
Bumps [sass](https://github.com/sass/ruby-sass) from 3.7.2 to 3.7.3.
- [Release notes](https://github.com/sass/ruby-sass/releases)
- [Commits](https://github.com/sass/ruby-sass/compare/3.7.2...3.7.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 19:57:41 +00:00
Shaun Jackman
d5b2415c87 info: Fix style: Use a guard clause
Fix the style error:
Library/Homebrew/cmd/info.rb:88:7: C:
Use a guard clause instead of wrapping the code inside a conditional expression.
2019-01-04 09:43:51 -08:00
Mike McQuaid
930f7b90dc
Merge pull request #5478 from MikeMcQuaid/info-json-default
info: make --json a valid argument.
2019-01-04 13:42:09 +00:00
Mike McQuaid
e3a178add2
info: make --json a valid argument.
This is already accepted so let's handle this in the logic instead.
2019-01-04 13:26:16 +00:00
Mike McQuaid
9c4aa710f0
Merge pull request #5479 from Homebrew/dependabot/bundler/Library/Homebrew/test/jaro_winkler-1.5.2
Bump jaro_winkler from 1.5.1 to 1.5.2 in /Library/Homebrew/test
2019-01-04 13:23:43 +00:00
Mike McQuaid
6f22857d03
Merge pull request #5475 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/rubocop-rspec-1.31.0
Bump rubocop-rspec from 1.30.1 to 1.31.0 in /Library/Homebrew/vendor
2019-01-04 13:23:30 +00:00
Mike McQuaid
4f86e1d54e
brew vendor-gems: commit updates. 2019-01-04 08:46:22 +00:00
dependabot[bot]
79b3607c8b
Bump jaro_winkler from 1.5.1 to 1.5.2 in /Library/Homebrew/test
Bumps [jaro_winkler](https://github.com/tonytonyjan/jaro_winkler) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/tonytonyjan/jaro_winkler/releases)
- [Changelog](https://github.com/tonytonyjan/jaro_winkler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tonytonyjan/jaro_winkler/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 08:37:18 +00:00
Shaun Jackman
191a9998a8
Merge pull request #5474 from sjackman/bundle-standalone
Symlink vendor/bundle-standalone/ruby/2.x
2019-01-03 10:23:23 -08:00
Mike McQuaid
703ca7c9cb
Merge pull request #5469 from fxcoudert/fopenmp
shims/super/cc: Do not remove -Xpreprocessor argument
2019-01-03 18:10:27 +00:00
Shaun Jackman
c9a453d5d0 Symlink vendor/bundle-standalone/ruby/2.x [Linux]
Symlink 2.3.0 to 2.4.0, 2.5.0, and 2.6.0.

When using Ruby 2.4 or newer, fix the error:
/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require':
cannot load such file -- active_support/core_ext/object/blank (LoadError)
2019-01-03 09:33:26 -08:00
Mike McQuaid
9a91faca30
Merge pull request #5476 from garethrees/patch-1
Fix grammar
2019-01-03 17:27:16 +00:00
Mike McQuaid
9d1f940382
Merge pull request #5472 from MikeMcQuaid/periodic-cleanup
Cleanup periodically if HOMEBREW_INSTALL_CLEANUP is set.
2019-01-03 17:03:12 +00:00
Mike McQuaid
5b7404a0d2
Install Bundler <2.
Newer versions require the systems RubyGems to be updated.
2019-01-03 16:43:56 +00:00
Mike McQuaid
8144667a71
Cleanup periodically if HOMEBREW_INSTALL_CLEANUP is set.
This will become the default in a later version of Homebrew but has an
opt-out through HOMEBREW_NO_INSTALL_CLEANUP.

Also, always cleanup files older than 120 days and set the general
default value for "old" logs, casks etc. to 30 days.
2019-01-03 16:23:44 +00:00
Gareth Rees
6591ca59a5
Fix grammar
Minor fix to improve readability.
2019-01-03 15:15:35 +00:00
dependabot[bot]
86d935d147
Bump rubocop-rspec from 1.30.1 to 1.31.0 in /Library/Homebrew/vendor
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.30.1 to 1.31.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.30.1...v1.31.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 05:31:12 +00:00
Mike McQuaid
62448ebbc2
Merge pull request #5473 from MikeMcQuaid/probots
Remove probot-move.
2019-01-02 21:57:35 +00:00
Shaun Jackman
79bc35320f
Merge pull request #5471 from sjackman/needed-libraries
needed_libraries: Fix cannot find section .dynamic
2019-01-02 12:56:46 -08:00
Mike McQuaid
d716d0fb16
Remove probot-move.
This has been replaced with GitHub's beta feature.
2019-01-02 20:53:54 +00:00
Shaun Jackman
9ef010738f needed_libraries: Fix cannot find section .dynamic
Fix the error `cannot find section .dynamic` when needed_libraries is
called on a static ELF executable.
2019-01-02 12:34:16 -08:00
Shaun Jackman
74b0adeb3f
Merge pull request #5470 from sjackman/ErrorDuringExecution
ErrorDuringExecution: Fix wrong number of arguments
2019-01-02 11:31:21 -08:00
Mike McQuaid
e10d61b81b
Merge pull request #5447 from jonchang/linux-doctor
doctor: check supported versions of glibc and kernel [Linux]
2019-01-02 19:11:05 +00:00
Mike McQuaid
2deacc7331
Merge pull request #5467 from MikeMcQuaid/cleanup-runs-prune
cleanup: run and replace `brew prune`.
2019-01-02 19:01:38 +00:00
Shaun Jackman
265ab264fd ErrorDuringExecution: Fix wrong number of arguments
Error: wrong number of arguments (given 1, expected 2)
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/exceptions.rb:548:in `block in initialize'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/exceptions.rb:557:in `map'
2019-01-02 10:12:12 -08:00
FX Coudert
2c09c0e0f4 shims/super/cc: Do not remove -Xpreprocessor argument 2019-01-02 14:29:36 +01:00
Mike McQuaid
8cfcc7fcf0
cleanup: run and replace brew prune.
It's always seemed a bit pointless to me that we have both of these
commands. Given we're doing more and more to recommend (and eventually,
safely, automatically run (see #4760) `brew cleanup` let's roll their
functionality into a single command.
2019-01-02 13:21:34 +00:00
Mike McQuaid
8ddaab7a40
Merge pull request #5464 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/i18n-1.4.0
Bump i18n from 1.3.0 to 1.4.0 in /Library/Homebrew/vendor
2019-01-02 12:50:41 +00:00