4470 Commits

Author SHA1 Message Date
Mike McQuaid
249aae177f formula: move cxxstdlib methods to the class.
This allows disabling this checks when e.g. pouring bottles.
2014-04-23 08:10:48 +01:00
Jack Nagel
6cdc76452b Only directories are candidates for superenv bin 2014-04-22 15:39:59 -05:00
Jack Nagel
722a5af4eb Simplify conditions for superenv activation
`MacOS::Xcode.without_clt? && MacOS.sdk_path.nil?` should never be true.

In its earliest form, this would raise a bare RuntimeError in an effort
to have the bug reported. Later, it was changed to silently disable
superenv. But we don't want to do that. If there's a bug, or the user's
system is misconfigured, we want to know, so that we can fix the bug, or
the user can fix their system. So let's remove the condition.
2014-04-22 15:37:34 -05:00
Jack Nagel
dbb527f352 The argument to MacOS.locate is always a string 2014-04-21 22:47:15 -05:00
Mario Mueller
be66d746ad rewrite TeX requirement message
Closes Homebrew/homebrew#28588.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-21 19:39:37 -07:00
Jack Nagel
7573855756 Only check Xcode prefix when non-nil 2014-04-21 18:52:12 -05:00
Jack Nagel
24e27465e0 Remove comments that no longer reflect any adjacent code 2014-04-21 18:51:43 -05:00
Jack Nagel
c208afe226 Don't test jruby deps since it makes the tests slow 2014-04-21 12:48:15 -05:00
Jack Nagel
4b4fc003df Adjust installer for updated link error handling 2014-04-21 12:43:06 -05:00
Jack Nagel
72d83adaf3 Adjust link command for updated error handling 2014-04-21 12:43:06 -05:00
Jack Nagel
6b5e92ac47 Raise AlreadyLinkedError when a keg is already linked 2014-04-21 12:43:06 -05:00
Jack Nagel
b2e8c4e79a Only unlink after a LinkError 2014-04-21 12:43:06 -05:00
Jack Nagel
727f204760 Raise useful errors from make_relative_symlink 2014-04-21 12:43:06 -05:00
Jack Nagel
d3ab439b7c Rework make_relative_symlink error handling and move it into keg 2014-04-21 12:43:06 -05:00
Finn Smith
eed3368039 Fix keg version in Formula#to_hash
Closes Homebrew/homebrew#28550.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-21 09:29:53 -05:00
Jack Nagel
dd8dc7a380 Remove obsolete DEVELOPER_DIR hacks
These days Homebrew refuses to do anything if the xcode-select path is
busted, so this workaround is unnecessary.
2014-04-20 16:33:41 -05:00
Jack Nagel
749c877f03 Add another comment 2014-04-19 21:47:42 -05:00
Jack Nagel
bac25a77bf Elaborate on why we should remove this code 2014-04-19 21:40:44 -05:00
Adam Vandenberg
174a9a76b4 Move mydumper to the boneyard
This software compiles against now-private APIs:
https://github.com/Homebrew/homebrew/issues/24748
http://bugs.mysql.com/bug.php?id=70672
https://answers.launchpad.net/mydumper/+question/239895

