16125 Commits

Author SHA1 Message Date
Mike McQuaid
da392cd9e8
xcode_requirement: require macOS 10.14.4 for Xcode 10.2.
See discussion in https://github.com/Homebrew/brew/pull/5940.
2019-04-04 08:34:25 +01:00
Markus Reiter
75aa369102 Fix support for HOMEBREW_EDITOR with args. 2019-04-03 23:49:37 +02:00
Mike McQuaid
8ce7b1d39c
Merge pull request #5958 from xu-cheng/compiler
CompilerSelector: prefer the gcc version offered by the gcc formula
2019-04-03 21:51:48 +01:00
Mike McQuaid
983e542b9a
diagnostic: flag unreadable rather than unavailable formulae.
Fixes #5980.
2019-04-03 19:02:04 +01:00
dependabot[bot]
e6644422fc
Bump simplecov-cobertura from 1.3.0 to 1.3.1 in /Library/Homebrew
Bumps [simplecov-cobertura](https://github.com/dashingrocket/simplecov-cobertura) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/dashingrocket/simplecov-cobertura/releases)
- [Commits](https://github.com/dashingrocket/simplecov-cobertura/compare/v1.3.0...v1.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-03 11:16:29 +00:00
Markus Reiter
4576fb0a68 Force GET for head requests. 2019-04-03 12:08:15 +02:00
Mike McQuaid
20e4262fb9
unpack_strategy: prioritise extension instead.
Instead of only looking at the extension when invoked as part of
Homebrew's formulae' download strategies instead prioritise the
extension if it actually exists. When it does not, fall back to the
magic detection logic which is likely to be more reliable.

Fixes https://github.com/Homebrew/brew/issues/5895
2019-04-03 10:32:29 +01:00
Mike McQuaid
8d01cda922
Merge pull request #5925 from MikeMcQuaid/more-deprecations
Deprecate tap pinning (and remove `odisabled`)
2019-04-03 09:00:06 +01:00
Mike McQuaid
2d3da5d383
Merge pull request #5974 from MikeMcQuaid/unreadable-installed-formulae
diagnostic: report unreadable, installed formulae.
2019-04-03 08:59:54 +01:00
Mike McQuaid
baecc4fdee
diagnostic: report unreadable, installed formulae.
We previously did this somewhat unintentionally. `brew readall` does
this for all formulae but takes way longer.
2019-04-02 19:06:05 +01:00
Markus Reiter
62a0c2fed9 Retry with ditto when “End-of-central-directory signature not found.”. 2019-04-02 13:27:20 +02:00
Mike McQuaid
6987fb4d05
upgrade: make clear formula options are used (not install options). 2019-04-02 08:20:28 +01:00
Mike McQuaid
fdb18b8916
brew install --ignore-dependencies: unsupported, developer flag.
People are using this instead of adjusting their PATH.
2019-04-02 08:18:30 +01:00
Mike McQuaid
7d26a61cc8
Deprecate tap pinning
Tap pinning is not used by Homebrew or the Homebrew maintainers so issues relating to pinned taps (#5418, #5796) don’t get fixed. Tap pinning does not work consistently or reliably and is conceptually confusing to encourage users to use fully-scoped user/tap/formula naming or avoid shadowing core tap formulae' names instead.
2019-04-01 15:07:50 +01:00
Mike McQuaid
d12e39633c
Remove odisabled. 2019-04-01 15:07:50 +01:00
Mike McQuaid
c8cc162639
Merge pull request #5959 from Homebrew/dependabot/bundler/Library/Homebrew/mime-types-data-3.2019.0331
Bump mime-types-data from 3.2018.0812 to 3.2019.0331 in /Library/Homebrew
2019-04-01 14:30:07 +01:00
dependabot[bot]
5019ad1839
Bump parallel from 1.16.2 to 1.17.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.16.2 to 1.17.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.16.2...v1.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 09:18:01 +00:00
dependabot[bot]
a2c202b07a
Bump mime-types-data in /Library/Homebrew
Bumps [mime-types-data](https://github.com/mime-types/mime-types-data) from 3.2018.0812 to 3.2019.0331.
- [Release notes](https://github.com/mime-types/mime-types-data/releases)
- [Changelog](https://github.com/mime-types/mime-types-data/blob/master/History.md)
- [Commits](https://github.com/mime-types/mime-types-data/compare/v3.2018.0812...v3.2019.0331)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 09:17:43 +00:00
Xu Cheng
363355ae47
CompilerSelector: prefer the gcc verion offered by the gcc formula
When GCC is used (default for Linux), we should prefer the gcc offered
by the gcc formula. As such even if users install a gcc with higher
version from `gcc@*` formula, it will not be picked up to build other
formulae. This would also allow users to safely delete `gcc@*` formula.

Closes #5953.
2019-03-31 21:42:05 +08:00
Mike McQuaid
372a8d4532
Merge pull request #5950 from gguillotte/master
Remove search from brew-cask man page
2019-03-29 07:02:09 +00:00
dependabot[bot]
b6dd3eae54
Bump parallel from 1.16.1 to 1.16.2 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.16.1 to 1.16.2.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.16.1...v1.16.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-29 03:55:58 +00:00
Garrett Guillotte
c59c03e2f8 Remove search from brew-cask man page
`brew cask` no longer supports the `search` command and was removed from
the `homebrew/brew-cask` documentation. However, it's still in the
`brew` man page for `brew-cask`.

Remove search from the man page.
2019-03-28 18:15:06 -07:00
Mike McQuaid
aa940a21a9
Generate and push rubydoc.brew.sh
This is a replacement for the rubydoc.info site that has been a bit
unreliable for us.

Also, note we're using the community Ruby style guide now rather than
the GitHub one.
2019-03-28 21:15:50 +00:00
Mike McQuaid
f1f792e101
Merge pull request #5944 from MikeMcQuaid/rubocop-specs-cleanup
Cleanup some RSpec tests
2019-03-28 19:57:26 +00:00
Mike McQuaid
75257886f2
Cleanup some RSpec tests
Fix some Rubocop RSpec checks, update some values and improve
documentation.
2019-03-28 19:16:56 +00:00
Mike McQuaid
9dc19e8320
Merge pull request #5939 from MikeMcQuaid/cask-json-consistency
cask: improve JSON output consistency.
2019-03-28 19:11:07 +00:00
dependabot[bot]
5ac9dba4c7
Bump parallel from 1.16.0 to 1.16.1 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.16.0...v1.16.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-28 15:47:25 +00:00
Mike McQuaid
774adaf435
exceptions: remove unused scp exception.
The code was removed but the exception was not.
2019-03-28 10:34:02 +00:00
Mike McQuaid
899bf06946
Merge pull request #5943 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-5.2.3
Bump activesupport from 5.2.2.1 to 5.2.3 in /Library/Homebrew
2019-03-28 09:07:27 +00:00
Mike McQuaid
2f1c6e9ca5
Cleanup cmd/* tests
- Test `_args` methods
- Remove multiple integration tests (except where essential
  e.g. `install`, `help`)
2019-03-28 08:35:36 +00:00
Mike McQuaid
889d8da758
brew vendor-gems: commit updates. 2019-03-28 08:31:38 +00:00
dependabot[bot]
b6a2099830
Bump activesupport from 5.2.2.1 to 5.2.3 in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 5.2.2.1 to 5.2.3.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v5.2.3/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v5.2.2.1...v5.2.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-28 03:02:46 +00:00
Mike McQuaid
70b93f65ea
*cmd/*: use *system instead of exec for easier testing.
This improves both test coverage, makes it easier to use a profiler and
a debugger.
2019-03-27 21:15:24 +00:00
Chongyu Zhu
0299790aa7
xcode: upgrade for Xcode 10.2 release 2019-03-28 03:39:23 +08:00
Mike McQuaid
51e473891f
cask: improve JSON output consistency.
Replace the use of HOME or HOMEBREW_PREFIX in the output strings with
variable versions. This is particularly useful on formulae.brew.sh.
2019-03-27 15:59:38 +00:00
Mike McQuaid
cc6c6afffb
test/dev-cmd: add more parseable arguments tests. 2019-03-27 14:22:30 +00:00
Mike McQuaid
1e5cfcc028
Separate tap tests into separate, correct files. 2019-03-27 13:35:42 +00:00
Mike McQuaid
aa44509be9
Test dev-cmd *_args methods
Also, add a few missing invocations.
2019-03-27 13:35:42 +00:00
Markus Reiter
2a3b7d072d Add #unstable? method for cask versions. 2019-03-27 13:48:03 +01:00
Mike McQuaid
3bde17c9f9
Cleanup from dev-cmd test changes
- Remove added whitespace in `extend/os/linux/keg_relocate`
- Cleanup testball bottles
2019-03-27 10:31:26 +00:00
Mike McQuaid
740599370c
Merge pull request #5928 from MikeMcQuaid/dev-cmd-one-integration-test
dev-cmd: only one integration test per command.
2019-03-27 10:20:13 +00:00
Mike McQuaid
59d680a626
dev-cmd: only one integration test per command.
Integration tests are useful in detecting breakages but much slower so
let's only use one per command and install formula outside the
integration test framework (which is also slow).
2019-03-27 09:45:48 +00:00
Mike McQuaid
b9df02bd44
Merge pull request #5931 from Homebrew/dependabot/bundler/Library/Homebrew/parallel-1.16.0
Bump parallel from 1.15.0 to 1.16.0 in /Library/Homebrew
2019-03-27 09:00:11 +00:00
dependabot[bot]
763664d4cd
Bump parallel from 1.15.0 to 1.16.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.15.0...v1.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-26 21:25:06 +00:00
EricFromCanada
4fd398b862 linux.rb: define language/languages methods 2019-03-26 17:14:12 -04:00
Mike McQuaid
cf4511f72a
Merge pull request #5538 from zachauten/brew-info-display-casks
Make brew info output cask if no formula exists
2019-03-25 16:54:03 +00:00
dependabot[bot]
9a85582f82
Bump nokogiri from 1.10.1 to 1.10.2 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.1...v1.10.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-25 13:04:58 +00:00
dependabot[bot]
d9e287d397
Bump parallel from 1.14.0 to 1.15.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.14.0...v1.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-24 23:32:59 +00:00
Zach Auten
999c4743d0 Added flag for cask_reason to output cask info or just message with cask name 2019-03-24 15:28:34 -04:00
Michka Popoff
583a754d9f brew: remove sudo call
Closes #5865
2019-03-24 17:53:39 +01:00