aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-01-20tests: cmd/edit & cmd/info tests addedBaptiste Fontaine
2016-01-20sh: flush stdout before executing the shellBaptiste Fontaine
Closes Homebrew/homebrew#48268. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-20diagnostic: fix autoconf checkMartin Afanasjew
Xcode can only provide autotools if it is installed, thus check that first. Skipping this check will try to compare a `nil` Xcode version to 4.3, the first version of Xcode to not provide autotools. Fixes Homebrew/homebrew#48208. Closes Homebrew/homebrew#48278. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-20brew.rb: fix style problemXu Cheng
Generated by `brew style --fix Library/brew.rb`
2016-01-20brew.rb: fix overeager help flag matchingXu Cheng
2016-01-20brew: remove duplicated logicXu Cheng
This is now handled by `bin/brew`
2016-01-19os/mac: use start_with? when possibleBaptiste Fontaine
Closes Homebrew/homebrew#48071. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-19keg: mkpath on lua sharesDominyk Tiller
Closes Homebrew/homebrew#48134.
2016-01-19Revert "formula_installed: tweak source build behaviour."Mike McQuaid
This reverts commit 5dd200c6b40f4fa9cc3a70cbc9ca2885e4626943. Closes Homebrew/homebrew#47889.
2016-01-19tests: rm the coverage cache before each runBaptiste Fontaine
Closes Homebrew/homebrew#48209. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-18Remove cleanup --force from bash completionMisty De Meo
2016-01-18Update manpage to remove cleanup --forceMisty De Meo
2016-01-18Permit cleanup to remove outdated keg-only formulaeMisty De Meo
This check is not really relevant anymore; old-style, pre-opt installs date from 2012 at the very latest, so it is very unlikely that any packages remain which still link against these. Refs Homebrew/homebrew#48139.
2016-01-18Revert "Revert "dependency: don't recurse infinitely.""Mike McQuaid
This reverts commit fa43883dd1cd82f234b79c4a322339f03b9c098d. Closes Homebrew/homebrew#48187.
2016-01-18formula: output recommended/optional deps in JSON.John Zeringue
Fixes Homebrew/homebrew#47914 by distinguishing between required, optional, and recommended dependencies when using `brew info --json=v1`. This is done by adding the `optional_dependencies` and `recommended_dependencies` fields to the JSON output. A good example of this fix is `brew info --json=v1 dtrx`. Closes Homebrew/homebrew#48196. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-18diagnostic: update check for findutils.Josh Bode
Check for non-prefixed findutils in path via gnubin symlinks or directly Closes Homebrew/homebrew#46987. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-17diagnostic: note El Capitan upgrade permissions.Grant Hutchins
On all of the machines I have upgraded to OS X El Capitan, my /usr/local directory has changed ownership. Since this message shows up as an error during `brew update`, I figured it would be good to beef up the explanation. Closes Homebrew/homebrew#44670. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-17Search also in Caskroom/versions TapTommy Sparber
Extending the current search functionallity to search in https://github.com/caskroom/homebrew-versions Closes Homebrew/homebrew#47954. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-17test_edit: HOMEBREW_EDITOR takes precedence over EDITORMisty De Meo
2016-01-17Revert "dependency: don't recurse infinitely."Mike McQuaid
This reverts commit 16ffbe1a2b2d99da42481dc50f70dbfee4472da6.
2016-01-17dependency: don't recurse infinitely.Mike McQuaid
If we have a dependency cycle ensure that infinite recursion does not result by storing state in a stack which we push/pop from for each level of recursion and verify that we haven’t been through this dependency already. Closes Homebrew/homebrew#47933. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-17formula_installer: build formula options better.Mike McQuaid
Previously we got all the options based on the build, any inherited options, any passed options and the tab. We want to make sure that these then exclude any options that don't exist as, otherwise, passing an option that doesn't exist (or has been deleted) is enough to stop a bottle being poured. This was particularly nasty on upgrades where we deleted options and one left in the tab would stop the bottle being poured. Closes Homebrew/homebrew#47891. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-17formula_installed: tweak source build behaviour.Mike McQuaid
Currently `brew install —build-from-source wget` builds all the dependencies also from source. I can see people wanting to do this when `HOMEBREW_BUILD_FROM_SOURCE` is set by passing it on the command-line is mostly just annoying; it means you have to use `—build-bottle` and deal with the CFLAGS and `post_install` changes if you want to build from source. Tweak `formula_installer` so this behaviour is more intuitive. Closes Homebrew/homebrew#47889. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-17test_bash: tests to assert Bash syntax is valid.Mike McQuaid
Closes Homebrew/homebrew#47380.
2016-01-17Add new update-bash command for testing.Mike McQuaid
This will become the default updater at a later point in the future.
2016-01-17Move some brew.rb logic to bin/brew.Mike McQuaid
2016-01-17bin/brew: set more HOMEBREW_* env from Bash.Mike McQuaid
2016-01-17Rubocop: upgrade to version 0.36.0Bob W. Hogg
Stop using Style/TrailingComma as it is no longer recognized and start using Style/TrailingCommaInArguments and Style/TrailingCommaInLiteral instead. Closes Homebrew/homebrew#48144. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-17test-bot: change directory for git rev-parse --verifyXu Cheng
2016-01-17audit_revision: only check 10 recent related commitsXu Cheng
It helps to reduce overhead. Closes Homebrew/homebrew#48108. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-17FormulaVersion: support max depthXu Cheng
2016-01-17audit: imporve revision check logicXu Cheng
* Check revision decrease against both stable and devel spec. * Check revision reset only for stable spec if stable spec is available.
2016-01-17test-bot: prevent formula building from source multiple timesXu Cheng
After formula updates its bottle block, remove itself from changed formulae list. Therefore, if it's requested next time as dependency, it will be installed from bottle just created. Closes Homebrew/homebrew#48121. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-17test-bot: all formula name are canonical nowXu Cheng
2016-01-17test-bot: always use canonical formula nameXu Cheng
Otherwise, we may get incorrect result when preforming set operations on list of formula names.
2016-01-17Tap: allow invoking formula_file_to_name by Homebrew internallyXu Cheng
2016-01-17test-bot: simplify Test#gitXu Cheng
2016-01-17test-bot: remove dead codeXu Cheng
2016-01-17test-bot: simplify Test#initializeXu Cheng
2016-01-16tests: bump the min. coverage to 60Baptiste Fontaine
2016-01-16tests: more integration testsBaptiste Fontaine
Closes Homebrew/homebrew#48124. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-15superenv: properly filter gcc-4.2 flagsMisty De Meo
These weren't being filtered correctly if the compiler was being called as g++ instead of gcc. Fixes mistydemeo/tigerbrew#371.
2016-01-15unpack: preserve file attributes like mtimeXu Cheng
Closes Homebrew/homebrew#48068. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-15test_download_strategies: add mtime testXu Cheng
2016-01-15bottle: read source modified time from tabfileXu Cheng
* Avoid unnecessary stage overhead * Support different download strategy, e.g. `git`.
2016-01-15build: store source modified time in tabfileXu Cheng
2016-01-15download_strategy: add source_modified_timeXu Cheng
2016-01-15tab: add source modified time metadataXu Cheng
2016-01-14formula_versions: include devel in revision mapDominyk Tiller
2016-01-14test-bot: fix missing ?Xu Cheng