aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
AgeCommit message (Collapse)Author
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
2016-08-29bottles: translate foo@1.2 to foo:1.2Dominyk Tiller
2016-08-17utils/curl: assume Ruby 2.Mike McQuaid
2016-08-10move shell_profile to compat/utils.rb & deprecateGreg Nisbet
2016-08-10tests for shell-specific diagnostic messageGreg Nisbet
2016-08-10Multi-shell diagnostic checkGreg Nisbet
2016-08-10resolve conflict in diagnostic.rbGreg Nisbet
2016-08-10Enable vendored Ruby 2.0.Mike McQuaid
2016-08-09utils/analytics.sh: tweak output in debug modeMartin Afanasjew
Avoid some duplication (thereby also shortening line length) and put everything in a single string for output via `echo`.
2016-08-09analytics.rb: URL encode reported data.Mike McQuaid
2016-08-09analytics.*: use curl --data for readability.Mike McQuaid
2016-08-09analytics.*: output curl command in debug mode.Mike McQuaid
2016-08-08utils/analytics.sh: fix style inconsistenciesMartin Afanasjew
2016-08-05various: eliminate the usage of `any?` (#638)Xu Cheng
`any?` is not the opposite of `empty?`. Besides the case that `[false, nil].any?` will return false, `any?`(O(n)) has much worse performance than `empty?`(O(1)).
2016-07-29utils/bottles: don't rely on tar wildcards, location.Mike McQuaid
This doesn’t work quite as-is on Linux’s GNU tar.
2016-07-27bottles: more porting to generic layer.Mike McQuaid
2016-07-27utils/github: fix reverted order of credentialsMartin Afanasjew
We always return the token/password first and, if applicable, the user name is the second element in the returned array. Closes #581. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-27utils/github: fix broken pipe errorMartin Afanasjew
Closes #573.
2016-07-24analytics.sh: use full uuidgen path on OS X.Mike McQuaid
Fixes #575.
2016-07-18inreplace: support for audit arg in non-block formilovezfs
Provides feature parity between the block and non-block forms of inreplace by creating a four-argument version of the non-block form, where the fourth argument is an optional Boolean value, defaulting to true, which specifies whether a failed inreplace should cause an InreplaceError error to be raised. The fourth argument is passed along to StringInreplaceExtension#gsub!, which already supports an optional audit_result argument. This resolves the Catch-22 that single replacements aren't permissible in the block form (in that they now cause `brew audit` to complain), but the audit_result argument is not available in the non-block form. Closes #552. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-07-15ENV: move to new paths. (#507)Mike McQuaid
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
2016-07-12github: produce better curl error messages. (#441)Mike McQuaid
* global: add RUBY_TWO global variable. * test-bot: use RUBY_TWO global variable. * github: produce better curl error messages. If we don't know why curl has failed then ensure that the error messages that it produced are included as part of the user output.
2016-07-12ruby.sh: allow forcing the usage of the vendored Ruby.Mike McQuaid