aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
AgeCommit message (Collapse)Author
2012-09-25Clean up and improve build-error output and logsMax Howell
All logs are now stored from each command executed in Formula.install. Error output is truncated to five lines in an attempt to not overwhelm the user and to encourage users to read the error output and report the bug properly. Maybe we can get that figure up from 70% to 90%.
2012-09-01Update build failure message.Adam Vandenberg
Have been seeing reports with only the config.log, so change this message.
2012-08-13Encourage clicks on issues linkMax Howell
2012-08-10Be more verbose when users insist on being sudoersMax Howell
If you google for "Cowardly refusing to sudo brew" you get a lot of confused users who didn't read any of the Homebrew documentation and then had a hissy-fit.
2012-08-07Allow multiple unsatisfied fatal requirementsAdam Vandenberg
Closes #13335.
2012-07-26Further improve brew doctor issue wiki text.Mike McQuaid
Following feedback from @mxcl on bcda0d.
2012-07-17Fix typo in commentJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-17Coerce advice to a string in ChecksumMismatchErrorJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04fetch: use new checksum verificationJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04Refactor checksummingJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-25Improve bug report wiki page text.Mike McQuaid
Fixes #12674.
2012-03-17Allow dashes in tap-formula namesMax Howell
2012-03-16Tell the user to tap (if req.) for tapped depsMax Howell
Also propagate dependency info through exception if possible so the error message is more useful.
2012-03-16Concise --config output for build errorsMax Howell
Rationale, lets only pay attention to the output when it matters. Speeding up diagnosis.
2012-03-16Refer users to correct tracker for tapped brewsMax Howell
2012-03-10Use new Requirements code in HomebrewAdam Vandenberg
2012-03-07Stop supporting `brew install --force'Max Howell
Rationale: it breaks stuff. You should not be able to install over something already installed *and* linked. brew now prompts you to unlink the existing linked keg first. I came to fix this because I discovered that `brew install foo` works without --force provided foo's formula version is different to that which is installed and linked. I'm not sure if this was intentionally broken, but it led to at least two tickets I found where people were getting crazy issues trying to install over the top of already installed previous versions. So I also fixed a whole category of other issues, mostly by moving error handling into FormulaInstaller. Now error's can be caught in Homebrew.install and handled on a formula-by-formula basis. I will next port this behaviour to upgrade.
2012-03-07Move brew output for BuildError into BuildErrorMax Howell
So upgrade can output errors but continue to upgrade the rest of the installation.
2012-02-29Add support for Luarocks dependencies.Adam Vandenberg
2012-02-27Remove some whitespace hereAdam Vandenberg
2012-02-25Add more external dep optionsSecond Planet
* Chicken Scheme * Node.js * Rubinius Closes #8466. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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 #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 #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.