aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2013-09-30Handle invalid names in download strategiesJack Nagel
When subformulae are initialized without a name parameter, Homebrew assigns the name "__UNKNOWN__". This may cause collisions in the cache. Currently CurlDownloadStrategy and its descendants handles this by extracting the basename form the URL and using that as the cached filename. However, other strategies simply raise an exception. We can improve the other strategies by URL-encoding the URL string and using that as the cached directory name. Note that this happens very rarely, especially now that resources (which always have a name) are preferred to subformulae. The most common case is a subformula that specifies a head download. Closes Homebrew/homebrew#22949.
2013-09-28Move ld64 into SharedEnvExtensionMisty De Meo
Superenv is being tested on Xcode 3.1.4, so this needs to be supported in both ENVs, not just stdenv.
2013-09-28BazaarDownloadStrategy: handle corrupt checkoutsJack Nagel
2013-09-28Remove commented out code, this is in git after allJack Nagel
2013-09-28SubversionDownloadStrategy: handle corrupt checkoutsJack Nagel
2013-09-28MercurialDownloadStrategy: pull quietly in non-verbose modeJack Nagel
2013-09-28MercurialDownloadStrategy: handle corrupt checkoutsJack Nagel
2013-09-28Infer dependencies from download strategies and URLsJack Nagel
Closes Homebrew/homebrew#20849. Closes Homebrew/homebrew#22871.
2013-09-27Allow Dependency objects to be marshaledJack Nagel
When an exception is raised in the build process, it is marshaled and sent to the main process over a pipe. The marshaled exception has a reference to the formula, so the formula and all objects it references are marshaled as well. Previously this did not include dependencies, as they were stored only on the class and not referenced by an instance variable. However, now they are stored on SoftwareSpec instances, to which the formula *does* have a direct reference, so they must be marshalable.
2013-09-27Adjust CompilerSelectionError messageMisty De Meo
2013-09-27SoftwareSpec: remove dead codeJack Nagel
2013-09-27Bottle: set version from stable spec.Mike McQuaid
2013-09-26upgrade.rb: Fix plural_s when number = 0Nikolaus Wittenstein
Currently Upgrade prints out: "Upgrading 0 outdated package, with result:" This change makes it print: "Upgrading 0 outdated packages, with result:" correctly pluralizing "packages". Closes Homebrew/homebrew#22854. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-26Raise when given an invalid download strategy specJack Nagel
When DownloadStrategyDetector.detect is given a second argument, and that argument is not a symbol or an AbstractDownloadStrategy subclass, it is silently ignored, and we fall back to guessing the strategy based on the URL. This means I can do url 'http://foo.com/bar.tar.gz', :using => Class.new and things will appear to work, even though I have clearly passed an invalid value for :using. A more useful behavior is to raise an exception for unknown strategy specifications.
2013-09-26Simplify setup for local bottle installationJack Nagel
Closes Homebrew/homebrew#22833.
2013-09-25Move "Pouring" message to relevant download strategiesJack Nagel
2013-09-24add S3DownloadStrategyRaymie Stata
downloads tarballs from public and private S3 buckets Closes Homebrew/homebrew#22779. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-24update: handle realpath exception.Mike McQuaid
2013-09-24update: untap/retap formulae before/after pull.Mike McQuaid
This should fix problems like Homebrew/homebrew#19799 where we pull formulae from taps into core. I want to get something similar merged ASAP so we can pull GCC into core (see Homebrew/homebrew#20678). Closes Homebrew/homebrew#19799.
2013-09-23Clean up SoftwareSpec and Resource initializersJack Nagel
2013-09-23Set owner of resources to SoftwareSpec objectJack Nagel
2013-09-23Set name of SoftwareSpec to owner nameJack Nagel
2013-09-23Initialize cached filenames lazilyJack Nagel
Closes Homebrew/homebrew#22751.
2013-09-23bottle: add option to force no bottle revision.Mike McQuaid
2013-09-23bottle: fix merging .rb files.Mike McQuaid
2013-09-23bottle: fix default Cellar output.Mike McQuaid
2013-09-22don't audit jp sourceforge URLsAdam Vandenberg
2013-09-22Group DSL methods that delegate to the stable specJack Nagel
2013-09-22bottle: allow writing/committing new bottles.Mike McQuaid
2013-09-22Move bottle.rb logic from test-bot to brew bottle.Mike McQuaid
2013-09-22bottle: only output relocatable message if >1MB.Mike McQuaid
2013-09-22bottle: move bottle output to ERB.Mike McQuaid
2013-09-22SoftwareSpec: add method for bottle checksums.Mike McQuaid
2013-09-22bottle: use versions to access previous bottles.Mike McQuaid
2013-09-22versions: use bottle_filename only if f.bottle.Mike McQuaid
2013-09-22versions: add bottle filenames method.Mike McQuaid
Closes Homebrew/homebrew#22727.
2013-09-22versions: add branch support in rev_list.Mike McQuaid
2013-09-22versions: split version_for_sha and use yield.Mike McQuaid
2013-09-21Allow explicitly requiring universal depsJack Nagel
Previously, instructing Homebrew that all dependencies should be built universal could be accomplished by redefining BuildOptions#universal? in the class body: def build.universal? true end However, the build object is no longer shared by all specs, so this is insufficient. Instead, a new DSL method, "require_universal_deps", can be used. This feature is almost exclusively for wine, which requires universal deps but does not itself have a universal option, since it is always built 32-bit.
2013-09-21Move dependencies to SoftwareSpecJack Nagel
2013-09-21Move options to SoftwareSpecJack Nagel
2013-09-21Give this condition a more revealing nameJack Nagel
2013-09-21bottle: fix --merge with multiple formulae.Mike McQuaid
2013-09-21bottle: improve outputted messages.Mike McQuaid
2013-09-20Add tests to ensure ENV.compiler is correctJack Nagel
2013-09-20At some point this started working againJack Nagel
2013-09-19ENV: Ensure @compiler is setMisty De Meo
If @compiler isn't set/checked by ENV.compiler and the ENV.clang/etc. methods, ENV.compiler may return unexpected results after fails_with picks a fallback compiler. See Homebrew/homebrew#22674.
2013-09-19Homebrew 0.9.50.9.5Adam Vandenberg
Update version due to recent compiler selection fixes.
2013-09-19More precise output for spec auditsJack Nagel
2013-09-19Audit spec resourcesJack Nagel