aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
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
2016-01-14test-bot: always return tap objectXu Cheng
Also simplify the code and add Travis auto detect. Closes Homebrew/homebrew#48060
2016-01-14brew: tap missing tap as normal userXu Cheng
Before this, `sudo brew cask` will auto install Homebrew cask as root user. This will cause permission problem for files in `Tap` directory. Therefore, let's check process uid and switch to normal user for tap. As result, `sudo brew cask` will work as the same before, except tap files will have the correct permission attributes. Closes Homebrew/homebrew#48059. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-14audit: enforce revision checkXu Cheng
Add two checks: * revision should be reset to 0 for new version. * revision should not decrease inside the same version interval. Closes Homebrew/homebrew#48032. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-14audit: check url/checksum/mirror outside of stable blockXu Cheng
Closes Homebrew/homebrew#48033. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-14bottle: merging problem when head conatins commasbigbes
If `head` sections contains commas (e.g. `url "https://github.com/tarantool/tarantool.git", :branch => "1.6", :shallow => false`) then re thinks that it reached the end and inserts `bottle do <-> end` block before it, that leads to problems in ` brew audit --devel tarantool --strict --online`: ``` ==> audit problems tarantool: * `head` (line 11) should be put before `bottle block` (line 7) ``` It blocks Homebrew/homebrew#47495 Closes Homebrew/homebrew#47931. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-14gkrellm 2.3.5 (return from boneyard)Dominyk Tiller
Closes Homebrew/homebrew#48016. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-13Fix typo [ci skip]Satoshi Ohmori
Closes Homebrew/homebrew#48008. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-12p11-kit: boneyardAlex Dunn
Closes Homebrew/homebrew#47124. https://github.com/Homebrew/homebrew-boneyard/pull/88
2016-01-12test-bot: restore no-bottle supportDominyk Tiller
This feature is still quite useful, particularly because of the somewhat buggy behaviour of `default_formula` which means when attempting to build a bottle it'll attempt to force the installation of that formula. That is particularly problematic for taps like homebrew/homebrew-fuse because the `default_formula` in osxfuse conflicts with the osxfuse binary we install via the Caskroom, which is actively breaking every CI build. Closes Homebrew/homebrew#48000. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-12agedu: import from head-onlyBaptiste Fontaine
Closes Homebrew/homebrew#47967. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-12Fix built_as_bottle in Formula's to_hashilovezfs
This was caused by a "race" between two commits. bash-3.2$ git log -n1 --format=%ai 3344229 2012-08-15 22:08:40 -0500 bash-3.2$ git log -n1 --format=%ci 3344229 2012-09-17 20:01:37 -0500 bash-3.2$ git log -n1 --format=%ai 8837423 2012-08-25 11:31:57 -0700 bash-3.2$ git log -n1 --format=%ci 8837423 2012-08-25 11:52:37 -0700 "built_bottle" was renamed "built_as_bottle" in 8837423 after the date 3344229 was authored but before the date it was committed to master, and unfortunately in the interim 3344229 hadn't been updated to reflect the name change. This commit changes the Formula class's to_hash method to use tab.built_as_bottle not tab.built_bottle, which doesn't exist. At this time, there is no way that to_hash could have known that tab.built_bottle is bogus. Perhaps this could be made safer in the future, so that non-existent methods cause an error here rather than just silently returning null. Closes Homebrew/homebrew#47912 Closes Homebrew/homebrew#47916. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-11superenv: filter flags for older GCCsMisty De Meo
Fixes mistydemeo/tigerbrew#371. Fixes Homebrew/homebrew#47949.
2016-01-11test_tap: restore private remote testXu Cheng
Only test it if HOMEBREW_GITHUB_API_TOKEN is set.
2016-01-11test_tap: remove problematic testXu Cheng
`Tap#private?` requires Github API, which can cause problem on Travis CI due to API rate limit.
2016-01-11mat 0.5.4 (import from boneyard)Baptiste Fontaine
Closes Homebrew/homebrew#45960. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>