aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
AgeCommit message (Collapse)Author
2018-02-22Use more docs.brew.sh short linksMike McQuaid
These are nicer on the eyes.
2018-02-12Tty: if HOMEBREW_NO_COLOR env var is present, disable colorjoshua stein
bin/brew will recognize NO_COLOR variable and copy it to HOMEBREW_NO_COLOR
2018-02-09Format identifiers in oh1Chayoung You
2018-01-26ruby.sh: fix version check.Mike McQuaid
- Rather than checking for the absence of a failure check for an actual success in the check - Fix the check to work on Ruby 1.9 (where `RUBY_VERSION.to_s.dup` is required to avoid modifying a frozen string).
2018-01-17rubocop: fix brew style warnings.Mike McQuaid
2018-01-15Revert "Use Homebrew's gitconfig for various commands"ilovezfs
2018-01-11Use Homebrew's gitconfig for various commandsMike McQuaid
Git is a transport and storage mechanism for us so we don't want to allow arbitrary customisation of this due to user issues e.g. #3664 and #3561. Fixes #3664.
2018-01-11curl: handle more non-executable curl edge-cases.Mike McQuaid
Address some additional issues mentioned in #3624.
2017-12-12Do not specify absolute paths to utilitiesShaun Jackman
Specifying an absolute path to utilities is no longer needed, since environment filtering uses a default PATH.
2017-12-03Refactor: Move FormulaAudit.check_http_content to utils/curlMartin Schimandl
2017-12-02Utils.popen_read: Nonexistent program should failShaun Jackman
Ensure that $CHILD_STATUS.success? is false when the command does not exist.
2017-11-27More environment filtering fixesMike McQuaid
- Make `brew pull` pass through Git environment variables - Whitelist all `TRAVIS_` variables.
2017-11-23setup-analytics: Handle missing /proc/.../uuidShaun Jackman
2017-11-22Change the generic bottle tag to processor-systemShaun Jackman
2017-11-13environment filtering: pass through TRAVIS vars.Mike McQuaid
We use these internally so let's map them to `HOMEBREW_` variables.
2017-11-05curl: unset SSL_CERT_FILE.Mike McQuaid
2017-10-29Merge pull request #3376 from tomjonandy/fix/keychain-credentialsMike McQuaid
Fix issue where keychain github credentials wouldn't work
2017-10-27lock.sh: suppress error output when looking for flockMichka Popoff
Fixes (on centos6): which: no flock in (/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
2017-10-26Fix issue where keychain github credentials wouldn't workThomas Andrew
2017-10-24github: require formula name to be in issue titleilovezfs
2017-10-20Merge pull request #3319 from reitermarkus/squiggly-heredocsMike McQuaid
Use “squiggly” heredocs.
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-17setup-ruby-path: Ensure that Ruby is installedShaun Jackman
Fix the error: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 372: exec: : not found
2017-10-08Clean up code style and remove `.rubocop_todo.yml`.Markus Reiter
2017-09-28Fix installing a local bottle from sourceShaun Jackman
Factor Utils::Bottles.formula_contents out of BottleLoader.
2017-09-27receipt_path: Ensure the bottle contains INSTALL_RECEIPT.jsonShaun Jackman
2017-09-25Merge pull request #3183 from MikeMcQuaid/rubocop-upgradeMike McQuaid
Rubocop: 0.50.0 and Ruby 2.3
2017-09-25portable-ruby: fix installation on Leopard.Mike McQuaid
Download it insecurely there and require `rubygems` for `Gem::Version`.
2017-09-24Rubocop: manual rule fixes.Mike McQuaid
2017-09-24utils/git: cache less aggressively.Mike McQuaid
This should avoid weird test ordering failures with specs on Linux (but there's no real reason this can't occur on macOS too).
2017-09-23utils/git: don't fail when CoreTap is untapped.Mike McQuaid
This produces test failures on Linux where we intentionally avoid having it tapped.
2017-09-23Merge pull request #3174 from sjackman/popen-optionsMike McQuaid
popen: Do not suppress stderr when HOMEBREW_STDERR
2017-09-22portable-ruby: improve installation messaging.Mike McQuaid
- Use “Pouring” to be more consistent with our normal messaging. - Don’t be silent by default.
2017-09-21Upgrade vendored Ruby to 2.3.3.Mike McQuaid
Use this version whenever 2.3.3 isn't installed. Also, remove the Linux portable Ruby for now until it's built to be the same version.
2017-09-20popen: Do not suppress stderr when HOMEBREW_STDERRShaun Jackman
2017-09-20popen: Add an options argumentShaun Jackman
Useful for selectively enabling or silencing stderr, for example. popen_read("foo", err: :err)
2017-09-19Revert "popen: Do not suppress stderr"ilovezfs
2017-09-18Merge pull request #3099 from sjackman/popen_read_stderrMike McQuaid
popen: Do not suppress stderr
2017-09-10Let `curl_download` handle HTTP 416 error.Markus Reiter
2017-09-08popen: Do not suppress stderr unless -d or -vShaun Jackman
2017-09-02Merge pull request #2955 from mansimarkaur/git_testsMike McQuaid
Added tests for utils/git
2017-08-31github: limit PR search to HomebrewDominyk Tiller
Not sure whether this is the way you want to handle this problem but it's really darn irritating so here's a PR that handles it one way. Fixes: https://github.com/Homebrew/brew/pull/3086#issuecomment-324519156
2017-08-29Merge pull request #2950 from mansimarkaur/svnMisty De Meo
Added tests for utils/svn
2017-08-29Used already existing clear_git_available_cache to remove @gitmansimarkaur
2017-08-29Modified clear_anonymous_os_prefix_ci_cachemansimarkaur
2017-08-29Added clear_anonymous_os_prefix_ci_cachemansimarkaur
2017-08-29Added clear_svn_version_cachemansimarkaur
2017-08-29Added check for svn availabilitymansimarkaur
2017-08-29Improved tests for svn_available?mansimarkaur
2017-08-27Added clear git version cache methodmansimarkaur