20377 Commits

Author SHA1 Message Date
Markus Reiter
cd03c0f86d Retry merging once after 5 seconds. 2019-02-15 19:48:12 +01:00
Mike McQuaid
5d729dd310
formula: make JSON caveats output use consistent prefix.
This will avoid this changing depending on the generation location.
2019-02-15 17:39:20 +00:00
Ben Muschol
ac005fa4ce rename source to from, change values 2019-02-15 11:01:28 -05:00
Markus Reiter
68e0c5f904 Check for write access instead of HOMEBREW_DEVELOPER. 2019-02-15 16:27:37 +01:00
Markus Reiter
57fefff942 Add brew cask automerge command. 2019-02-15 16:27:37 +01:00
Mike McQuaid
aafcbc1153
Add/link Homebrew Governance document. 2019-02-15 10:54:30 +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
Markus Reiter
e8a7592176
Merge pull request #5660 from reitermarkus/save-cask-config
Save cask config for reinstall/uninstall/upgrade.
2019-02-15 11:49:01 +01:00
Mike McQuaid
019d97b4c8
Dockerfile: remove USER linuxbrew.
This defaults to `root` but we still want to keep a Linuxbrew user on
the system.
2019-02-15 10:05:10 +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
Ben Muschol
440fb185dd Fix 1 style conflict, keep the other for consistency 2019-02-15 01:16:07 -05:00
Ben Muschol
f8d84249aa Prioritize CLI arguments over env vars when they conflict 2019-02-15 00:52:30 -05:00
Mike McQuaid
058bd4bf7c
Merge pull request #5724 from MikeMcQuaid/maintainer-documentation
Update maintainer documentation.
2019-02-14 09:52:15 +00:00
Mike McQuaid
bf873783d2
Apply suggestions from code review
Co-Authored-By: MikeMcQuaid <mike@mikemcquaid.com>
2019-02-14 09:13:00 +00:00
Mike McQuaid
ff898bcb4e
Merge pull request #5727 from MikeMcQuaid/brew-cask-uninstall
brew.rb: don't try to uninstall brew-cask keg.
2019-02-13 18:33:53 +00: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
1b609ceeb3
Update maintainer documentation.
- Fix Markdown format
- Note Linux in the mission statement
- Update the maintainer guidelines based on current state
- Loosen the new maintainer expectations
- Clarify what things the PLC should be added to
- Add documentation for making a new Homebrew release
2019-02-13 15:02:18 +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
14a503f703
Merge pull request #5722 from MikeMcQuaid/periodic-cleanup-ruby
cleanup: don't remove portable ruby on periodic cleanups.
2019-02-13 14:40:46 +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
Mike McQuaid
9084a629a5
Merge pull request #5715 from Homebrew/dependabot/bundler/docs/github-pages-195
Bump github-pages from 194 to 195 in /docs
2019-02-12 19:01:48 +00:00
dependabot[bot]
bbc7cf2250
Bump github-pages from 194 to 195 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 194 to 195.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v194...v195)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-12 17:45:15 +00:00
Mike McQuaid
2f79f5b9df
Merge pull request #5708 from Homebrew/dependabot/bundler/docs/github-pages-194
Bump github-pages from 193 to 194 in /docs
2019-02-12 08:51:26 +00:00
Misty De Meo
4550f708d0
Merge pull request #5710 from mistydemeo/formula_installer_fix_invalid_cask
formula_installer: handle attempts to load invalid casks
2019-02-11 15:29:58 -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
dependabot[bot]
9090e37455
Bump github-pages from 193 to 194 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 193 to 194.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v193...v194)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-11 20:27:25 +00: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