aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2017-06-02formula_installer: display full upgrade version.Mike McQuaid
Previously this omitted the revision which meant the currently installed and upgrade version showed as the same.
2017-06-02search: don’t exclude Caskroom results even if tapped.Mike McQuaid
As they are not shown in the normal `brew search` output.
2017-06-02install: fix cask install with env filtering.Mike McQuaid
With `HOMEBREW_ENV_FILTERING` simply running `brew` is not sufficient to find `brew cask` so the full path needs to be passed.
2017-06-02brew.rb: use HOMEBREW_PATH for external commands.Mike McQuaid
They shouldn’t need to handle our environment filtering on the PATH as we’re essentially breaking an API for them otherwise.
2017-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-06-02Merge pull request #2714 from choco/stty-widthMike McQuaid
Use stty instead of tput to get terminal width
2017-06-02Use stty instead of tput to get terminal widthEnrico Ghirardi
Fixes https://github.com/Homebrew/brew/issues/2707
2017-06-02Merge pull request #2664 from GauthamGoli/audit_caveats_rubocopMike McQuaid
audit: Port audit_caveats method to rubocop and add tests
2017-06-02Merge pull request #2717 from orangea/brew-edit-fixMike McQuaid
don't try to find the full path of the editor in 'brew edit'
2017-06-01don't try to find the full path of the editor in 'brew edit'adrian
fixes #2709
2017-06-01language/node: adjustments for npm 5.0.xDominyk Tiller
Goes with: https://github.com/Homebrew/homebrew-core/pull/14085
2017-06-01Try moving back to `Library/Homebrew/test`.Markus Reiter
2017-06-01Move `.codecov.yml` to root.JCount
also, unignore it.
2017-06-01Revert "Fix operator spacing."ilovezfs
2017-06-01Fix curl invocation in Hbc::DSL::Appcast.Kiyoshi '13k' Murata
Fixes #2592
2017-05-31Fix operator spacing.Markus Reiter
2017-05-31audit: Port audit_caveats method to rubocop and add testsGautham Goli
2017-05-31Merge pull request #2697 from mistydemeo/cask_fix_cabextractMisty De Meo
cabextract: WARNING lines aren't fatal
2017-05-31Merge pull request #2700 from sjackman/env-std-linuxMike McQuaid
Stdenv: Add ENV.libxml2 and ENV.x11 for Linux
2017-05-30cabextract: remove -t testMisty De Meo
The warnings this prints makes it not especially helpful, so just assume the magic number test and job failure are enough. Fixes #2689.
2017-05-30vendor-install: use Ruby as a sha256 fallbackMisty De Meo
But still prefer shasum/sha256sum where present.
2017-05-30Pathname: use Digest::SHA256 aliasMisty De Meo
Digest::SHA2 wasn't exposed under that name in older versions of Ruby.
2017-05-30Merge pull request #2704 from MikeMcQuaid/jenkins-brew-shMike McQuaid
Update jenkins.brew.sh links.
2017-05-30Update jenkins.brew.sh links.Mike McQuaid
These previously, incorrectly pointed to bot.brew.sh. Fixes #2703.
2017-05-30Stdenv: Add ENV.libxml2 and ENV.x11 for LinuxBob W. Hogg
Add ENV.libxml2 primarily for the use of test do blocks. Add a dummy ENV.x11 function. See Linuxbrew/brew#356 and Linuxbrew/brew#382
2017-05-30Use relevant methods to consolidate logic in text_cop.rbGautham Goli
2017-05-30Refactor and add more methods in formula_cop.rbGautham Goli
2017-05-30audit: Port audit_text method to rubocop and add testsGautham Goli
2017-05-30Add methods in FormulaCop to find method nodes, dependency nodesGautham Goli
2017-05-30Fix Linux buildMike McQuaid
Remove `testbottest` formula (this should have lived in the `brew test-bot` repository from the outset) and make various other changes to fix the Linux build here.
2017-05-30Merge pull request #2695 from MikeMcQuaid/pin-bundler-versionMike McQuaid
tests: install specific Bundler version.
2017-05-29check_non_libraries: fix false positive subdirectory reportsMisty De Meo
2017-05-29tests: install specific Bundler version.Mike McQuaid
Otherwise `brew tests` fails with the latest. See the failing Homebrew/homebrew-test-bot `master` build as an example.
2017-05-29Fixup all RuboCop warnings.Mike McQuaid
2017-05-29Use parallel RuboCopMike McQuaid
This requires updating to Rubocop 0.49.0 which will require some fixes to rules, in Homebrew/brew and Homebrew/homebrew-core but opening this for now so I remember.
2017-05-29Merge pull request #2663 from reitermarkus/lockfileMarkus Reiter
Convert `FormulaLock` to more generic `LockFile`.
2017-05-29Use `Formatter::pluralize` where possible.Markus Reiter
2017-05-29update-test: tweak more edge cases.Mike McQuaid
Don't try to `fetch --depth=1` unless we've confirmed the repository is already shallow. Otherwise this can discard history from a full clone. Additionally, if the repository wasn't shallow but there's no tags found assume that Git is too old and try a naive sort if on Linux where `sort` is able to sort versions.
2017-05-29update-test: improve no tags found messaging.Mike McQuaid
Currently you just get `Could not find start commit!` which is not as explicit as it could be.
2017-05-29Merge pull request #2682 from MikeMcQuaid/improve-installed-messagingMike McQuaid
Improve some `brew install` messaging.
2017-05-29Merge pull request #2687 from issyl0/fix_formula_description_regexMike McQuaid
Match the "formula name in description" on word boundaries
2017-05-29Remove unused `popen_read_text` method.Markus Reiter
2017-05-29Use `XDG_CACHE_HOME` for RuboCop.Markus Reiter
2017-05-29Match the "formula name in description" on word boundariesIsabell Long
- The regexp for the "check if formula name is used in formula's description" cop matches every instance of the formula name if it exists, whether it's in a word or not. - For example, the formula `mon` has the description "Monitor hosts/services/whatever and alert about problems". This makes `brew audit --strict` complain because it matches "Monitor", which isn't the formula name! The formula `pass` has the description "Password manager". Again, the strict audit matches "Password", which isn't an issue. - Instead, this change matches on a word boundary, so it will match `mon:`, or `mon `, but not "Monitor", or, for example, "harmony". - I've changed the tests to account for this change.
2017-05-27diagnostic: move some more macOS doctor checks.Mike McQuaid
Move some `brew doctor` checks that are pretty macOS specific so they are only run on macOS.
2017-05-27Improve some `brew install` messaging.Mike McQuaid
Improve the messaging around `brew install` when there's a possible user action such as an `upgrade` or `link` and don't tell people to `install --force` when it's unnecessary. While I did this, tweak the output and function usage in a couple of related places. Some example output before this change: ``` Warning: openssl is a keg-only and another version is linked to opt. Use `brew install --force` if you want to install this version Warning: mysql@5.6 is a keg-only and another version is linked to opt. Use `brew install --force` if you want to install this version Warning: analog-6.0_1 already installed Warning: bash-completion@2-2.5 already installed, it's just not linked. ``` Some example output after this change: ``` Error: openssl 1.0.2k is already installed To upgrade to 1.0.2l, run `brew upgrade openssl` Warning: mysql@5.6 5.6.36_1 is already installed Warning: analog 6.0_1 is already installed Warning: bash-completion@2 2.5 is already installed, it's just not linked. You can use `brew link bash-completion@2` to link this version. ```
2017-05-25Merge pull request #2624 from mistydemeo/use_python_flockMisty De Meo
Use Python's flock instead of Ruby's
2017-05-25Use `LockFile` instead of `Hbc::Utils::file_locked?`.Markus Reiter
2017-05-25Rename `FormulaLock` to `LockFile`.Markus Reiter
2017-05-24Also move `--binarydir` to `compat/*`.Markus Reiter