15587 Commits

Author SHA1 Message Date
Mike McQuaid
c25261a665
cmd/install: add --bottle-arch.
This argument was missing when the command-line parser code was added.

Fixes #5741.
2019-02-15 20:13:05 +00:00
Mike McQuaid
2ca56f6731
Merge pull request #5733 from MikeMcQuaid/docker-root
brew.sh: allow Docker to run as root.
2019-02-15 10:54:08 +00:00
Mike McQuaid
31dd2ee856
brew.sh: allow Docker to run as root. 2019-02-15 10:03:53 +00:00
Markus Reiter
78d4373543 Simplify DEFAULT_DIRS. 2019-02-15 10:09:14 +01:00
Markus Reiter
3bf7e5bce5 Remove Cask::Config#write. 2019-02-15 10:09:14 +01:00
Markus Reiter
4c6d0ba069 Rename dirs.json to config.json. 2019-02-15 10:09:14 +01:00
Markus Reiter
bcdb4a3f32 Add Cask::Config::canonicalize. 2019-02-15 10:09:14 +01:00
Markus Reiter
defbf7d74c Don’t ignore other arguments in HOMEBREW_CASK_OPTS. 2019-02-15 10:09:14 +01:00
Markus Reiter
707cb33346 Add tests for Cask::Config. 2019-02-15 10:09:14 +01:00
Markus Reiter
190ff7558a Use saved cask config for reinstall/upgrade/uninstall. 2019-02-15 10:09:14 +01:00
Markus Reiter
fda6e0cab3 Split cask config into three tiers. 2019-02-15 10:09:14 +01:00
Markus Reiter
1e1ce1c471 Save config file for casks. 2019-02-15 10:09:14 +01:00
Mike McQuaid
948b367ac3
brew.rb: don't try to uninstall brew-cask keg.
This is long gone at this point so no need to keep this code around.
2019-02-13 15:43:17 +00:00
Mike McQuaid
bb6fe17a97
Merge pull request #5723 from MikeMcQuaid/download-strategy-fix-content-encoding
download_strategy: more robust filename content encoding handling.
2019-02-13 14:41:43 +00:00
Mike McQuaid
0c44498581
download_strategy: more robust filename content encoding handling.
Fixes #5713.
2019-02-13 13:29:37 +00:00
Mike McQuaid
ede9891bf2
cleanup: don't remove portable ruby on periodic cleanups.
Otherwise we end up deleting the running Ruby version.

Fixes #5707.
2019-02-13 12:56:36 +00:00
Mike McQuaid
d3a1554805
Merge pull request #5721 from MikeMcQuaid/prune-prefix
cleanup: add --prune-prefix option.
2019-02-13 10:13:48 +00:00
Mike McQuaid
20e9f10d5c
Merge pull request #5706 from mtmiller/display-env
Set DISPLAY environment variable for browser on Linux
2019-02-13 09:44:56 +00:00
Mike McQuaid
e7c5d91151
cleanup: add --prune-prefix option.
From https://discourse.brew.sh/t/error-calling-brew-prune-is-disabled/4142/4 and https://github.com/github/homebrew-bootstrap/pull/72 it seems this is worth having as a dedicated flag.
2019-02-13 09:39:21 +00:00
Mike Miller
cf4d5c80c0 man: mention HOMEBREW_DISPLAY in man page 2019-02-12 12:39:59 -08:00
Mike Miller
6819cbf967 Set DISPLAY from HOMEBREW_DISPLAY unconditionally
No need to test for existence, ruby ENV does the right thing.
2019-02-12 11:42:17 -08:00
Misty De Meo
ea9977f3c3 formula_installer: handle attempts to load invalid casks
Certain casks in the main cask repository may be invalid, for whatever
reason. Without handling this exception, the user will get a cask-related
exception while the formula of the same name is installed, and their
installation will abort half-completed.

