6770 Commits

Author SHA1 Message Date
Jack Nagel
6eabbed464 Add depend_on :apr 2014-11-05 20:34:02 -06:00
Kenneth Pullen
d78769743d Fix broken link in Acceptable Formulae
The link to the Homebrew dupes repo was broken because of a typo.

Closes Homebrew/homebrew#33931.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-05 11:26:49 +00:00
Jack Nagel
5d1dc0a5db Revert "Revert "FormulaInstaller: make mode reader methods private""
This reverts commit c622f27e525de4a9cc9a209a6cc0e26be60b5919.
2014-11-03 21:43:11 -06:00
Jack Nagel
e1bfbad810 Make quieter an installer mode 2014-11-03 21:43:11 -06:00
Jack Nagel
3421308bd4 Make git an installer mode 2014-11-03 21:39:11 -06:00
Jack Nagel
3c9cc18c17 Add ARGV.git? 2014-11-03 21:39:11 -06:00
Jack Nagel
34c0b40abf Revert "FormulaInstaller: make mode reader methods private"
This reverts commit 44bff238434a48c4a8531bc2d1a29c81f18f8fab.

Conflicts:
	Library/Homebrew/formula_installer.rb

Fixes Homebrew/homebrew#33882.
2014-11-03 18:58:49 -06:00
Dominyk Tiller
c6bc9b7e9f caveats: yosemite adjustments
Closes Homebrew/homebrew#33815
2014-11-03 19:29:49 +00:00
Brian Shirai
0b7146f123 blacklist: remove rubinius.
Having 'rubinius' in blacklist.rb prevents taps from providing a rubinius formula. Currently, the Rubinius project is making a binary install of Rubinius 2.3.0+ available as a tap. Unfortunately, this is impossible with this blacklist and forces us to use a non-standard name for the formula.

Further, it appears that Homebrew has changed its stance on binary formula, including them in the standard set of formula (ie, not requiring a separate tap). When Homebrew blacklisted Rubinius initially, I asked to allow a binary formula for Rubinius and was refused. The fact that Homebrew has changed its stance on binary formula makes this blacklist doubly unfair.

Thanks.

Closes Homebrew/homebrew#33809.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-03 19:29:25 +00:00
Mike McQuaid
2d67c5ee8f brew-pull: allow resolution with --resolve. 2014-11-03 10:00:50 +00:00
Tim D. Smith
9b86218854 FormulaCellarChecks: don't exempt formulas from ssl audit
Reverts b7b4c59. Closes Homebrew/homebrew#33414.
2014-11-02 21:08:35 -08:00
Jack Nagel
bebfcfe2fd FormulaInstaller: make mode predicate methods private 2014-11-02 19:11:46 -06:00
Jack Nagel
4b2347ef60 FormulaInstaller: make mode reader methods private 2014-11-02 19:11:18 -06:00
Tim D. Smith
1593b24b0f caveats: recommend adding python site-packages with site.addsitedir
Closes Homebrew/homebrew#33364. Fixes Homebrew/homebrew#30844.
2014-11-02 10:33:40 -08:00
Tim D. Smith
809e048b96 doctor: check for .pth support in Homebrew site-packages 2014-11-02 10:33:35 -08:00
Tim D. Smith
daabf4f5dc keg: add python_pth_files_installed? helper 2014-11-02 10:33:34 -08:00
Tim D. Smith
b584689afa language/python: add helper methods for pth detection 2014-11-02 10:30:21 -08:00
Mike McQuaid
b3838675ec Homebrew-and-Python: explain about Python bottles. 2014-11-01 10:42:56 +00:00
Mike McQuaid
992f40e119 pull: pull from PR then from BrewTestBot.
This allows making e.g. `Closes #X` point to the correct commit to reduce confusion and allows `--bump` to function correctly.
2014-11-01 10:14:48 +00:00
Jack Nagel
a01a3bd594 Check for MacPorts/Fink installation only after build failures 2014-10-31 20:54:09 -05:00
Jack Nagel
d8abdfa56d Revert "run macports check after failed build instead of before every build"
CannotInstallFormulaError is only raised when another version of the
formula is linked or any of its dependencies are unlinked, in which case
this warning is totally irrelevant. It should be checked after build
errors instead.

