aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2017-11-05Merge pull request #3423 from MikeMcQuaid/commands-refactoring-fixMike McQuaid
Refactor command handling code
2017-11-05MACOS_*VERSION: move to compat.Mike McQuaid
2017-11-05ENV/super: simplify version checks.Mike McQuaid
2017-11-05diagnostic: simplify version checks.Mike McQuaid
2017-11-05system_config: handle new non-string Xcode versionMike McQuaid
2017-11-05version: support to_i.Mike McQuaid
This is needed for existing MacOS::Xcode.version calls that relied on this returning a string. It mirrors similar behaviour for to_f.
2017-11-05mac/xquartz: compare with existing Version class.Mike McQuaid
2017-11-05mac/xcode: compare with existing Version class.Mike McQuaid
Additionally, return null versions when it makes sense to do so. This means that comparisons on the Xcode/CLT version do not need to be guarded on whether Xcode/CLT is installed.
2017-11-05Refactor command handling codeMike McQuaid
Don’t rely on having external commands always present in the PATH in order to find them. Instead, provide an accessory method to Tap so they can be added and used when needed. While we’re here, do some general refactoring and cleanup of the command code in these places.
2017-11-05Merge pull request #3420 from MikeMcQuaid/config-env-outputMike McQuaid
system_config: output most HOMEBREW_* variables.
2017-11-05system_config: output most HOMEBREW_* variables.Mike McQuaid
Exclude the boring ones and exclude some that are already printed that are just using their default values. HOMEBREW_PREFIX is the only one where we’re always interested in the output to quickly communicate it.
2017-11-05system_config: output curl path and version.Mike McQuaid
2017-11-05utils: correctly handle empty user gem env.Mike McQuaid
2017-11-05brew.sh: cleanup some environment pollution.Mike McQuaid
2017-11-05curl: unset SSL_CERT_FILE.Mike McQuaid
2017-11-05spec_helper: fix etc leak.Mike McQuaid
Fix the `etc/bash_completion.d/_brew_services` leak from the new bash completion in the Homebrew/homebrew-services tap.
2017-11-03Merge pull request #3407 from DomT4/x11Mike McQuaid
xquartz: add new versions + mark latest
2017-11-03Merge pull request #3395 from GauthamGoli/parameters-audit-regex-fixMike McQuaid
lines_cop: Update regex patterns to prevent false positives
2017-11-03Merge pull request #3385 from MikeMcQuaid/path-fixes-cleanupMike McQuaid
Fix and cleanup some PATH usage.
2017-11-03brew.rb: cleanup PATH setup.Mike McQuaid
Avoid adding all the tap commands to the PATH when not necessary.
2017-11-03requirement: convert Cellar path to opt path.Mike McQuaid
2017-11-03requirement: don't add /usr/local/{bin,sbin}.Mike McQuaid
This should be considered a requirement bug if it's added.
2017-11-03requirement: prepend rather than append PATH.Mike McQuaid
Otherwise this ends up behind e.g. `/usr/bin` so is pretty useless.
2017-11-03bump-formula-pr: --message: add newlines before and after hrZhiming Wang
Without an empty line before the horizontal rule (---), "Created with `brew bump-formula-pr`." is treated as a setext header. The newline before the hr is not part of the heredoc because putting it in would trip up Rubocop.
2017-11-03Merge pull request #3389 from amyspark/hacktoberfest-single-zapMarkus Reiter
Check that a single uninstall_* and zap stanza is defined
2017-11-03Cask doctor: add macOS & Java versionscommitay
2017-11-02formula: fix safe navigation bugilovezfs
Safe navigation needs to be chained to preserve equivalence. Fixes a bug introduced by 01e9ec9a in #3183.
2017-11-02Fix last remaining style issuesL. E. Segovia
2017-11-01Turn ifs into multiple linesL. E. Segovia
2017-11-01formula_desc_cop: Fix the 'full stop at end of description' autocorrectIsabell Long
- It wasn't working because desc strings end in quotes, not just full stops.
2017-11-01formula_desc_cop: If desc ends with 'etc.', it's not a violationIsabell Long
2017-11-01xcode: expect Xcode 9.1 on Sierra & High SierraDominyk Tiller
2017-11-01mac: update for Xcode 9.1Dominyk Tiller
2017-10-31xquartz: mark 2.7.11 as latest releaseDominyk Tiller
2017-10-31xquartz: add 2.7.10 & 2.7.11 releasesDominyk Tiller
2017-10-31Separate do end into multiple linesL. E. Segovia
2017-10-30Finalize metadata handling and uninstall logicL. E. Segovia
2017-10-31text_cop_spec: update go get testsDominyk Tiller
2017-10-31text_cop: warn against go_resource usage for strict auditDominyk Tiller
2017-10-31text_cop: drop go_resource recommendationDominyk Tiller
2017-10-30Add tests for uninstall_* and zap stanzasL. E. Segovia
2017-10-30Use #count, rewrite warning, and add pre/postflight checks tooL. E. Segovia
2017-10-30Fix `SystemCommand` without arguments.Markus Reiter
2017-10-30Merge pull request #3387 from MikeMcQuaid/env-std-homebrew-pathsMike McQuaid
ENV/std: fully extend from HOMEBREW_PATH.
2017-10-30bump-formula-pr: add --no-browse option.Mike McQuaid
If `--no-browse` is passed, don't pass the `--browse` argument to `hub` which opens the pull request URL in a browser. Instead, output it to the command line.
2017-10-30Merge pull request #3393 from MikeMcQuaid/with_env_tweaksMike McQuaid
Tweak use of with_env
2017-10-29Hack a first working version of upgradeL. E. Segovia
2017-10-29Merge pull request #3394 from MikeMcQuaid/sh-no-ps1Mike McQuaid
cmd/sh: set working PS1 for zsh
2017-10-29lines_cop: Update regex patterns to prevent false positivesGautham Goli
2017-10-29cmd/sh: set working PS1 for zsh.Mike McQuaid
The `bash`, default one is broken on `zsh`.