5820 Commits

Author SHA1 Message Date
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
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
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
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
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
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
19d12aee45 Import docs from wiki.
Closes Homebrew/homebrew#33211.
2014-10-26 14:57:36 +00:00
Mike McQuaid
cd528e7203 brew-test-bot: tweak pull request diff detection.
Avoid accidentally including more changes than was intentional.
2014-10-26 12:34:09 +00:00
Mike McQuaid
a094dbe2bb brew-test-bot: just use ci-upload flag.
Can combine testing and PR upload jobs into a single one.
2014-10-24 14:27:04 +01:00
Mike McQuaid
3e8c6c8e67 brew-test-bot: start generalization of uploaders. 2014-10-24 13:57:00 +01:00
Dominyk Tiller
d8c34e83b7 Add unsigned kext requirement.
Creates a new requirement that dictates packages are unable to install due to requiring a signed kext to function.

Closes Homebrew/homebrew#33404.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-23 08:57:12 +01:00
Mike McQuaid
d56a2751a1 brew-test-bot: always base URL tests on master. 2014-10-22 09:32:19 +01:00
Jack Nagel
f29376c867 Revert "xcode: use 6.1 on Mavericks."
Pending resolution of Homebrew/homebrew#33431.

This reverts commit bf434e2f7d18ba7d77ac15d54a43c555bc4019c8.
2014-10-21 17:47:30 -05:00
Mike McQuaid
356e75487e Point to a tap when installing or fetching.
When installing or fetching and stuff goes wrong we can't always catch
the error and redirect to the tap. Instead, point to the tap before we
do anything failure-prone and hopefully that'll encourage people to
file issues in the right place. If not we can say that explicitly.

Closes Homebrew/homebrew#33220.
2014-10-21 23:04:55 +01:00
Mike McQuaid
5c88e8d654 brew-test-bot: be more resilient to bad arguments. 2014-10-21 15:34:20 +01:00
Mike McQuaid
324ea3e481 doctor: Xcode 6.1 is in the App Store. 2014-10-21 14:56:32 +01:00