6354 Commits

Author SHA1 Message Date
Jack Nagel
4d14cafaa5 Fix directory leak in test_cleaner 2014-06-23 22:11:39 -05:00
Jack Nagel
45840f43a2 Clear cache after formula install tests 2014-06-23 22:11:39 -05:00
Jack Nagel
9f03b28573 Fix directory leak in test_pathname_version 2014-06-23 22:11:39 -05:00
Jack Nagel
f9fd3f46d4 Explicitly create top-level directories for tests 2014-06-23 22:11:39 -05:00
Jack Nagel
04f504546c Give the temporary test directory a prefix 2014-06-23 18:58:58 -05:00
Jack Nagel
3dbcba0c03 Call original backtick using super 2014-06-23 18:50:55 -05:00
Jack Nagel
43cb0b9141 Use Dir.mktmpdir to create temp directory for tests 2014-06-23 18:42:27 -05:00
Jack Nagel
8d12684efe Pass repository path into the updater 2014-06-23 18:41:50 -05:00
Jack Nagel
61e633426a Remove obsolete constant
Formula that use this do not load anymore.
2014-06-22 19:33:21 -05:00
Jack Nagel
20d544085a Use a more descriptive variable name 2014-06-22 18:43:14 -05:00
Jack Nagel
0fda322e0e Use Pathname#split 2014-06-22 18:38:30 -05:00
Shaun Jackman
42c20b0979 Move the compiler-selecting methods to ENV/shared
Closes Homebrew/homebrew#30210.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-22 18:30:15 -05:00
Jack Nagel
4d9d01893e Move deprecated Formula class methods to compat
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Jack Nagel
90183877ff Simplify extending Formula with Enumerable 2014-06-22 15:03:17 -05:00
Jack Nagel
4b0255f7aa Keep DSL related code in one place 2014-06-22 15:03:17 -05:00
Misty De Meo
07660bb7b6 Hardware: add new .features method
This returns a list of symbols with the various CPU features supported
by the active hardware.
2014-06-21 21:59:51 -07:00
Jack Nagel
d9e73c9d43 Simplify picking pinned version 2014-06-21 18:32:53 -05:00
Jack Nagel
4e817eaa6c Remove FormulaPin dependency on FileUtils 2014-06-21 18:32:38 -05:00
Vladimír Kriška
70d0035d37 Show file contents instead of commits
Closes Homebrew/homebrew#30324.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-06-21 09:14:35 -07:00
Adam Vandenberg
dfe1c47531 deprecate brew-which
Closes Homebrew/homebrew#30311.
2014-06-21 06:49:12 -07:00
Jack Nagel
445dd80e44 Remove ARGV.filter_for_dependencies 2014-06-20 21:32:36 -05:00
Jack Nagel
10fda9e9b9 Decouple spec selection from ARGV 2014-06-20 21:32:36 -05:00
Jack Nagel
5beaa512e6 Pass the requested spec into the formula instance 2014-06-20 21:32:36 -05:00
Jack Nagel
db9f16e2cd Formula equality reflects the active spec 2014-06-20 21:32:36 -05:00
Jack Nagel
8976a960df brew-test-bot: use Dir[] for globbing 2014-06-20 19:27:38 -05:00
Jack Nagel
0e3249e188 brew-test-bot: use multiple argument form of system 2014-06-20 19:01:04 -05:00
Jack Nagel
f0e13ee97b Use multiple argument form of system 2014-06-20 18:37:24 -05:00
Misty De Meo
8667387bee Revert "Removew brew-which"
This reverts commit c0a32c81eb1b176448cd41866f2d22427c729522.

Will add a deprecation notice and remove at a later point in time.
2014-06-20 12:09:39 -07:00
Mike McQuaid
9ccf965553 Revert "formula_installer: bottle against Homebrew Python."
This reverts commit dc53c331ebb3bf752655a6e2147ea90c38a22e2f.

Closes Homebrew/homebrew#30302.
Closes Homebrew/homebrew#30305.
2014-06-20 19:49:32 +01:00
Adam Vandenberg
cc6af6c050 simplify play blacklist 2014-06-20 07:35:03 -07:00
Adam Vandenberg
dc46c43e2a Removew brew-which
This functionality is better handled by brew list --versions
and other official commands.
2014-06-20 07:31:35 -07:00
Mike McQuaid
aa51c2f1d3 formula_installer: bottle against Homebrew Python.
When Python is required or recommended then always bottle against the
Homebrew provided Python rather than the system one. This will allow
bottling of packages that have a hard dependency on Python bindings
(which can’t be shared between system and Homebrew Pythons).

Closes Homebrew/homebrew#27112.
2014-06-20 13:03:00 +01:00
Mike McQuaid
2f8adead9f xcode: add new package ID for Mavericks (again).
Closes Homebrew/homebrew#30296.
2014-06-20 12:59:11 +01:00
Mike McQuaid
e83b6a6b45 Revert "xcode: add new package ID for Mavericks."
This reverts commit b0caede328b5181106451025df74a456276b76cf.

Fixes Homebrew/homebrew#30299.
2014-06-20 12:18:28 +01:00
Mike McQuaid
072261a954 xcode: add new package ID for Mavericks.
Closes Homebrew/homebrew#30296.
2014-06-20 11:27:21 +01:00
Mike McQuaid
1c176348ca doctor: add caveats to avoid scaring people.
Sporadically people ask to whitelist doctor warnings or file issues when
there's nothing actually wrong. Help reassure such people with a
friendly message.

Closes Homebrew/homebrew#30230.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-20 11:14:35 +01:00
Michael Vetter
cca11731ca Remove play, replaced by typesafe-activator
In Play 2.3 the play command has become the activator command. Play has
been updated to use Activator.

People should use typesafe-activator formula instead.

You can read more about this change at:
http://www.playframework.com/documentation/2.3.x/Migration23
and
http://www.playframework.com/documentation/2.3.x/Highlights23

Closes Homebrew/homebrew#30262.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-19 21:19:16 -05:00
Jack Nagel
4f8be5bb66 Remove obsolete doctor check
Both build environments remove MACOSX_DEPLOYMENT_TARGET by default.
2014-06-19 19:32:37 -05:00
Jack Nagel
d9c586e201 Remove unnecessary string evals from doctor 2014-06-19 19:32:37 -05:00
Jack Nagel
c4cdd2b7ac Use .each, not .all? to enumerate formulae 2014-06-19 19:15:40 -05:00
Jack Nagel
09e483c946 Fix typo 2014-06-19 19:15:40 -05:00
Jack Nagel
83b9043c8e Remove more unused requires 2014-06-19 19:15:35 -05:00
Jack Nagel
88aaa36bec Remove unused require 2014-06-19 17:55:04 -05:00
Jack Nagel
b87f9b37d6 Pull requires out of methods 2014-06-19 17:55:04 -05:00
Jack Nagel
21ffc89a8e Use rack accessor instead of building pathname manually 2014-06-19 13:27:19 -05:00
Jack Nagel
10a1952d2c Only "extend self" once on the Homebrew module 2014-06-19 13:10:36 -05:00
Jack Nagel
1cd31db1a8 brew-test-bot: don't pass formula name to fetch twice 2014-06-18 23:33:32 -05:00
Jack Nagel
2afad083ee Stop hiding exceptions completely in brew test 2014-06-18 23:33:31 -05:00
Jack Nagel
2122620d71 Fix brew test when conflicting minitest gems are installed 2014-06-18 23:20:56 -05:00
Jack Nagel
ea203c2aac Combine Homebrew module declarations in testing_env 2014-06-18 21:08:09 -05:00