aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-01-09os/mac: add outdated_release? method.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-09formula_installer: improve empty installation detectionZhiming Wang
Use FormulaAuditor.audit_prefix_has_contents from audit.rb, which has better logic. Closes Homebrew/homebrew#47678. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-09tests: missing requires addedBaptiste Fontaine
Closes Homebrew/homebrew#47866. Closes Homebrew/homebrew#47861. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-09more utils testsBaptiste Fontaine
Closes Homebrew/homebrew#47856. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-09more diagnostic testsBaptiste Fontaine
2016-01-08update: abbreviate hashes to at least 7 charactersJoseph Frazier
Abbreviations will be longer if needed to preserve uniqueness. This makes it more consistent with `git rev-parse --short`, https://github.com/Homebrew/homebrew/commits, etc. For example, instead of: Updated Homebrew from 40d1e9c2 to 90b9bdf4. We see: Updated Homebrew from 40d1e9c to 90b9bdf. See 0c48248b6555353c8d60b61973639c8423ce586c for the original introduction of eight-character abbreviations.
2016-01-07a few more diagnostic checksBaptiste Fontaine
Closes Homebrew/homebrew#47769. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-06list: exclude Ruby from unbrewedMartin Afanasjew
Those are created by the `ruby` formula in core and various Ruby formulae from `homebrew/versions` and contain Gems and other stuff that is to be retained across updates. Treat it like Python in this regard. This avoids spurious output in `brew list --unbrewed` when a brewed `ruby` is used to, e.g., install Gems. Closes Homebrew/homebrew#47750. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-06list: exclude Homebrew logs from unbrewedMartin Afanasjew
Treat it like the cache, i.e., if the logs directory is inside the Homebrew prefix, skip it instead of listing all the logs. This avoids spurious output in `brew list --unbrewed` when the Homebrew logs directory is a subdirectory of the Homebrew prefix.
2016-01-06audit: typoBaptiste Fontaine
2016-01-06diagnostic testsBaptiste Fontaine
Closes Homebrew/homebrew#47760. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-06a few more integration testsBaptiste Fontaine
Closes Homebrew/homebrew#47714. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-06Common-Issues: add section for upgrading OS X.Patrick Way
Closes Homebrew/homebrew#47008. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-06manpage: document '--dry-run' for 'prune' commandMartin Afanasjew
2016-01-06manpage: add parentheses in 'search' synopsisMartin Afanasjew
For consistency with other commands where there is a list of mutually exclusive options of which exactly one has to be specified.
2016-01-06manpage: fix minor formatting inconsistenciesMartin Afanasjew
2016-01-06manpage: improve synopsis for 'options' commandMartin Afanasjew
The options `--all`, `--installed`, and a list of formulae are mutually exclusive arguments, of which exactly one is required.
2016-01-06travis: remove Ruby path tweakMartin Afanasjew
Putting the Ruby 1.8 we use to run tests on 10.9 into the PATH adversely affects formulae with a Ruby dependency (possibly other formulae, too). Remove this hack, as it is no longer needed. Closes Homebrew/homebrew#47694. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-06utils: inject Ruby path when running GemsMartin Afanasjew
Particularly the `bundler` Gem requires the right Ruby binary to be in the PATH to work correctly if the Ruby binary used to run Homebrew is overridden via `HOMEBREW_RUBY_PATH` and thus intentionally not prefixed to the PATH (as that would affect formulae with a Ruby dependency). The workaround here is to prefix this path only when a Gem is activated via `Homebrew.install_gem_setup_path!` (currently used in `brew man`, `brew style`, and `brew tests`).
2016-01-06kotlin: renamed from kotlin-compilerAlexander Udalov
Closes Homebrew/homebrew#47675. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-05gitignore: reorder, cleanup and document.Mike McQuaid
This new `.gitignore` format produces consistent/expected `git status` output with Git <2.7.0, Git >2.7.0 and libgit2 0.23.4. Closes Homebrew/homebrew#47721. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-05Revert "formula: pass sdk_path in std_cmake_args"Dominyk Tiller
This reverts commit 5896555e5352b5e4f16f583ea444942cd1fc56bd. It caused header-location issue on dual-developer-tool systems for certain formulae. Will need looking at again, but we'll probably have to try and do this a different way. Closes Homebrew/homebrew#47668.
2016-01-05download_strategy: don't do `tar v` on Travis CI.Mike McQuaid
The output is too noisy and Travis gets upset.
2016-01-05doctor: use respond_to? instead of NoMethodErrorBaptiste Fontaine
Closes Homebrew/homebrew#47715. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-05exceptions: hotfixBaptiste Fontaine
2016-01-05gitignore: fix Git 2.7.0 behaviour.Mike McQuaid
Closes Homebrew/homebrew#47710.
2016-01-05doctor: move code away from cmd/Baptiste Fontaine
Closes Homebrew/homebrew#47665. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-05integration tests: allow env overridingBaptiste Fontaine
2016-01-04tap: require string extensionsMisty De Meo
Fixes Homebrew/homebrew#47684.
2016-01-04doctor: add explicit anaconda warningDominyk Tiller
Closes Homebrew/homebrew#47540. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-04test: don't fail if GitHub API is unavailableMartin Afanasjew
Tests shouldn't fail in case of an unavailable network or a deliberately disabled access to the GitHub API. Closes Homebrew/homebrew#47670. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-04tests: use predefined commit author for robustnessMartin Afanasjew
Some tests, that construct a Git repository for testing, will silently fail if the global Git user isn't properly set up. There are valid use cases for this, thus use a fixed commit author/committer for all tests instead of relying on the user's configuration.
2016-01-04test: exhaustively test comparison of versionsMartin Afanasjew
This tests all possible combinations of alpha, beta, RC, regular, and patch versions. Also improves code coverage and partitions the version comparison tests into more uniform chunks. Closes Homebrew/homebrew#47669. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-04test: test popen_read and popen_write with blockMartin Afanasjew
2016-01-04update: avoid unnecessarily recreating 'master'Martin Afanasjew
This only affects the behavior of `brew update` while being on a branch `feature` that doesn't track the upstream branch. For simplicity, the upstream branch is assumed to be called `master` (`@upstream_branch` in the code). Consider the following simplified commit history: master origin/master (current state of remote) | | A---B---C---D---E---F \ G---H---I | feature (HEAD) If `origin/master` is equal to `master` and also points at commit `C`, then `brew update` will update both `master` and `origin/master` to `F` and report on the changes in the range `C..F`. However, if `origin/master` is equal to `E` because some commits have been already fetched with `git fetch origin`, then `brew update` will recreate `master` from `origin/master` and then pull in the commits from the remote to update both to `F`. Because `master` gets recreated from a younger `origin/master`, the report will only contain changes from the range `E..F` (thus omitting the changes from `C..E`). This commit adjusts the logic to not recreate `master` if it can be safely fast-forwarded to `origin/master` (the common case). This fixes the problem from the second scenario and again reports on the desired range `C..F`. Closes Homebrew/homebrew#46951. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-04formula: fix undefined method errorMateusz Lenik
Fixes: Homebrew/homebrew#47673. Closes Homebrew/homebrew#47672. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-04integration tests: fix failing testBaptiste Fontaine
If the test fails above `formula_file`’s definition this line fails because `formula_file` is `nil`. Closes Homebrew/homebrew#47663. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-04offlineimap: rename from offline-imapTomasz Pajor
Closes Homebrew/homebrew#47638. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-04cleanup: move code away from cmd/Baptiste Fontaine
Closes Homebrew/homebrew#47484. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-04download_strategy: untar verbosely when --verbose is presentZhiming Wang
Closes Homebrew/homebrew#47555. Closes Homebrew/homebrew#47649. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-04utils: extend brewed_curl recommended usage to 10.8Dominyk Tiller
Closes Homebrew/homebrew#47646. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-04doctor: extend curl warningDominyk Tiller
2016-01-03config: split conditionalDominyk Tiller
Stops Rubocop moaning about one line conditionals. Closes Homebrew/homebrew#47537. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-03compilers: use comma consistentlyDominyk Tiller
2016-01-03languages/haskell: style nitsDominyk Tiller
2016-01-03language/haskell: wrap options in parensDominyk Tiller
Fixes: language/haskell.rb:65: warning: `*' interpreted as argument prefix
2016-01-03pathname: remove redundant spacingDominyk Tiller
2016-01-03pathname: become less introspectiveDominyk Tiller
These self references are unnecessary.
2016-01-03test_intergration_cmds: fix minor typoDominyk Tiller
2016-01-03test_intergration_cmds: paren-wrap regexDominyk Tiller
Fixes this `brew readall` warning: test_integration_cmds.rb:116: warning: ambiguous first argument; put parentheses or even spaces