aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2013-02-09build: ignore non-explicit build-time dependenciesJack Nagel
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-08LanguageModuleDependency: foward args to superclass initalizerJack Nagel
2013-02-07debrew: restore ARGV even when IRB.setup raisesJack Nagel
2013-02-07Reduce footprint of readline hackJack Nagel
2013-02-07Fix typoJack Nagel
2013-02-07audit: allow alpha.gnu.org URLsJack Nagel
2013-02-07superenv bin directory is under HOMEBREW_REPOSITORYJack Nagel
2013-02-07download_strategy: move requires out of methodJack Nagel
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-07MacOSVersion -> MacOS::VersionJack Nagel
2013-02-07Flesh out MacOSVersion testsJack Nagel
2013-02-06Print formula plist_manual caveat unless loaded.Mike McQuaid
2013-02-06Version: remove pointless private callJack Nagel
2013-02-06Version: kill silly class methodJack Nagel
Overriding <=> directly is much simpler.
2013-02-06MacOS: cache calls to mdfindJack Nagel
2013-02-06Add tests for raise monkey patchJack Nagel
2013-02-06Split debrew up to faciliate test isolationJack Nagel
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-06Don't discard exception instance data in debug modeJack Nagel
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-05brew-pull: fix third-party tapsEashwar Ranganathan
Closes Homebrew/homebrew#17588. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-04XQuartz.version: return dunno as a string and not a symbolJack Nagel
2013-02-04Xcode.version: return dunno as a string and not a symbolJack Nagel
2013-02-03Architecture: add flag for ppc supportAdam Vandenberg
2013-02-03audit: check for missing xz build-time depJack Nagel
Closes Homebrew/homebrew#17565.
2013-02-03audit: mark intltool as a build-time depJack Nagel
2013-02-03update: abort if formula names are givenAdam Vandenberg
Closes Homebrew/homebrew#11154.
2013-02-03Fix typo in XQuartz commentAdam Vandenberg
2013-02-02download_strategy: fix typoJack Nagel
2013-02-02Make `CurlDownloadStrategy` resume aborted downloadsSimon Sigurdhsson
* `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-02FormulaInstaller#check_requirements: fix inverted conditionalJack Nagel
2013-02-02Move ruby methods to FileUtils extensionJack Nagel
2013-02-02Fix args to ruby methodJack Nagel
2013-02-02audit: inspect dep name, not dep objectJack Nagel
2013-02-02Ensure :cairo and :pixman resolve to standard formula depsJack Nagel
We do not use X11 to satisfy these deps for consistency reasons, but we should continue to support the symbols for compatibility.
2013-02-01Mark symbol-style autotools deps as build deps by defaultJack Nagel
2013-02-01Refactor fetchJack Nagel
Remove direct references to checksum types, access them through the Checksum::TYPES constant instead.
2013-02-01Move MD5 deprecation warning into Pathname#md5Jack Nagel
This way it will print when the verification takes place, making it a bit more obvious which formula it refers to.
2013-02-01Update `tap --repair` function to ignore non-directory files in Library/Taps/Elliot Saba
Closes Homebrew/homebrew#17518. Closes Homebrew/homebrew#17511. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-01audit: wrap patches in ENV.with_build_environment blockJack Nagel
2013-02-01Don't call methods on xcrun_path if it's nilJack Nagel
2013-02-01Add md5 support to compatibility, with deprecation warningJack Nagel
2013-02-01Formula is not a formula.Adam Vandenberg
Closes Homebrew/homebrew#17492.
2013-01-31Don't let xcrun find superenv tools.Mike McQuaid
Causes an infinite loop when trying to find e.g. missing gcc. Closes Homebrew/homebrew#17426 References Homebrew/homebrew#17455
2013-01-31brew doctor: Check for CaSe SeNsItIvE fsSamuel John
Closes Homebrew/homebrew#16658. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-31build: accept X11 proxies as X11 depsJack Nagel
2013-01-31Update documentation for Dependency.expandJack Nagel
2013-01-31Proper recursive expansion of requirements with filteringJack Nagel
Expand requirements recursively while applying the same optional? and recommended? filters that dependencies are run through. Options generated by requirements are now checked against the correct list of requirements, eliminating the temporary "best guess" logic in the installer.
2013-01-31Create proxy classes for "partial" X11 dependenciesJack Nagel
When a formula's dependency tree contains more than one X11 dependency, they are de-duplicated by comparing the min_version attribute. However, this can result in broken dependency trees if one of the X11Dependency objects was actually specified as e.g. `:libpng`. In practice, this only matters when one or more of the dependencies has additional metadata that makes it distinct from the rest, i.e. an :optional or :recommended tag. To combat this, make these special, "partial" X11 dependencies instances of different classes so that they are not de-duped. It will still be necessary, at the time when requirements are expanded by the installer, to de-duplicate any remaining X11 dependencies after applying the optional/recommended filters in order to avoid duplicated modifications to the environment (as ENV.x11 is not idempotent). c.f. Homebrew/homebrew#17369.
2013-01-30Remove MD5 support.Mike McQuaid
Closes Homebrew/homebrew#17317.
2013-01-30brew-search: search homebrew/apache tap.Mike McQuaid
2013-01-30Make local bottle installation more robust.Mike McQuaid
Use versions to better get hold of the filename.
2013-01-30jpeg: support version format.Mike McQuaid