aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-01-21tests: remove useless filter for coverage testsMartin Afanasjew
The filter for `vendor/bundle/` is useless because this directory is located in `Homebrew/test/` and that one is already filtered. Moreover, SimpleCov already loads the `bundler_filter` profile (that installs basically the same filter) in its default configuration.
2016-01-20command: support .sh commandsBaptiste Fontaine
Closes Homebrew/homebrew#48192. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-20commands: support .sh commandsBaptiste Fontaine
2016-01-20update test for Homebrew/homebrew-emacs#158Alex Dunn
Closes Homebrew/homebrew#48131. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2016-01-20test: add metafiles to testballAlex Dunn
2016-01-20build#install: install metafiles in buildpathAlex Dunn
This came up in https://github.com/Homebrew/homebrew-emacs/pull/158#issuecomment-172031003; `install_metafiles` is passed the current directory, which can be changed during installation by `Dir.chdir`. There may be cases where the metafiles are in a subdirectory, but my guess is those are rare and this is brittle and undocumented behavior anyway.
2016-01-20tap-readme: fix for Ruby 1.8Baptiste Fontaine
Closes Homebrew/homebrew#48281. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-20tests: ExternalPatch test addedBaptiste Fontaine
2016-01-20tests: exceptions tests addedBaptiste Fontaine
2016-01-20tests: tap-readme integration test addedBaptiste Fontaine
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-20doc: move images into their own directoryMartin Afanasjew
By doing this, make the GitHub directory listing for the documentation directory more useful and less cluttered. Closes Homebrew/homebrew#48219. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-20doc: remove unused imagesMartin Afanasjew
These files were imported from the wiki, but they are not referenced by any of the other documentation files.
2016-01-20bin/brew: use not operator inside `[[`Xu Cheng
2016-01-20bin/brew: use full path for xcode-selectXu Cheng
Closes Homebrew/homebrew#48197. Signed-off-by: Xu Cheng <xucheng@me.com>
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-20bin/brew: remove unpin from sudo check listXu Cheng
We only need to check sudo for commands which create files.
2016-01-20bin/brew: include alias in sudo checkXu Cheng
2016-01-20bin/brew: introduce odie functionXu Cheng
2016-01-20bin/brew: always use `[[` for consistencyXu Cheng
2016-01-20bin/brew: remove unnecessary checkXu Cheng
HOMEBREW_BASH_COMMAND variable will always exist. So we only need to check whether the corresponding file exist or not.
2016-01-20brew: remove duplicated logicXu Cheng
This is now handled by `bin/brew`
2016-01-20bin/brew: fix incorrect argument manipulationXu Cheng
Shifting `-v` argument is all we need to do. We shouldn't enumerate arguments.
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-18bin/brew: use a function to avoid issues.Mike McQuaid
Otherwise when `bin/brew` is updated in-place Bash will carry on from the offset and this can cause issues. Thanks to `@UniqMartin` for pointing this out.
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: allow writing Homebrew commands in Bash.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>