aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
AgeCommit message (Collapse)Author
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
2016-10-15`puts_columns` only has to be defined inside `module Kernel`.Markus Reiter
2016-10-15Refactor `puts_columns`.Markus Reiter
2016-10-01Use Formatter for all URLs.Markus Reiter
2016-10-01Add `Formatter` module.Markus Reiter
2016-10-01Refactor Tty.Markus Reiter
2016-10-01analytics: don't report commands run by HomebrewAlyssa Ross
Fixes #788.
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-23Fix Style/ModuleFunction.Markus Reiter
2016-09-23Fix Style/IfUnlessModifier.Markus Reiter
2016-09-20Update documentation links.Mike McQuaid
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-16Move LinkedKegs/PinnedKegs/Locks from Library.Mike McQuaid
These don't make sense to be tied to the `HOMEBREW_REPOSITORY` but instead should live in the `HOMEBREW_PREFIX` as they all relate to its state.
2016-09-11utils/shell:Mike McQuaid
2016-09-11utils/shell: fix Rubocop warnings.Mike McQuaid
2016-09-11utils/inreplace: fix Rubocop warnings.Mike McQuaid
2016-09-11utils/hash: fix Rubocop warnings.Mike McQuaid
2016-09-11utils/github: fix Rubocop warnings.Mike McQuaid
2016-09-11utils/curl: fix Rubocop warnings.Mike McQuaid
2016-09-05Utils::Shell: convert to use module_functionMisty De Meo
2016-09-04Merge pull request #201 from gregory-nisbet/feature-env-shellsMike McQuaid
--env: support more shells, allow explicit shell selection