6354 Commits

Author SHA1 Message Date
Jack Nagel
ffbe5bf22c Let commands decide what mode the installer should use 2014-03-02 00:21:13 -06:00
Jack Nagel
ea85812c58 Reduce the number of ways options can be passed to the installer 2014-03-02 00:03:08 -06:00
Jack Nagel
a12d3918d4 Remove unnecessary memoization from FormulaInstaller#build_argv 2014-03-01 23:55:21 -06:00
Mike McQuaid
536430e0ae ENV: request no byte code Python when bottling. 2014-03-02 02:08:59 +00:00
Jack Nagel
40369dbbcd Only propagate universal option if the formula defines it 2014-03-01 18:55:32 -06:00
Jack Nagel
6d949599b5 Compare pathnames directly 2014-03-01 18:42:47 -06:00
Jack Nagel
7966b29ac6 reinstall: re-raise original exception after cleaning up 2014-03-01 18:27:30 -06:00
Jack Nagel
cf4e7e5954 reinstall: fix incorrect use of Formula.canonical_name
Fixes Homebrew/homebrew#27117.
2014-03-01 18:22:35 -06:00
Jack Nagel
51bec382b0 Make conditional more obvious 2014-03-01 17:49:57 -06:00
Mike McQuaid
281494c255 brew-test-bot: use fetch --retry.
Closes Homebrew/homebrew#27110.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-01 16:45:31 +00:00
Mike McQuaid
7f45c63468 fetch: add --retry option to retry fetch once.
Sometimes there may be intermittent failures with hosts that work if
immediately retried. Let's allow a single retry in this case with the
--retry flag. This also behaves nicely with the --force flag.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-01 16:45:31 +00:00
Jack Nagel
27de1257e3 audit: don't complain about missing cross-tap dependencies 2014-02-28 23:05:28 -06:00
Jack Nagel
02270c5edb Don't munge arguments when configure is run by make
Fixes Homebrew/homebrew-versions#364.
2014-02-28 20:41:44 -06:00
Ben Moss
000e9eecba Fix blacklist.rb syntax error
Closes Homebrew/homebrew#27102.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-28 17:27:46 -06:00
Jack Nagel
3326d0d8cc Fix libpcap blacklist message 2014-02-28 17:20:42 -06:00
Jack Nagel
26785dbe5d Use Formula.path 2014-02-28 16:51:15 -06:00
Jack Nagel
2d50501c4e Remove libarchive from the blacklist, it's in core now 2014-02-28 16:51:15 -06:00
Jack Nagel
bb95660a4d Use File.expand_path 2014-02-28 16:27:25 -06:00
Jack Nagel
b168361ed0 Automatically install taps for cross-tap dependencies
Closes Homebrew/homebrew#27099.
2014-02-28 16:09:36 -06:00
Jack Nagel
3872f78d66 Add custom exception for untapped formulae 2014-02-28 15:58:20 -06:00
Jack Nagel
751d997202 Use constant 2014-02-28 15:58:20 -06:00
Jack Nagel
7e76f02824 Don't verify deps when ignoring them 2014-02-28 15:57:55 -06:00
Jack Nagel
938110961d Use Dependency#option_name in BuildOptions#add_dep_option 2014-02-28 11:16:55 -06:00
Jack Nagel
c6bc01ab58 Add TapDependency 2014-02-28 11:16:55 -06:00
Jack Nagel
369f9b3251 FormulaInstaller: verify dependencies map to formulae before locking 2014-02-28 11:16:55 -06:00
Jack Nagel
d0f43ad367 Remove "brew info <URL>"
Closes Homebrew/homebrew#27076.
2014-02-28 11:07:55 -06:00
Jack Nagel
479f4bc7cd Remove deprecation notice from system "xcodebuild"
The new xcodebuild method calls system "xcodebuild" underneath, so this
notice would always be printed. Instead we will just rely on the audit
check.

Fixes Homebrew/homebrew#27092.
2014-02-28 11:04:40 -06:00
Adam Vandenberg
88565ac3d4 move scons helper to fileutils 2014-02-28 07:20:52 -08:00
Jack Nagel
26c71b19f6 Add audit check for system "xcodebuild" 2014-02-27 21:53:33 -06:00
Jack Nagel
c72f9a469d Add an xcodebuild helper and deprecate system "xcodebuild"
In the future we can remove the ENV munging branch from Formula#system.

Closes Homebrew/homebrew#27081.
2014-02-27 21:53:21 -06:00
Jack Nagel
4928b4e02c Set owner ivar in SoftwareSpec 2014-02-27 14:50:22 -06:00
Jack Nagel
74eb25df81 Cache and reuse Dependency objects 2014-02-27 14:22:43 -06:00
Jack Nagel
1981e78eb2 Eliminate mutation of Dependency objects 2014-02-27 14:22:43 -06:00
Jack Nagel
793d6de6c3 Pass expansion-time build options to install_dependency 2014-02-27 14:22:43 -06:00
Jack Nagel
97dd879159 Clean up FormulaInstaller#install_dependency 2014-02-27 14:22:42 -06:00
Jack Nagel
b2ccbfe6af Add set union to Options 2014-02-27 14:22:42 -06:00
Jack Nagel
96df4fe1da Apply cyclic dependency hack unconditionally 2014-02-27 14:22:42 -06:00
Jack Nagel
e9b687070a Remove requested? dependency magic 2014-02-27 14:22:42 -06:00
Jack Nagel
750b843edc Use Formula[] in example formula 2014-02-27 14:00:42 -06:00
Jack Nagel
4002abb146 deps: use Dependency objects in recursive_deps_tree 2014-02-27 12:56:59 -06:00
Jack Nagel
87cbe716d9 deps: keep "--all" output sorted 2014-02-27 12:56:42 -06:00
Adam Vandenberg
50b94ada1b add audit for Formula.factory 2014-02-27 08:21:14 -08:00
Adam Vandenberg
27365a568d add Formula[]
Closes Homebrew/homebrew#26930
2014-02-27 08:21:14 -08:00
Mike McQuaid
09330dd83b doctor: tweak XQuartz check.
Sometimes (e.g. Homebrew/homebrew#27014) it may find an installed version but no prefix.

In this case we still want to tell users if it's outdated.
2014-02-26 12:40:25 +00:00
Adam Vandenberg
4a4b960558 fix typo in audit 2014-02-25 20:51:16 -08:00
Adam Vandenberg
758a601555 add audit for scons 2014-02-25 20:29:08 -08:00
Adam Vandenberg
9055c1e361 add scons helper 2014-02-25 20:29:08 -08:00
Adam Vandenberg
c189dd6e20 only get counts if needed 2014-02-25 20:24:34 -08:00
Adam Vandenberg
f5cc07dfea add more documentation 2014-02-25 20:24:34 -08:00
Adam Vandenberg
0bdce89d65 fix incorrect comment 2014-02-25 20:24:34 -08:00