aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2016-08-18formula_versions: add version_attributes_map.Mike McQuaid
This allows querying multiple attributes in the same way as `revision_map` did but without duplicating code or repeatedly traversing history.
2016-08-17Merge pull request #724 from MikeMcQuaid/assume-ruby-twoMike McQuaid
Assume Ruby 2
2016-08-17cmd/audit: assume Ruby 2.Mike McQuaid
2016-08-17Prepare for Homebrew Cask to be imported.Mike McQuaid
- ignore Cask's files in `readall` (for now, there's an intentional syntax error that will need fixed) - run Cask's tests if they exist - don't check Cask's files in coverage reports (for now)
2016-08-17Merge pull request #713 from MikeMcQuaid/ship-sandboxMike McQuaid
Enable sandbox by default for homebrew/core
2016-08-17Fix minor issues in command help text formattingMartin Afanasjew
- Inconsistent or unneeded indentation - Missing or superfluous empty lines - Missing or wrongly formatted arguments in command summary - Missing punctuation
2016-08-16doctor: print check on --debug.Mike McQuaid
2016-08-16Merge pull request #710 from MikeMcQuaid/list-manpage-tweaksMike McQuaid
list: note that `ls` command is used.
2016-08-16Merge pull request #513 from MikeMcQuaid/enable-vendor-rubyMike McQuaid
Enable vendored Ruby 2.0.
2016-08-15cmd/postinstall: use Sandbox.formula? method.Mike McQuaid
2016-08-15cmd/test: use Sandbox.test?Mike McQuaid
2016-08-14pull: loosen Jenkins Testing URL.Mike McQuaid
2016-08-14list: note that `ls` command is used.Mike McQuaid
And arguments can be passed through to it. Tweak produced out of conversation in https://github.com/Homebrew/brew-evolution/pull/8.
2016-08-14Merge pull request #703 from MikeMcQuaid/search-remove-cacheMike McQuaid
search: remove thread-unsafe Hash cache.
2016-08-14Merge pull request #689 from MikeMcQuaid/update-forceMike McQuaid
update: add --force argument.
2016-08-13pull: non-core tap support for Homebrew Testing jobsilovezfs
`test-bot --ci-testing` supports a `--tap` option for non-core taps, so `brew pull` should too when pulling Homebrew Testing jobs.
2016-08-12search: remove thread-unsafe Hash cache.Mike McQuaid
Doesn't appear to affect the speed of `brew search`. Fixes #415.
2016-08-12update: add --force argument.Mike McQuaid
Add a `brew update --force` to side-step all of the clever optimisations we have to detect if an update is unnecessary. That means if those optimisations go wrong in future we can tell people just to run this single command. This would have been a useful workaround for the issue fixed in 985c672.
2016-08-11update.sh: prevent overwriting UPSTREAM_BRANCH.Mike McQuaid
UPSTREAM_BRANCH was being used both as a loop variable name and name for the upstream branch for HOMEBREW_REPOSITORY. This meant that the variable names were overwritten which prevented update. Closes #693.
2016-08-11update.sh: further tweak update fix.Mike McQuaid
2016-08-11update.sh: check upstream SHA prefetch not local.Mike McQuaid
Otherwise this can prevent taps from being updated as expected.
2016-08-11Update --fetch-HEAD documentationVlad Shablinsky
2016-08-10tests for shell-specific diagnostic messageGreg Nisbet
2016-08-10resolve conflict in diagnostic.rbGreg Nisbet
2016-08-10Enable vendored Ruby 2.0.Mike McQuaid
2016-08-10update.sh: all configurable HOMEBREW_AUTO_UPDATE_SECS.Mike McQuaid
2016-08-10Tweak HOMEBREW_NO_AUTO_UPDATE handling.Mike McQuaid
This can just live in `brew.sh` and then it doesn’t need repeated in all the other places.
2016-08-10update.sh: further speed up `brew update`.Mike McQuaid
Tweak the logic further to make the no-op case even faster. Before: ``` brew update 1.10s user 1.05s system 92% cpu 2.325 total brew update --preinstall 0.60s user 0.77s system 96% cpu 1.433 total ``` After: ``` brew update 0.60s user 0.34s system 83% cpu 1.132 total brew update --preinstall 0.29s user 0.24s system 62% cpu 0.860 total ``` These times are now fast enough to avoid any further special-casing for `--preinstall`, roll it out to users by default and not print a message unless we've actually found some updates.
2016-08-10Improve formula not found handling (#96)Misty De Meo
2016-08-09update: suppress warning about missing FETCH_HEADMartin Afanasjew
Fixes #671.
2016-08-09update: don't recheck taps checked in the last 1m.Mike McQuaid
This is less than ideal but it gets the time on my machine down from ~6s to ~2s when checking no taps. It still shows that we're doing way more in `update.sh` than we need to be doing but that's a future PR.
2016-08-08cmd/vendor-install.sh: fix style inconsistenciesMartin Afanasjew
2016-08-08cmd/update.sh: fix style inconsistenciesMartin Afanasjew
2016-08-08search: fix repositories with formulae and casks.Mike McQuaid
e.g. Caskroom/homebrew-cask. Thanks to UniqMartin for the fix. Fixes #655.
2016-08-08audit: enforce include method placementDominyk Tiller
Closes #648. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-08-08audit: enforce conflicts_with placementDominyk Tiller
2016-08-06Update upgrade/outdated documentation (#650)Uladzislau Shablinski
2016-08-06Update upgrade/outdated methods for head versionsVlad Shablinsky
Introduce `--fetch-HEAD` option. Without this option upgrade and outdated never fetch latest upstream commit to detect if HEAD is outdated -- tabs are used instead. However, if option is passed, we fetch commit from upstream, which is more time consuming, but we can be sure that version is up-to-date or outdated.
2016-08-05update-report: tweak Cask migration output.Mike McQuaid
No longer output every cask under the list of changed formulae but instead create a dedicated, unprinted report section for casks and then iterate through that instead.
2016-08-05update-report: print developer exception backtraces.Mike McQuaid
2016-08-05Revert "Partially reverts 4338f35b848ad61462fc4f73e1365e6c002201a2"Mike McQuaid
This reverts commit b33b1af073979c8a699ed9688dba37fb7e74f0b5.
2016-08-05Partially reverts 4338f35b848ad61462fc4f73e1365e6c002201a2Xu Cheng
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-08-04tap: add cask methods.Anastasia Sulyagina
2016-08-02audit: add --new-formula option.Mike McQuaid
Rather than nudge people to run `--strict` and then ignore some of the results sometimes (e.g. GitHub repository notability) instead add a dedicated `--new-formula` option that implies this is a one-time advisory check.
2016-08-02update-report: use --overwrite to migrate Casks.Mike McQuaid
`--force` isn't quite what we want here as it'll just allow keg-only linkage whereas we want to ensure we overwrite anything the Cask installed.
2016-08-02update-report: allow Casks migration to formulae.AnastasiaSulyagina
Closes #588. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-08-02update-report: tweak cask migration text.Mike McQuaid
2016-07-31link: don't allow more openssl/libressl linkage.Mike McQuaid
This extends the approach in #597 to further prevent linkage of formulae that conflict with the system OpenSSL and can cause the issues described in that issue.
2016-07-29Add missing development_tools requires.Mike McQuaid