aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2014-02-22create: pull requires out of methodJack Nagel
2014-02-22Update method callJack Nagel
2014-02-22Remove download_strategy from SoftwareSpecJack Nagel
2014-02-22Remove brew-mirror-check commandJack Nagel
This command uses removed API and is thus broken. It can always be retrieved from the git history.
2014-02-22brew-test-bot: only cleanup cache once.Mike McQuaid
2014-02-22brew-test-bot: push master with tags.Mike McQuaid
2014-02-22bottle: detail what a new regex should match.Mike McQuaid
2014-02-22bottle_version: add x264.Mike McQuaid
2014-02-22bottle_version: improve test filenames.Mike McQuaid
2014-02-22brew-test-bot: force dep fetches on cleanup.Mike McQuaid
2014-02-22Use reader methodJack Nagel
2014-02-22Use standard assignment since #initialize is only called onceJack Nagel
2014-02-21Eliminate nil check on path parameterJack Nagel
2014-02-21Avoid ancestors.include?, klass1 < klass2 is fasterJack Nagel
2014-02-21Cache generated class namesJack Nagel
2014-02-21Move Formula.class_s to FormularyJack Nagel
2014-02-21Remove downloader from FormulaJack Nagel
2014-02-21Remove test with too much implementation knowledgeJack Nagel
2014-02-21Move methods to a more logical placeJack Nagel
2014-02-21Access bottle directly in FormulaInstallerJack Nagel
2014-02-21Adapt to Git 1.9's `submodule foreach` changesJosh Tilles
Closes Homebrew/homebrew#26871. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-20Delegate downloader to active_spec instead of storing it in an ivarJack Nagel
2014-02-20Consistently pass path into Formula constructorJack Nagel
2014-02-19Pass path into the Formula constructorJack Nagel
When the path argument to the Formula constructor is omitted, the instance's path attribute is created using the Formula.path class method. However, we have already done this work, so we can just pass it into the constructor. This translates to one less call to Pathname#to_s per formula, or about 2600 calls when running `brew readall`.
2014-02-19Eliminate some Pathname -> String -> Pathname conversionsJack Nagel
2014-02-19Push expand_path call down into FromPathLoaderJack Nagel
2014-02-19Fix building universal binaries on 32-bit CPUscadrpear
[jn: style, update comment] Closes Homebrew/homebrew#25728. Fixes Homebrew/homebrew#26834. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-18Stop exporting HOMEBREW_VERBOSE to build environmentJack Nagel
This flag no longer affects the output of the compiler wrappers, since everything is buffered by the build process rather than each individual tool. Additionally, this is a user-facing knob that affects ARGV.verbose?, and the combination of these two issues broke the --quieter feature.
2014-02-18Use standard curl progress output in verbose modeJack Nagel
Closes Homebrew/homebrew#26818.
2014-02-18Tweak DownloadError message to include wrapped exceptionJack Nagel
2014-02-18Collapse begin..end into def..end and use else clauseJack Nagel
2014-02-18Add DownloadError to catch a broader range of resource download errors.Drew Rodman
Adding a broader exception class allows for errors raised in Resource.fetch to be caught in upgrade and prevent the process from being killed when a download fails. This should resolve issue 18364. Fixes Homebrew/homebrew#18364. Closes Homebrew/homebrew#26618. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-18Inline static exception text to remove a rescueJack Nagel
2014-02-17pull: tap if necessary.Mike McQuaid
2014-02-16search: use a queue to collect errorsJack Nagel
The threading in the tap search code makes handling errors difficult. If an API-related error is raised in one thread, it is likely to be raised in each of the rest as well. This results in duplicated error messages, which is ugly and bad UX. This patch adds a synchronized queue to collect these exceptions. The first one added to the queue is re-raised after all operations are complete. It's not ideal, but it's minimally invasive and I don't have the energy or time to do a rewrite.
2014-02-16Add helpful error message for authentication failuresJack Nagel
2014-02-16Move error text and helper into error classJack Nagel
2014-02-16Add a more useful message when ratelimit is exceededJack Nagel
2014-02-16Make GitHub::Error a RuntimeError to suppress backtraceJack Nagel
2014-02-16Handle GitHub API authentication failuresJack Nagel
2014-02-16Extract error handling from GitHub.openJack Nagel
2014-02-16audit: handle recommended/optional options better.Mike McQuaid
2014-02-16audit: whitelist pyobject3 use of ARGV.Mike McQuaid
2014-02-16versions: ignore validation errors.Mike McQuaid
References Homebrew/homebrew#26748.
2014-02-15Formula#system: simplify xcodebuild special caseJack Nagel
2014-02-15Formula#system: remove unnecessary string castsJack Nagel
2014-02-15bottle: fail if there is no stable version.Mike McQuaid
Closes Homebrew/homebrew#26742.
2014-02-15GitDownloadStrategy: fix typo'd parameter nameJack Nagel
This should be "resource", not "resources", though it works anyway because there is a also "resource" reader method.
2014-02-14ARGV.help?: anchor to end of stringMisty De Meo
Fixes Homebrew/homebrew#26735.
2014-02-14GitDownloadStrategy: allow disabling of shallow cloneJack Nagel
Closes Homebrew/homebrew#25751. Closes Homebrew/homebrew#26730.