aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
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
2016-08-06formula: add new HEAD methodsVlad Shablinsky
* add `latest_head_version` to return latest HEAD version installed * add `latest_head_prefix` to return Pathname with latest HEAD version * add `head_version_outdated?` to check if HEAD version is up-to-date
2016-08-06Apply and add new download strategy testsVlad Shablinsky
2016-08-06download_strategy: use short hash for mercurialVlad Shablinsky
2016-08-06download_strategy: allow to suppress outputVlad Shablinsky
2016-08-06Introduce GitHubGitDownloadStrategyVlad Shablinsky
2016-08-06Add tests for Tab versionsVlad Shablinsky
2016-08-06tab: allow to store versionsVlad Shablinsky
2016-08-06Fix update commit for non-HEAD kegs with head spec (#644)Uladzislau Shablinski
If we try to call `Formulary.from_keg(f, :head)` on the keg that is not HEAD-keg itself, we don't need to update commit of returned formula and should use just HEAD version with nil commit. Same is true for `ARGV.resolved_formulae`