aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-08-10os/mac/ruby_keg: improve error reportingMartin Afanasjew
A failure to change a dylib ID or install name would previously cause a rather cryptic error message, that didn't include the name of the file that caused the failure, unless `--debug` was specified. Make sure to output this information in all cases before re-raising the exception.
2016-08-10Ship Homebrew auto-update support.Mike McQuaid
Roll this out to everyone (not just developers) and document the environment variables used for configuration.
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-10xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-08-10Improve formula not found handling (#96)Misty De Meo
2016-08-10formulary: fix to_rack for fully-scoped referencesMike McQuaid
Fixes the case where I have `mysql56` installed but do `brew uninstall foo/bar/mysql56` which isn't a valid formula. Fixes https://github.com/Homebrew/legacy-homebrew/issues/39883.
2016-08-10diagnostic: remove MacGPG2 checkDominyk Tiller
This hasn't been an issue for upstream stable releases for 3 years, since March 2013, and hasn't been an issue for pre-release versions for 4 years. That release, and indeed the latest modern GPGTools releases, support 10.6 and above so there's no reason to suspect people are actually encountering the old versions in the wild with enough regularity to merit this being a permanent part of our codebase any more. In the last two years Homebrew has seen one Issue where MacGPG2 was the problem, and that wasn't reproducible at the time (and still isn't), and the `doctor` check likely wasn't even raised there. There has only been one Issue where the MacGPG2 `doctor` check was raised in that two year period. I think it's fair to treat this as an user configuration outlier now rather than an issue we need to be constantly on guard for. Ref: Homebrew/legacy-homebrew@dfb171b Ref: Homebrew/legacy-homebrew#12238 Ref: Homebrew/legacy-homebrew@046498b
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-09update: suppress warning about missing FETCH_HEADMartin Afanasjew
Fixes #671.
2016-08-09formula_installer: report --HEAD/--devel usage.Mike McQuaid
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-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-09formula_installer: tweak dependent requirements.Mike McQuaid
If a requirement is for a dependent that's already installed and that dependency is not using a `default_formula` (which would have already been converted from a `Requirement` to `Dependency` at this stage) then we want to stop it killing the build.
2016-08-09formula_installer: prevent MaximumMacOSRequirement leakageDominyk Tiller
Read the discussion in https://github.com/Homebrew/homebrew-core/pull/3703. If you have a better idea, please file a competing PR. I'm sick to death of discussion. Closes #662. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-08-09test-bot: never auto-update.Mike McQuaid
2016-08-08tests: extend cmd/install integration testAndrea Kao
Closes #626. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-08-08tests: refactor installation, renaming of CoreTap formulaAndrea Kao
2016-08-08tests: check all our Bash code for syntax errorsMartin Afanasjew
Additionally include our bootstrap code in `brew.sh`, Bash utilities in `utils.sh` and `utils/*.sh`, `superenv` shims, and the Bash completion. Closes #654. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-08-08utils/analytics.sh: fix style inconsistenciesMartin Afanasjew
2016-08-08shims/sed: fix style inconsistenciesMartin Afanasjew
2016-08-08shims/pod2man: fix style inconsistenciesMartin Afanasjew
2016-08-08shims/mig: fix style inconsistenciesMartin Afanasjew
2016-08-08shims/make: fix style inconsistenciesMartin Afanasjew
2016-08-08shims/bsdmake: fix style inconsistenciesMartin Afanasjew
2016-08-08shims/apr-1-config: fix style inconsistenciesMartin Afanasjew
2016-08-08shims/ant: fix style inconsistenciesMartin Afanasjew
2016-08-08cmd/vendor-install.sh: fix style inconsistenciesMartin Afanasjew
2016-08-08cmd/update.sh: fix style inconsistenciesMartin Afanasjew
2016-08-08brew.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-08tap: allow Homebrew developers to tap broken taps.Mike McQuaid
2016-08-08formula_installer: better handle missing conflict.Mike McQuaid
Doesn't feel like a good reason to abort installation for users if the formula author has specified a conflict that doesn't exist. Instead, behave more like the `TapFormulaUnavailableError` but print a message telling people to report to the formula authors. Closes https://github.com/Homebrew/homebrew-versions/issues/1327
2016-08-08test_integration_cmds: non-OS X skip cask/servicesMike McQuaid
2016-08-08test/.rubocop.yml: fix check category.Mike McQuaid
2016-08-08Revert "test-bot: don't run cmd taps generic tests."Mike McQuaid
This reverts commit 24f7e671317dfe22f1d8e10426db2e9074674bc9.
2016-08-08test-bot: don't run cmd taps generic tests.Mike McQuaid
2016-08-08tests: add cmd/test integration testAndrea Kao
2016-08-08bump-formula-pr: format documentation for --help.Steven Peters
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-06Cache outdated_versions for FormulaVlad Shablinsky
Closes #584. Signed-off-by: Xu Cheng <xucheng@me.com>
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-06test_formula: add outdated_versions testsVlad Shablinsky
2016-08-06formula: detect outdated HEAD in outdated_versionsVlad Shablinsky
2016-08-06formula: don't return outdated head in installed_prefixVlad Shablinsky