15146 Commits

Author SHA1 Message Date
Mike McQuaid
29aa317d77
Merge pull request #3611 from MikeMcQuaid/git-prefix-cd-warning
scm/git: hide prefix cd failure warning.
2017-12-30 20:15:10 +00:00
Mike McQuaid
73cb1ac265
Merge pull request #3613 from ilovezfs/allow-install-mixed-python-dependency-tree
formula_installer: allow version mismatched python deps
2017-12-30 20:14:53 +00:00
ilovezfs
ba76e06cff formula_installer: allow version mismatched python deps
Dependency trees with both python@2 and python@3 are not inherently
problematic.
2017-12-30 11:35:35 -08:00
Mike McQuaid
60362605de scm/git: hide prefix cd failure warning.
This may happen with certain checkout configurations (such as on our CI
boxes).

Also, rename the variables to be clearer about what they reference.
2017-12-30 17:36:37 +00:00
Sean Prashad
a83b2f21ba
Add brew cask upgrade initial documentation 2017-12-29 19:29:05 -05:00
Mike McQuaid
7f54c83911 audit: remove unneeded mercurial check. 2017-12-29 19:53:04 +00:00
Mike McQuaid
05329fc08d dependency_collector: don't use hg alias. 2017-12-29 17:51:02 +00:00
Mike McQuaid
51114139e1 formula: require gpg and make it a module. 2017-12-29 16:19:09 +00:00
Mike McQuaid
80769ae0c7
Merge pull request #3605 from DomT4/zshrc
utils: stop debug exploding when zsh is used
2017-12-29 15:54:30 +00:00
Mike McQuaid
c6eaa73db1
Merge pull request #3604 from alyssais/cask_no_arguments
cask: exit successfully when given no arguments.
2017-12-29 15:53:39 +00:00
Mike McQuaid
c2e1b3cccf
Merge pull request #3603 from MikeMcQuaid/deprecate-some-requirements
Deprecate more requirements.
2017-12-29 15:41:56 +00:00
Dominyk Tiller
6fe261bc5c
utils: stop debug exploding when zsh is used 2017-12-24 20:59:34 +00:00
Mike McQuaid
2259e369ea
Merge pull request #3590 from DomT4/completions_are_not_always_linked
caveats: correct completion/function paths for keg_only
2017-12-24 20:40:52 +00:00
Alyssa Ross
78fe082a2b
cask: exit successfully when given no arguments
Fixes https://github.com/Homebrew/brew/issues/3601.
2017-12-24 15:06:49 +00:00
Mike McQuaid
cacefb2b99
caveats: tweak root_dir definition style. 2017-12-24 07:59:17 +00:00
Dominyk Tiller
92e62ba583
caveats: correct completion/function paths for keg_only 2017-12-23 23:15:59 +00:00
Mike McQuaid
e8fa6f9ad1 gpg: cleanup and simplify. 2017-12-23 16:53:25 +00:00
Mike McQuaid
08a452fead lines_cop: check for more deprecated requirements. 2017-12-23 16:53:25 +00:00
Mike McQuaid
38ce994007 Deprecate more requirements.
These are ones that were either already deprecated due to audit rules
or are just a simple `which` with a `default_formula` so should just
be a dependency.
2017-12-23 16:53:25 +00:00
Mike McQuaid
5b178c2892 dependency_collector: cleanup optional system deps 2017-12-23 16:36:33 +00:00
ilovezfs
898981f17b
Merge pull request #3602 from Homebrew/revert-3594-revert-3589-shims-scm
Revert "Revert "shims/scm/git: Fix the search for brewed git""
2017-12-23 04:56:21 -08:00
ilovezfs
b40484e87c
Revert "Revert "shims/scm/git: Fix the search for brewed git"" 2017-12-23 03:37:27 -08:00
ilovezfs
583b61fd32
Merge pull request #3594 from Homebrew/revert-3589-shims-scm
Revert "shims/scm/git: Fix the search for brewed git"
2017-12-21 15:34:45 -08:00
ilovezfs
0dabb464dd
Revert "shims/scm/git: Fix the search for brewed git" 2017-12-21 15:03:40 -08:00
Mike McQuaid
bd471d6b9b
Merge pull request #3589 from sjackman/shims-scm
shims/scm/git: Fix the search for brewed git
2017-12-21 17:49:18 +00:00
Mike McQuaid
75d032129a
Merge pull request #3592 from sjackman/development-tools-installed
DevelopmentTools.installed?: Use locate
2017-12-21 10:24:35 +00:00
Mike McQuaid
4e7bb2f380
Merge pull request #3588 from sjackman/brew-version
brew.sh: Use shims/scm/git for HOMEBREW_VERSION
2017-12-21 09:12:36 +00:00
Shaun Jackman
4474ef47f9 DevelopmentTools.installed?: Use locate
Use locate rather than which to search for clang or gcc.
locate searches both $HOMEBREW_PREFIX/bin and /usr/bin.
2017-12-20 22:33:46 -08:00
Shaun Jackman
5c7d2d0bb5 shims/scm/git: Fix the search for brewed git
Search for brewed git in both locations:
$HOMEBREW_PREFIX/Homebrew/Library/Homebrew/shims/scm/../../../../../bin/git
$HOMEBREW_PREFIX/Library/Homebrew/shims/scm/../../../../bin/git
2017-12-20 16:24:22 -08:00
Shaun Jackman
cf27117c46 brew.sh: Use shims/scm/git for HOMEBREW_VERSION
Move the use of git to determine HOMEBREW_VERSION below the
definition of the function git.
2017-12-20 16:16:01 -08:00
Mike McQuaid
426c998ff5
Merge pull request #3584 from Quesar/fix-proxy-config
Added no_proxy to filtered env
2017-12-19 09:16:04 +00:00
Ivars Berzinsh
28a0e445f0 Added info about no_proxy to docs 2017-12-19 10:59:04 +02:00
Ivars Berzinsh
25f65c1a13 Added no_proxy to filtered env 2017-12-18 08:53:15 +02:00
Mike McQuaid
b4d43e950f
Merge pull request #3401 from DomT4/vendor_or_na
go: various tweaks to recommendations
1.4.1
2017-12-16 13:34:22 +00:00
Vítor Galvão
deb37497e9
Merge pull request #3564 from commitay/revert-https-audit
Partially revert "Add audit check for URL schema"
2017-12-16 12:09:51 +00:00
Mike McQuaid
67c4402634 README: add tdsmith to significant contribution list. 2017-12-15 10:50:33 +00:00
ilovezfs
806345dfcb
Merge pull request #3581 from MikeMcQuaid/post_install_homebrew_path
post_install: use HOMEBREW_PATH.
2017-12-15 02:29:25 -08:00
Mike McQuaid
e504caa5a3 README: remove tdsmith from maintainers. 2017-12-15 10:19:43 +00:00
Mike McQuaid
65e719db25 post_install: use HOMEBREW_PATH.
Do this instead of appending the `HOMEBREW_PREFIX` as it's more
reliable at finding e.g. keg-only and requirement PATH additions. It's
not ideal as it overrides some environment filtering but the only real
alternative is recreate the entire build environment by shelling out to
`build.rb` in `formula_installer`.
2017-12-15 10:05:43 +00:00
Mike McQuaid
656776d925
Merge pull request #3578 from MikeMcQuaid/tests-no-duplicate-seed-output
tests: don't output seed multiple times.
2017-12-15 09:46:17 +00:00
Mike McQuaid
8ed1425ed7 tests: don't output seed multiple times.
This clutters up the output. Instead, hide it with a RSpec formatter and
generate and output it ourselves.
2017-12-15 09:14:44 +00:00
Mike McQuaid
0cbe1f3a05
Merge pull request #3579 from MikeMcQuaid/gist-logs-full-path
gist-logs: use full path to brew.
2017-12-14 20:15:15 +00:00
Mike McQuaid
8410950d14 java_requirement: use popen_read :err option. 2017-12-14 16:44:25 +00:00
Mike McQuaid
cdeb0b1f23 bump-formula-pr: use popen_read :err option. 2017-12-14 16:44:25 +00:00
Mike McQuaid
7a8f61c28c gist-logs: use full path to brew.
This fixes the command with environment filtering enabled.
2017-12-14 16:44:25 +00:00
Mike McQuaid
c912d268f1
Merge pull request #3577 from MikeMcQuaid/python_requirement_tweaks
python_requirement: various tweaks/fixes.
2017-12-14 10:10:06 +00:00
Mike McQuaid
9f18123e07
Merge pull request #3576 from MikeMcQuaid/post-install-path
postinstall: add HOMEBREW_PREFIX/{,s}bin to PATH.
2017-12-14 10:09:54 +00:00
Mike McQuaid
f4e647cbc6 python_requirement: various tweaks/fixes.
- simplify the code by avoiding some unnecessary variables and rename
  functions
- make more stuff private so implementation details don't leak
- make Python 2 binary `python2.7` to handle cases like those in
  https://github.com/Homebrew/homebrew-core/issues/21500
- only set `PYTHONPATH` for system Python; Homebrew's Python doesn't
  need it.
2017-12-14 09:21:26 +00:00
Mike McQuaid
b085da91c3 postinstall: add HOMEBREW_PREFIX/{,s}bin to PATH.
This avoids the need for workarounds such as:
https://github.com/Homebrew/homebrew-core/pull/21688
2017-12-14 09:20:07 +00:00
Mike McQuaid
71ebfa76c5
Merge pull request #3575 from MikeMcQuaid/new-maintainer-tweaks
New-Maintainer-Checklist: make some tweaks.
2017-12-13 11:23:35 +00:00