Closes Homebrew/homebrew#24748.
2014-04-19 12:35:35 -07:00
Yann-R
68a8ce7ee7 colormake 0.9
Closes Homebrew/homebrew#27345.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-19 11:47:52 -07:00
David Turner
629b244cf8 Handle formula URLs with query parameters. This is useful for fetching formulas from cgit repositories, which uses ?h= to choose branches.
Closes Homebrew/homebrew#28314.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-18 08:40:39 -07:00
Mike McQuaid
daa7b7b6db search: move nginx to Homebrew organisation. 2014-04-18 10:59:12 +01:00
Jack Nagel
434854cc69 Don't use assert_nothing_raised 2014-04-15 15:39:26 -05:00
Jack Nagel
46a11a2b26 Remove questionable test
This is already covered in test_mach.rb.
2014-04-15 15:39:10 -05:00
Jack Nagel
8d6c1358a2 Update comment 2014-04-15 14:26:12 -05:00
Jack Nagel
538dea98ad Start cleaning up Xcode.version 2014-04-15 14:20:18 -05:00
Jack Nagel
9d02c39e23 Fix syntax error 2014-04-15 11:37:20 -05:00
Jack Nagel
20c150fb8c Xcode.bad_xcode_select_path? is used only once, so inline it 2014-04-15 11:28:52 -05:00
Jack Nagel
a55e670a8a Remove yet another xcode-select check 2014-04-15 11:28:01 -05:00
Jack Nagel
b78a4b7372 Don't call xcrun twice 2014-04-15 11:26:04 -05:00
Jack Nagel
2f052a2f65 Remove another unnecessary check 2014-04-15 11:26:03 -05:00
Jack Nagel
490cb34885 Remove unnecessary xcode-select check
This is handled here:
67fbb313da/Library/brew.rb (L34-46)
2014-04-15 11:21:27 -05:00
Jack Nagel
fcda7a1086 Document some unanswered questions in the Xcode module 2014-04-15 10:08:59 -05:00
Jack Nagel
2d8d7184f6 Remove dead constant 2014-04-15 09:49:01 -05:00
Jack Nagel
581e1b2c7e Use quiet_system to silence some useless warnings 2014-04-14 21:32:50 -05:00
Jack Nagel
4738974a78 Remove overzealous exceptions 2014-04-14 21:31:03 -05:00
Misty De Meo
621bb0049f CompilerFailure: llvm can't build C++11 either 2014-04-14 13:40:55 -07:00
Jack Nagel
169aa1ac39 Use correct basename when updating dylib IDs 2014-04-13 14:57:11 -05:00
Jack Nagel
dfddb2a761 Allow access to both the linked dylibs and the dylib ID 2014-04-13 14:57:11 -05:00
Jack Nagel
dd9b253b44 Always return a string from dylib_id_for 2014-04-13 14:57:11 -05:00
Misty De Meo
63d6f054c4 CompilerFailure: don't mutate compiler hashes
Fixes Homebrew/homebrew#28357.
2014-04-12 11:28:24 -07:00
Misty De Meo
9af3917ebf Formula: provide compiler failure collections
`needs` allows formulae to specify dependencies on cross-compiler
dependencies, allowing multiple failures to be specified in a single
statement. For instance, `needs :cxx11` adds seven compiler failures.

Closes Homebrew/homebrew#22912.
2014-04-12 10:36:00 -07:00
Adam Vandenberg
7fe9413cf1 audit: use .diff instead of .patch for github diffs 2014-04-11 07:31:56 -07:00
Mike McQuaid
513a1f2ebd Migrate homebrew-php to Homebrew organization. 2014-04-10 16:22:24 +01:00
Mike McQuaid
f6c6d0f60e Add tests for new bottling hooks.
Closes Homebrew/homebrew#27890.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-04-10 15:25:30 +01:00
Mike McQuaid
e2fbfc8390 Add hooks for pouring bottles.
This should give us a bit of control over what e.g. Boxen are doing
whilst at the same time stopping us from accidentally breaking each
other's stuff every so often.

I'm aware this may be somewhat controversial so I'm open to other
approaches.
2014-04-10 15:25:30 +01:00
Jack Nagel
9f3a74096d unlink: prefer "symlinks" since that's how it is reported by link
cf. Homebrew/homebrew#28244.
2014-04-08 13:54:53 -05:00
Jack Nagel
b63fb8d086 GithubGistFormula doesn't need to know the exact signature of initialize 2014-04-07 18:50:42 -05:00
Jack Nagel
af272e04c7 Restore recursive tap search
Fixes Homebrew/homebrew#28234.
2014-04-07 18:44:29 -05:00
Jack Nagel
872f46dc1e Restore documented behavior of brew uses foo bar
`brew uses foo bar` is supposed to return the intersection of formulae
that use foo and bar. However, this was broken by changes made to
support requirements that can coerce to regular dependencies.
2014-04-07 13:07:04 -05:00