aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
AgeCommit message (Collapse)Author
2017-08-11Donโ€™t pass `--fail` for `curl_output`.Markus Reiter
2017-08-10`curl_download`: Retry once on error `33`.Markus Reiter
2017-08-08Allow `curl` args to be overriden.Markus Reiter
2017-08-08Simplify CurlDownloadStrategy.Markus Reiter
2017-08-07Revert "Refactor SVN and cURL download strategies."ilovezfs
2017-08-07Simplify CurlDownloadStrategy.Markus Reiter
2017-07-27Use https for all docs.brew.sh links.Mike McQuaid
May as well use the more secure link when possible.
2017-06-24๐Ÿ—‘๏ธ Use AppleScript instead of Swift for trashing.Markus Reiter
2017-06-20Add `trash` util.Markus Reiter
2017-06-19Merge pull request #2778 from jasonkarns/tap-full-nameMike McQuaid
refactor: DRY up redundant formulations of {#user}/homebrew-{#repo}
2017-06-19Tap learns to form its own full_nameJason Karns
full_name is formed from `{user}/homebrew-{repo}` and is always lowercase.
2017-06-12Autocorrect Rubocop Style/SpecialGlobalVars.Mike McQuaid
2017-06-09BuildError: report options to analytics.Mike McQuaid
Without this it's not easy to make much sense of these failures.
2017-06-07analytics: remove unused analytics.Mike McQuaid
We didn't end up using the `screenview` and `exception` analytics as much as expected so let's remove them and focus on stuff that's formula-specific.
2017-06-07tty: handle non-tty stdin.Mike McQuaid
When stdin is not a tty then the message `stty: stdin isn't a terminal` will be produced. Silence this message and fall back to `tput` when it fails and default to 80 if we get no results at all. Follow-up from #2714.
2017-06-02Use stty instead of tput to get terminal widthEnrico Ghirardi
Fixes https://github.com/Homebrew/brew/issues/2707
2017-05-29Use `Formatter::pluralize` where possible.Markus Reiter
2017-05-29Remove unused `popen_read_text` method.Markus Reiter
2017-05-24lock: simplify ruby conditionalMisty De Meo
2017-05-23lock: check tools are executableMisty De Meo
2017-05-23Optionally use Python's flock instead of Ruby'sMisty De Meo
Ruby first gained flock in 1.8.7, which is a problem since we're using this lock utility in `vendor-install` in order to install a newer Ruby. Fortunately, Python 2.3(!) has flock support.
2017-05-22Add audit check to see if both version and checksum changed.Markus Reiter
2017-05-08Remove `to_s` from some `Pathname`s.Markus Reiter
2017-04-25Remove unnecessary block.Markus Reiter
2017-04-25Add `GitHub::search_code` method.Markus Reiter
2017-04-23Fix and remove various TODOs.Mike McQuaid
Fix those that can be done so without tearing Homebrew to pieces and remove the comments for those that can never be done.
2017-04-22More deprecations.Mike McQuaid
Deprecate more methods. Internal APIs have been verified to be unused elsewhere and removed. External APIs have had deprecation methods added. Existing deprecations have been either upgraded to produce warnings or no longer deprecated and the reasoning documented.
2017-03-23github: don't print when searching PRs.Mike McQuaid
2017-03-11Deprecate `#plural`.Markus Reiter
2017-03-11Add `Formatter::pluralize`.Markus Reiter
2017-02-27Merge pull request #1708 from joshka/feature/install-tap-cmd-completionsMike McQuaid
install tap cmd completions
2017-02-26Install tap command completions and manpagesJoshua McKinney
Taps can include completion scripts for external commands under `completions/bash`, `completions/fish`, or `completions/zsh`. `brew tap` will automatically install these into the correct directories during install.
2017-02-20Added support for returning HTTP status codes and for git and svn URLsDavid Broder-Rodgers
2017-01-12InreplaceError: fix undefined method crashilovezfs
When the first parameter to inreplace was an array, and the replacement failed, InreplaceError would end up crashing with an undefined method exception because the order of operations resulted in super not being passed the value of the entire inject block.
2017-01-07Allow `brew audit` to fake a Safari user-agent.Mike McQuaid
This allows us to detect if homepages such as e.g. `aiccu` which blocks `curl` are up or not.
2017-01-04Use docs.brew.sh links.Mike McQuaid
2016-12-29curl: make curl_args more configurable.Mike McQuaid
Allow configuring whether output should be shown or the default the default user agent is used.
2016-12-11analytics: don't raise if tap doesn't exist.Mike McQuaid
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-11-20compat: deprecate Utils::JSON in favor of corelib JSON.William Woodruff
2016-11-17utils/json: Replace OkJson with Ruby's core JSON.William Woodruff
Removes OkJson from vendor/, as Ruby has included its own JSON parser in corelib since 1.9.x and Homebrew is now guaranteed to be running on 2.x+.
2016-11-11Check the lock directory is writable.Mike McQuaid
And, if it isn't, print more helpful debugging messages. Fixes #1456.
2016-10-30Improve GitHub API scopes output.Mike McQuaid
Improve the GitHub API scope and token related messaging by autopopulating the scopes we need on the new scopes page and, in the case of a lacking a scope we need, output what scope was required. Also, DRY up the personal access token code.
2016-10-26Redirect stderr output from git (shim) invocations to /dev/null.William Woodruff
These invocations occur before we can actually automatically install git via bottle, and as such their output isn't relevant.
2016-10-22Update Rubocop style.Mike McQuaid
Another look at the current Rubocop rules and how they fit with our existing and desired future style. Almost all of these changes were automatic. Split some rules between formulae/brew where brew doesn't have millions of cases that need fixed.
2016-10-17Formatter: identifier: only reset color, not full stylingAndrew Janke
2016-10-15Move `Formatter.columns` into `utils/formatter`.Markus Reiter
2016-10-15Convert `puts_columns` to `puts Formatter.columns`.Markus Reiter
2016-10-15Use `proc` to fallback to `puts`.Markus Reiter
2016-10-15Fallback to `$stdout.tty?` unless `respond_to?(:tty?)`.Markus Reiter