Adam Vandenberg
d71c8beac9
formula: cinch up formatting
2013-02-11 21:33:43 -08:00
Jack Nagel
a63fa4356a
Remove dead code
...
This code only existed to support very old formula syntax, which was
otherwise removed in e6b97bebd99779b52462dcd387191d804fc95b93.
2013-02-11 21:06:03 -06:00
Jack Nagel
248891fde1
Avoid nil in URL specs
2013-02-11 20:52:07 -06:00
Jack Nagel
e22af69149
Catch JSON decoding errors in Apache download strategy
...
c.f. Homebrew/homebrew#17772 .
2013-02-11 17:14:26 -06:00
Jack Nagel
c16ee6f300
Don't reinvent IndexError here
2013-02-10 21:02:27 -06:00
Jack Nagel
7b8f4b3d19
kill dead code
2013-02-10 20:32:18 -06:00
Jack Nagel
8e2b8c1419
CurlDownloadStrategy: remove pointless type introspection
2013-02-10 20:10:15 -06:00
Jack Nagel
3e9241312d
Add :libltdl dep for libtool's libltdl
...
The :libtool dep is implicitly a build-time dep; :libltdl can be used
for software that uses the ltdl library at runtime.
2013-02-10 19:28:14 -06:00
Jack Nagel
803649bf04
Shrink DependencyCollector#parse_symbol_spec and add tests
2013-02-10 19:27:33 -06:00
Jack Nagel
b38d555030
Fix Regexp encoding under 1.9/2.0
2013-02-10 15:26:07 -06:00
Adam Vandenberg
b85bf58007
search homebrew-x11
2013-02-10 11:15:20 -08:00
Adam Vandenberg
12d2900231
Show permission changes in debug mode
2013-02-10 08:55:09 -08:00
Jack Nagel
cf82e19090
ConflictRequirement: pass argument to superclass initalizer
2013-02-09 18:33:26 -06:00
Jack Nagel
97d3ae1775
Extract formula locks into a class
2013-02-09 18:19:50 -06:00
Jack Nagel
97f9f93f25
build: ignore non-explicit build-time dependencies
...
Given the following dependency tree:
foo
bar (bottled)
baz (build-time only)
We skip installing baz because it is a build-time dependency of
something that is bottled. However, during the build of foo, this filter
is not applied because the dependent-dep relationship is not considered
at this stage. If baz wasn't installed prior to this build, fixopt(baz)
will fail.
Further, build-time deps are tightly coupled to the formula they are
specified by, and we shouldn't rely on them coming from dependencies
several levels down.
Fixes Homebrew/homebrew#17697 .
2013-02-09 14:37:36 -06:00
Jack Nagel
b65398c549
LanguageModuleDependency: foward args to superclass initalizer
2013-02-08 00:12:49 -06:00
Jack Nagel
d547102253
debrew: restore ARGV even when IRB.setup raises
2013-02-07 22:31:05 -06:00
Jack Nagel
0b425178ec
Reduce footprint of readline hack
2013-02-07 19:02:20 -06:00
Jack Nagel
608fd55809
Fix typo
2013-02-07 18:58:26 -06:00
Jack Nagel
603bcb6cc8
audit: allow alpha.gnu.org URLs
2013-02-07 15:34:13 -06:00
Jack Nagel
f227695465
superenv bin directory is under HOMEBREW_REPOSITORY
2013-02-07 13:33:04 -06:00
Jack Nagel
ef6d01fc8f
download_strategy: move requires out of method
...
This can cause subtle issues when an exception is marshaled between the
build process and the main Homebrew process, as the marshaled exception
may contain URI objects even when the main Homebrew process has not
loaded the URI library.
Closes Homebrew/homebrew#17642 .
2013-02-07 12:45:37 -06:00
Jack Nagel
7fbeb0df3d
MacOSVersion -> MacOS::Version
2013-02-07 12:39:54 -06:00
Jack Nagel
b41bb64c7a
Flesh out MacOSVersion tests
2013-02-07 12:35:15 -06:00
Mike McQuaid
61c7a99cc8
Print formula plist_manual caveat unless loaded.
2013-02-06 22:27:57 -08:00
Jack Nagel
ba2717fb19
Version: remove pointless private call
2013-02-06 22:25:02 -06:00
Jack Nagel
15562c8876
Version: kill silly class method
...
Overriding <=> directly is much simpler.
2013-02-06 22:25:02 -06:00
Jack Nagel
7178210a71
MacOS: cache calls to mdfind
2013-02-06 22:24:24 -06:00
Jack Nagel
4515803474
Add tests for raise monkey patch
2013-02-06 19:04:43 -06:00
Jack Nagel
a75dd6e8a8
Split debrew up to faciliate test isolation
...
We want to be able to test the raise functionality without
monkey-patching #raise on every object in the system, which is one of
the side effects of loading debrew.rb.
2013-02-06 19:04:43 -06:00
Jack Nagel
46e49c4889
Don't discard exception instance data in debug mode
...
If the debugger's monkey-patched raise was passed an instantiated
exception, the #exception method was called with a potentially nil
argument, causing its instance data to be thrown away. This hides
potentially useful information from the user.
Fix it by allowing instantiated exceptions to be reraised unharmed.
Fixes Homebrew/homebrew#17622 .
2013-02-06 11:35:41 -06:00
Eashwar Ranganathan
a79721e59d
brew-pull: fix third-party taps
...
Closes Homebrew/homebrew#17588 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-05 20:14:10 -08:00
Jack Nagel
85d23f47f4
XQuartz.version: return dunno as a string and not a symbol
2013-02-04 14:53:18 -06:00
Jack Nagel
4e3dcd5016
Xcode.version: return dunno as a string and not a symbol
2013-02-04 14:42:39 -06:00
Adam Vandenberg
bad80d58f9
Architecture: add flag for ppc support
2013-02-03 21:07:59 -08:00
Jack Nagel
3c7837e5a9
audit: check for missing xz build-time dep
...
Closes Homebrew/homebrew#17565 .
2013-02-03 14:57:33 -06:00
Jack Nagel
66d91ac0e4
audit: mark intltool as a build-time dep
2013-02-03 14:48:02 -06:00
Adam Vandenberg
bae3d70834
update: abort if formula names are given
...
Closes Homebrew/homebrew#11154 .
2013-02-03 11:53:17 -08:00
Adam Vandenberg
82ecc01ac0
Fix typo in XQuartz comment
2013-02-03 11:32:34 -08:00
Jack Nagel
f9670f5dda
download_strategy: fix typo
2013-02-02 16:21:25 -06:00
Simon Sigurdhsson
af3bfab9db
Make CurlDownloadStrategy
resume aborted downloads
...
* `CurlDownloadStrategy#_fetch` (and the same methods in its
subclasses) now fetches the file to a temporary path, and
`CurlDownloadStrategy#fetch` moves it to the correct location.
* `Homebrew#cleanup` cleans the temporary files `CurlDownloadStrategy`
creates if they're left in the cache.
Closes Homebrew/homebrew#13953 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-02 14:05:40 -08:00
Jack Nagel
c0822f8400
FormulaInstaller#check_requirements: fix inverted conditional
2013-02-02 14:51:10 -06:00
Jack Nagel
ea15442b9a
Move ruby methods to FileUtils extension
2013-02-02 11:24:55 -06:00
Jack Nagel
2dac10a711
Fix args to ruby method
2013-02-02 11:23:55 -06:00
Jack Nagel
3957a35c33
audit: inspect dep name, not dep object
2013-02-02 01:00:46 -06:00
Jack Nagel
2fed17f4d1
Ensure :cairo and :pixman resolve to standard formula deps
...
We do not use X11 to satisfy these deps for consistency reasons,
but we should continue to support the symbols for compatibility.
2013-02-02 00:09:28 -06:00
Jack Nagel
ade998696d
Mark symbol-style autotools deps as build deps by default
2013-02-01 23:49:52 -06:00
Jack Nagel
67d798e905
Refactor fetch
...
Remove direct references to checksum types, access them through the
Checksum::TYPES constant instead.
2013-02-01 22:17:46 -06:00
Jack Nagel
c166ce3f58
Move MD5 deprecation warning into Pathname#md5
...
This way it will print when the verification takes place, making it a
bit more obvious which formula it refers to.
2013-02-01 21:53:11 -06:00
Elliot Saba
7da376a50c
Update tap --repair
function to ignore non-directory files in Library/Taps/
...
Closes Homebrew/homebrew#17518 .
Closes Homebrew/homebrew#17511 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-01 18:36:38 -08:00