16125 Commits

Author SHA1 Message Date
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
Gautham Goli
418a5f56dc
cli_parser: Dont raise FormulaUnavailableError 2019-02-04 22:10:47 +01:00
Markus Reiter
81b6623774
Merge pull request #5668 from GauthamGoli/update-report-quiet-arg
cmd/update: Add quiet flag
2019-02-04 17:55:11 +01:00
Mike McQuaid
e1caf63cec
Merge pull request #5665 from GauthamGoli/upgrade-parse-args
cmd/upgrade: Add call to parse options
2019-02-04 17:43:12 +01:00
Mike McQuaid
5063f00a5a
Merge pull request #5669 from MikeMcQuaid/leadership-changes
Note leadership changes
2019-02-04 17:40:37 +01:00
Mike McQuaid
a733089940
Merge pull request #5653 from FuegoFro/cask_handle_already_downloaded_file
Cask handle already downloaded file
2019-02-04 17:39:38 +01:00
Mike McQuaid
947b90961b
Note leadership changes
Today the Homebrew maintainers elected a new PLC, TSC and project lead.
Documentation is to follow detailing exactly the responsibilities for
each of these roles but adjust these to reflect the current state until
that point.
2019-02-04 17:09:31 +01:00
Gautham Goli
ff4544eebd
cmd/update: Add quiet flag 2019-02-04 15:06:06 +01:00
Gautham Goli
ba057ad239
Fixes #5663 2019-02-04 08:40:05 +01:00
Danny Weinberg
6db1b0abd8 Handle regex not finding anything 2019-02-03 10:52:09 -08:00
Mike McQuaid
8df3d20f5e
Merge pull request #5659 from MikeMcQuaid/cleanup-fix-cask-formula-duplicates
cleanup: fix stale cask detection.
2019-02-03 15:59:40 +01:00
Mike McQuaid
6fe75fb154
cleanup: fix stale cask detection.
This method is also run to check formulae and if a formula and cask have
the same name (e.g. `cmake`) then this method would mark all formulae
downloads to being stale.

Instead, check the `dirname` (which we're using for globs anyway) to
double check that this is definitely a stale cask.
2019-02-03 15:32:30 +01:00
Mike McQuaid
267d721988
Note HOMEBREW_NO_INSTALL_CLEANUP in the help/manual 2019-02-03 09:34:00 +01:00
Mike McQuaid
4101bfda81
update-reset: avoid hanging on shallow-since.
For some reason this seems to hang when there's been no commits since
the latest tag. Not a problem in `brew update`.
2019-02-02 18:34:44 +01:00
Danny Weinberg
b0124c4fb0 Cask handle already downloaded file
The current logic for curl_download tries to restart any existing
partial download, but this fails for some servers when the file is
already fully downloaded, returning a status code 416. This updates the
function to check for the file being already downloaded and if so bails
early.

The following command used to fail when run more than once but now works
as expected:
```
brew cask info https://raw.githubusercontent.com/homebrew/homebrew-cask/master/Casks/docker.rb
```
2019-02-01 14:57:50 -08:00