Fixes #5709.
2019-02-11 15:11:19 -08:00
Mike McQuaid
1fd8b387c6
Merge pull request #5684 from hjmallon/repo-man
cmd/repository: Fix man pages and help
2019-02-11 13:52:47 +00:00
Mike McQuaid
375208cc61
Merge pull request #5699 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-0.64.0
Bump rubocop from 0.63.1 to 0.64.0 in /Library/Homebrew/test
2019-02-11 13:47:40 +00:00
Mike McQuaid
8c3a46a087
Merge pull request #5705 from maxim-belkin/build-tools-text-fix
exceptions.rb: move alternative solution to a new line
2019-02-11 13:47:07 +00:00
Maxim Belkin
c44c8da5e0
exceptions.rb: remove unnecessary chomps
remove `chomp!` from method 'initialize' in class 'BuildFlagsError'
2019-02-11 05:27:22 -06:00
Mike McQuaid
3060125c45
rubocop: autofix problems. 2019-02-11 09:50:09 +00:00
Mike McQuaid
190deb36b5
brew vendor-gems: commit updates. 2019-02-11 09:45:54 +00:00
Mike McQuaid
a30d0c7961
Merge remote-tracking branch 'origin/dependabot/bundler/Library/Homebrew/vendor/rubocop-0.64.0' into dependabot/bundler/Library/Homebrew/test/rubocop-0.64.0 2019-02-11 09:44:40 +00:00
Mike Miller
ae1e4e7022 Set DISPLAY environment variable for browser on Linux
Fixes #5692
2019-02-10 23:30:54 -08:00
Maxim Belkin
db7997e1a0
exceptions.rb: move alternative solution to a new line 2019-02-11 01:02:31 -06:00
dependabot[bot]
74dbe00eca
Bump rubocop from 0.63.1 to 0.64.0 in /Library/Homebrew/vendor
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.63.1 to 0.64.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.63.1...v0.64.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-11 06:54:15 +00:00
Markus Reiter
6ae600b5e6
Merge pull request #5689 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.28.0
Bump parallel_tests from 2.27.1 to 2.28.0 in /Library/Homebrew/test
2019-02-11 03:28:11 +01:00
dependabot[bot]
f1c217b32b
Bump rubocop from 0.63.1 to 0.64.0 in /Library/Homebrew/test
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.63.1 to 0.64.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.63.1...v0.64.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-10 13:56:34 +00:00
Chongyu Zhu
6cac67bcd0
python_virtualenv_constants: upgrade virtualenv to 16.4.0 2019-02-09 23:10:50 +08:00
Markus Reiter
0fcc62db31 Run uninstall rmdir: after uninstalling artifacts. 2019-02-08 01:09:48 +01:00
Markus Reiter
e09eaf5b31 Only use sudo if it is actually needed. 2019-02-07 21:45:48 +01:00
dependabot[bot]
1304c329d0
Bump parallel_tests from 2.27.1 to 2.28.0 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.27.1 to 2.28.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.27.1...v2.28.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 19:27:02 +00:00
Mike McQuaid
29fd1d05dd
Merge pull request #5683 from tueksta/fix-cleanup-estimate
Bugfix: Calculate actual delta in usage
2019-02-07 13:14:29 +00:00
Harry Mallon
f20319a516 cmd/repository: Fix man pages and help 2019-02-07 10:11:31 +00:00
Markus Reiter
e32c151543
Merge pull request #5682 from gcbartlett/issues/5671
Add support for java version strings without periods, e.g. "12-ea"
2019-02-07 01:03:46 +01:00
Gary Bartlett
8a6a46da36 Add additional support for java minor versions > 9. 2019-02-06 14:48:19 -08:00
tueksta
4abacfd85d
style 2019-02-06 23:19:25 +01:00
tueksta
9abd7d31bd
Fix dry run 2019-02-06 22:50:17 +01:00
Markus Reiter
2090f057a0 Create parent directory for artifacts with sudo if necessary. 2019-02-06 21:20:51 +01:00
tueksta
b9b1b24e4e
Calculate actual delta in usage 2019-02-06 18:25:46 +01:00
Gary Bartlett
ff5dddab99 Add support for java version strings without periods, e.g. "12-ea" (java-beta). 2019-02-06 06:31:57 -08:00
Waldir Pimenta
2dccfe1d02
Update missing_formula.rb 2019-02-05 14:05:57 +00:00
Waldir Pimenta
3dc0df5a77
missing_formula.rb: add help message for cargo
...modeled after the existing message for pip.

Also sync format of the gfortran and lzma messages,
and use typographic apostrophe in the *tex message.
2019-02-05 13:38:08 +00:00
Mike McQuaid
ec3eb25994
Merge pull request #5673 from GauthamGoli/fix-formula-options-bug
cli_parser: Dont raise FormulaUnavailableError
2019-02-05 10:39:05 +01:00