This reverts commit 466d0f718bc2241e830393b384294c21194995e0.
2014-10-31 20:54:09 -05:00
Jack Nagel
73cc58641b More specific require 2014-10-31 20:10:49 -05:00
Jack Nagel
9a356fc609 Remove FormulaAlreadyInstalledError
install is the only command that can trigger this warning, so it should
be handled before instantiating the installer.
2014-10-31 18:33:39 -05:00
Mike McQuaid
f55ad864e0 Note that PRs will not show up as merged. 2014-10-31 22:13:03 +00:00
Jack Nagel
d3b2a213fe Use more relevant assertions 2014-10-30 00:23:46 -05:00
Jack Nagel
503d781150 Allow tests to reset bottle hooks on teardown
This avoids polluting other tests that might invoke the installer, thus
executing any registered hooks.
2014-10-29 23:49:57 -05:00
Jack Nagel
1a487fa2b3 Add predicate methods for specs and stop testing internals 2014-10-29 23:32:38 -05:00
Jack Nagel
1753362024 Call #name rather than relying on implicit #to_s 2014-10-29 23:08:58 -05:00
Jack Nagel
673f08f17e audit: compare file mode directly 2014-10-29 22:47:17 -05:00
Jack Nagel
1195718d0e Rename "f" to "formula" in the installer 2014-10-29 22:41:03 -05:00
Jack Nagel
d1fae671f1 Update recommended Xcode for 10.9 2014-10-29 11:04:31 -05:00
Jack Nagel
e5e206f4f1 Revert "Revert "xcode: use 6.1 on Mavericks.""
This reverts commit 2b472a6e2634a7b7592abb7084b20a098f4a488b.
2014-10-29 11:03:54 -05:00
Jack Nagel
cb09660516 Always set sysroot for Xcode-only systems
Fixes Homebrew/homebrew#33431.
2014-10-29 11:03:54 -05:00
Jack Nagel
6545e6dad3 Remove unreachable branch
Requirements meeting this condition are skipped by the first branch
on the caller side:

6c54de812f/Library/Homebrew/formula_installer.rb
2014-10-29 00:52:23 -05:00
Jack Nagel
f90e303fb9 Test default formula requirements against correct dependent 2014-10-29 00:37:51 -05:00
Jack Nagel
27f2aa5f2c Reduce explicit branches in dependency expansion 2014-10-29 00:36:25 -05:00
Jack Nagel
ad4edb94d7 Whitelist config scripts from OS X Server
Closes Homebrew/homebrew#33398.
2014-10-28 22:49:40 -05:00
Jack Nagel
f281ea3a57 Simplify config script doctor check 2014-10-28 22:49:40 -05:00
Jack Nagel
d494c9db8e Use start_with? instead of regexp 2014-10-28 22:49:40 -05:00
Jack Nagel
d7de5b6e24 real_cellar cannot be nil 2014-10-28 22:49:40 -05:00
Vítor Galvão
7557cc1683 Removed extraneous backtick in FAQ
It was causing a command to not display correctly.

Closes Homebrew/homebrew#33686.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-10-28 21:30:56 -05:00
Jim Witschey
a56ddb9eda cmd/install: fallback to searching formula names.
Closes Homebrew/homebrew#33648.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-28 11:16:24 +00:00
Mike McQuaid
92e68049d1 formula_installer: set exit code to failed always.
If we say something failed we should communicate that through the exit
code for the bot and scripts.
2014-10-27 13:16:18 +00:00
Mike McQuaid
27c1a67ed6 brew-test-bot: add fail-fast option.
Allows easier testing of failures due to bad state.
2014-10-27 13:02:30 +00:00
Jack Nagel
56aec9494c Fix filename case 2014-10-26 23:17:13 -05:00
Mike McQuaid
b5d96a80bf Acceptable Formulae: his/her -> their. 2014-10-26 15:51:06 +00:00
Mike McQuaid
7b02304b64 Improve API documentation output.
And include more files.
2014-10-26 15:42:41 +00:00
Mike McQuaid
b25a7c3f3f Update Homebrew's authors. 2014-10-26 15:42:20 +00:00
Mike McQuaid
03088c308e Tweak core contributor brew-test-bot docs. 2014-10-26 15:31:29 +00:00
Mike McQuaid
cabac9d84d README: don't recommend browsing Library/Formula.
It doesn't display all formulae any more.
2014-10-26 15:26:10 +00:00