aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
AgeCommit message (Collapse)Author
2011-09-19Only try mirrors for CurlDownloadStrategiesMax Howell
Also adjust output text slightly for prettiness. A possibly useful side effect here is safe_system has a defined Exception (subclassing RuntimeError) now.
2011-09-19exceptions.rb: Add DownloadErrorCharlie Sharpsteen
`DownloadError` is an exception that download stratigies can throw to indicate that a fetch was incomplete due to a failure in communication. The `curl` method in `utils.rb` has been upgraded to throw a `DownloadError` if something bad happens to `curl` execution.
2011-09-11Python easy_install just needs the packageKevin Moore
adding 'install' to the command line breaks things Closes Homebrew/homebrew#7489. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-11UnsatisfiedExternalDependencyError: init errorKevin Moore
Pass message and formula to super so useful output occurs. Closes Homebrew/homebrew#7507. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-04-25Remove reference to 'brew install pip'Adam Vandenberg
2011-03-26remove whitespaceAdam Vandenberg
2011-03-14Fix reporting of build errors.Adam Vandenberg
2011-03-12Fix inheritance in exceptionsAdam Vandenberg
2011-03-12Fix 'brew install f' for already-installed brews.Adam Vandenberg
2011-03-12Move some exceptionsAdam Vandenberg
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.