17665 Commits

Author SHA1 Message Date
Romain Bossart
fcbaca10ba _brew | cleanup cache-policy zstyle 2018-12-10 22:33:44 +01:00
Shaun Jackman
b40849421c shims/super/cc: Add HOMEBREW_CACHE to white list
Compiling rust projects requires -I$HOMEBREW_CACHE/cargo_cache/...
2018-12-10 12:33:54 -08:00
Shaun Jackman
5a653f1154
Merge pull request #5392 from sjackman/audit
rubocop: Use include? rather than match
2018-12-10 11:43:52 -08:00
Shaun Jackman
8461cf24f1 rubocop: Use include? rather than match 2018-12-10 10:23:39 -08:00
Gautham Goli
f82a202995
uninstall: Use CLI::Parser to parse args 2018-12-10 23:49:19 +05:30
Gautham Goli
3b808c43cc
info: Use CLI::Parser to parse args 2018-12-10 23:22:13 +05:30
Mike McQuaid
3245b91900
docs/Maintainer-Guidelines: don't merge failing tests. 2018-12-10 14:48:47 +00:00
Mike McQuaid
00075c228c
Merge pull request #5388 from bosr/zsh/completion-cache
_brew | allow 'brew commands' to be cached by zsh
2018-12-10 14:12:07 +00:00
Mike McQuaid
957514fb34
Merge pull request #5390 from MikeMcQuaid/audit_postgresql
audit: ensure postgresql previous version exists.
2018-12-10 13:11:32 +00:00
Mike McQuaid
f15f665b98
audit: ensure postgresql previous version exists.
This will avoid https://github.com/Homebrew/homebrew-core/issues/34879
in future.
2018-12-09 19:31:19 +00:00
Romain Bossart
95a09f72b1 allow 'brew commands' to be cached by zsh 2018-12-09 00:22:47 +01:00
Mike McQuaid
38493a35a2
Merge pull request #5373 from EricFromCanada/man-page-text
docs: update other man page sections
1.8.5
2018-12-07 15:00:49 +00:00
Mike McQuaid
d20f0a8a31
Merge pull request #5383 from MikeMcQuaid/link-provided-by-macos-consistently
link: prevent :provided_by_macos links everywhere.
2018-12-07 14:58:32 +00:00
Mike McQuaid
175579785d
Merge pull request #5385 from Homebrew/dependabot/bundler/docs/rake-12.3.2
Bump rake from 12.3.1 to 12.3.2 in /docs
2018-12-07 10:41:30 +00:00
Mike McQuaid
ab0b2304f7
audit: allow {open,libre}ssl@* to use :provided_by_macos. 2018-12-07 10:27:17 +00:00
dependabot[bot]
5f85984d15
Bump rake from 12.3.1 to 12.3.2 in /docs
Bumps [rake](https://github.com/ruby/rake) from 12.3.1 to 12.3.2.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/v12.3.1...v12.3.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-07 09:50:29 +00:00
Mike McQuaid
77e6a92750
Merge pull request #5384 from schneems/patch-1
Update bash completion docs
2018-12-06 18:29:13 +00:00
Richard Schneeman
1dcf8c689c
Update bash completion docs
When I try to run the proposed script in my `~/.bashrc` file I get this output:

```
-bash: have: command not found
-bash: have: command not found
-bash: have: command not found
-bash: have: command not found
-bash: have: command not found
-bash: have: command not found
-bash: have: command not found
-bash: have: command not found
-bash: have: command not found
-bash: have: command not found
-bash: [: =: unary operator expected
# ...
```

It goes on for quite some time and does not give me bash completion.

When I execute `source "$(brew --prefix)/etc/bash_completion"` it works and I get bash completion.

This script also emits a helpful error message letting people know if bash completion was not installed already.

I'll also add that the bash completion script takes a fairly long amount of time. I've seen between one quarter and a half of a second to execute it:

```
$ time source "$(brew --prefix)/etc/bash_completion"

real	0m0.254s
```

Though that's unrelated to this PR, making a note of it.
2018-12-06 12:04:08 -06:00
Mike McQuaid
2a346241c2
link: prevent :provided_by_macos links everywhere.
We've not seen complaints about these and they are the default behaviour
on High Sierra and Mojave so it's easier to apply them consistently
everywhere.
2018-12-06 13:59:28 +00:00
Mike McQuaid
864a6b53d3
Merge pull request #5381 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-0.61.1
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/test
2018-12-06 08:59:02 +00:00
Mike McQuaid
69e94e593d
Merge pull request #5380 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/rubocop-0.61.1
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/vendor
2018-12-06 08:58:52 +00:00
dependabot[bot]
45dc521de7
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/test
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.61.0 to 0.61.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.61.0...v0.61.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-06 08:21:00 +00:00
dependabot[bot]
e73d307915
Bump rubocop from 0.61.0 to 0.61.1 in /Library/Homebrew/vendor
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.61.0 to 0.61.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.61.0...v0.61.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-06 08:20:40 +00:00
Mike McQuaid
db6bdf4375
Merge pull request #5371 from vitorgalvao/remove-cask-sha256-only-check
Cask: Remove check on sha-only change
2018-12-05 20:59:17 +01:00
Mike McQuaid
a6b5f7f7e1
Merge pull request #5378 from Homebrew/dependabot/bundler/Library/Homebrew/vendor/rubocop-0.61.0
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/vendor
2018-12-05 17:55:09 +01:00
Mike McQuaid
2d2b86ba84
Merge pull request #5377 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-0.61.0
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/test
2018-12-05 17:54:57 +01:00
Mike McQuaid
6930af0634
Merge remote-tracking branch 'origin/master' into dependabot/bundler/Library/Homebrew/vendor/rubocop-0.61.0 2018-12-05 16:33:15 +00:00
Mike McQuaid
9347c0272a
Vendor concurrent-ruby 1.1.3. 2018-12-05 16:32:24 +00:00
Markus Reiter
7c274f3daf
Merge pull request #5338 from reitermarkus/activesupport
Update ActiveSupport.
2018-12-05 16:15:54 +01:00
dependabot[bot]
2110641b4c
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/vendor
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.60.0 to 0.61.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.60.0...v0.61.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-05 12:44:28 +00:00
dependabot[bot]
1d46a5cee3
Bump rubocop from 0.60.0 to 0.61.0 in /Library/Homebrew/test
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.60.0 to 0.61.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.60.0...v0.61.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-05 12:44:21 +00:00
Markus Reiter
bcf8cfc97c Remove atomic_write workaround. 2018-12-05 02:09:20 +01:00
Markus Reiter
7129a4852a Update activesupport to 5.2.2. 2018-12-05 02:09:20 +01:00
Markus Reiter
26e7820943 Update concurrent-ruby to 1.1.3. 2018-12-05 02:09:20 +01:00
Shaun Jackman
81021e6a60
Merge pull request #5365 from iMichka/bottle
brew bottle --keep-old: Combining :any and :any_skip_relocation yields :any
2018-12-04 08:56:14 -08:00
EricFromCanada
799086f548 docs: update man page text 2018-12-04 10:47:38 -05:00
Michka Popoff
af92fe2f17 bottle: Fix bottling for Linux
When there is no previous linux bottle, and the bottle block looks like this:
bottle do
  sha256 "5cbcce4556b41ece91f01778068f481514bc3a0d5447ddbff048797236cc9b29" => :mojave
  sha256 "15748ef1ffefa088f7c958e6935c6eec794781858e6190196e18e94ab768adc2" => :high_sierra
  sha256 "49eb0e5d27b8868b2dba20efbde3ef75becc0cbf5ea230c00e5745e2df697cb6" => :sierra
end

then the bottling fails with:
Error: --keep-old was passed but there are changes in:
cellar: old: "/home/linuxbrew/.linuxbrew/Cellar", new: :any_skip_relocation
==> FAILED

This change allows to run the bottling step for these cases.
2018-12-03 23:34:26 +01:00
Shaun Jackman
c89f6c8f8c
Merge pull request #5368 from sjackman/bottle-ignore-source
bottle: Ignore matches to source code
2018-12-03 09:39:09 -08:00
Vítor Galvão
dff0320f8c Cask: Remove check on sha-only change 2018-12-03 17:13:09 +00:00
Shaun Jackman
79b1d4178e bottle: Ignore matches to source code
Ignore matches to source code, which is not required at run time.
These matches may be caused by debugging symbols.
2018-12-03 08:22:29 -08:00
Shaun Jackman
704e8570e5
Merge pull request #5366 from sjackman/bottle
bottle: Skip matches to files in build deps
2018-12-03 08:00:24 -08:00
Shaun Jackman
b76f523b95
Merge pull request #5367 from sjackman/gcc-8
Add shims/super/gcc-8 and shims/super/g++-8
2018-12-03 07:52:46 -08:00
Mike McQuaid
6ca3ca7552
Merge pull request #5369 from MikeMcQuaid/brew-style-fixes
.rubocop.yml: brew style fixes.
2018-12-03 13:52:36 +01:00
Mike McQuaid
b34994b085
.rubocop.yml: brew style fixes.
- uncomment `ModuleLength` disable.
- don't enforce hash rockets for external commands
2018-12-03 13:23:20 +01:00
Shaun Jackman
6d90c81a79 Add shims/super/gcc-8 and shims/super/g++-8 2018-12-02 14:13:24 -08:00
Shaun Jackman
cbeb077b2e bottle: Skip matches to files in build deps
Files in build dependencies are not required at run time.
2018-12-02 13:29:43 -08:00
Mike McQuaid
720df73b17
Merge pull request #5364 from RandomDSdevel/remove-HOMEBREW_DEBUG-variable-documentation-from-man-page
man:  Remove `HOMEBREW_DEBUG_INSTALL` nor `HOMEBREW_DEBUG_PREFIX`
2018-12-01 11:48:34 +01:00
Bryce Glover
387fb2fde0 man: Mention neither HOMEBREW_DEBUG_INSTALL nor HOMEBREW_DEBUG_PREFIX any
more.

     `brew`'s `man` page's 'ENVIRONMENT' section is intended to list only those
environment variables that users can set, not any that Homebrew sets as part of
its operation.
2018-11-30 13:00:10 -05:00
Shaun Jackman
c79deae996
Merge pull request #5333 from sjackman/java-home
Fix Language::Java::java_home_cmd for Linux
2018-11-30 08:10:47 -08:00
Mike McQuaid
5758c93667
Merge pull request #5358 from MikeMcQuaid/diagnostic-xcode-prefix
os/mac/diagnostic: output non-default Xcode prefix.
2018-11-30 16:27:03 +01:00