aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2011-08-31Improved no-errors outputMax Howell
2011-08-31Only report PATH order diagnosis if conflicts are foundMax Howell
Rationale: brew doctor shouldn't give warnings for a default install. And this particular warning only applies for a small subset of formula: the ones that are "dupes". If we get reported issues that prove this was a mistake we will revert it.
2011-08-31Check for missing deps as part of `brew doctor`Max Howell
2011-08-31Save config.log to ~/Library/Logs/HomebrewMax Howell
Also tidied error output. Still could be tidied quite a lot but I am still considering how best to go about it.
2011-08-31Blacklist lzma since it was removedMax Howell
Now when people search for it or try to install it they will receive a helpful message.
2011-08-31Fix Xcode 4.2 cc compilesEugene Ray
It seems like latest build of Xcode 4.2 doesn't create "-4.2" links in /usr/bin. Because of this recipes fail with "configure: error: C compiler cannot create executables" error. Closes #7254. Closes #7276. Signed-off-by: Max Howell <max@methylblue.com> Amended to work as intended, since /usr/bin/cc is actually since Xcode 4. Amended commit message. First line must be less than 72 characters! :P
2011-08-31fix version parser for upcoming erlang bottleJan Lehnardt
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-08-29formula.rb: Don't curl when DATA is the only patchCharlie Sharpsteen
Executing `curl(*patches)` was failing on Leopard when `patches` was an empty list. `git-bisect` identified 48552bb42a69ece4eb2a6d9acf81a0b47adb19c9 as the commit that caused this bug to surface by adding `--insecure` to the arg list on Leopard. This is odd because the following both exit with status 2: curl curl --insecure The only apparent difference is that `curl --insecure` prints "no URL specified!" to stderr along with the usage message. Also renamed `patches` to `external_patches` as it is more descriptive.
2011-08-28Prune LinkedKegs tooMax Howell
2011-08-26Correct typoMax Howell
2011-08-26`git reset --hard` after fetch; Fixes #7124Max Howell
I believe this fixes it though I confess I didn't test. The guy who opened this issue is the expert.
2011-08-26Apologies, forgot to amend the commitMax Howell
2011-08-26Only clone with a depth when targeting HEAD or a tag.Ben Burkert
Closes #7101. Signed-off-by: Max Howell <max@methylblue.com>
2011-08-26Some more sanity with ENV.compilerMax Howell
Deprecated use_clang? etc. since the logic was such that multiple states could be set, when in reality only one compiler can be set. Changed fails_with_llvm handling so if HOMEBREW_USE_LLVM is set then it tries to build even if the formula has fails_with_llvm set. Rationale: mostly they will no longer fail and we need to catch these cases.
2011-08-26Add ENV.clang; Fixes #6580Max Howell
Also tidied it up a little, reducing duplication as per original patch.
2011-08-26Use curl with --insecure when on OS X < 10.6Max Howell
The SSL certificates on this old version of OS X are outdated and who knows if Apple will fix them. Fixes #6103.
2011-08-26Feature new/removed internal commandsMax Howell
Removed updated external commands, like seriously, who cares? We could add it back as if --verbose is set I guess but in all honesty, if nobody complains then nobody cared. # We removed many redundant comments Removed many redundant comments. Fixes #7191; though it could be fixed better.
2011-08-26Fix `brew update` after new install for real this time?Max Howell
Fixes #7220.
2011-08-25Leopard: Eliminate moar `Array.count` from `brew upgrade`Charlie Sharpsteen
2011-08-25Only use the bottle if its version is up-to-dateMax Howell
Rationale: if you edit a formula to use a different source URL it should build that and not the pour the bottle. Obviously.
2011-08-24Leopard: Fix undefined method `count` for `Array`Charlie Sharpsteen
Leopard runs Ruby 1.8.6 while Snow Leopard runs 1.8.7 and `Array.count` was not introduced until 1.8.7. Using `Array.length` instead.
2011-08-25`brew update` uses origin rather than full URLMax Howell
This is more flexible for forks and personal customisations, and also more useful for us collaborators since the origin HEAD will be kept up-to-date.
2011-08-25Force contributors to define a test by adding it to the create templateMax Howell
A little cheeky but it should help us to maintain higher quality.
2011-08-25-march=native doesn't work at all. Gee.Max Howell
Fixes #7185.
2011-08-25add arrandale to list of core2 CPUsChip Turner
2011-08-24ENV: allow a user-configurable number of make jobsJack Nagel
Let an environment variable, HOMEBREW_MAKE_JOBS, override the default '-j<cores>' make flag. Now we can more easily debug formula that normally build in parallel, or (potentially) speed up lengthy builds.
2011-08-24Don't include LinkedKegs or Aliases with `brew edit`Max Howell
2011-08-24Use -march=native when we don't otherwise knowMax Howell
I believe this works nowadays. When I created Homebrew originally, it did nothing. Hence all the other logic.
2011-08-24Recursively scan for keg-only deps before generating build ENVMax Howell
Remove cairo dep from gtk formula as a consequence.
2011-08-24Rename install.rb to build.rb for clarity and great justiceMax Howell
It was just confusing, and since the `brew upgrade` refactor this makes more sense too. Shame it still downloads in there etc. but whatever. Homebrew 2 will fix!
2011-08-24Record which keg is linkedMax Howell
Will be useful for a variety of reasons, but for now, I'm just using it to ensure install won't install again if something is already installed (use brew upgrade instead). But means that brew switch and that can work properly etc.
2011-08-24Fix keg exception pretty outputMax Howell
2011-08-24Implement bottles againMax Howell
Bottles now pour purely, without doing all the other unnecessary stuff that happened before the `brew upgrade` code shuffle. Formula.pourable? removed since it was install-specific metadata and not related to the formula itself. Now all such logic is in the FormulaInstaller which is much cleaner. I also changed the bottle cache location to the normal directory and added a .bottle pre-extension. Thus you can see everything in one directory without messing about.
2011-08-24`brew upgrade`Max Howell
Consequence: you can no longer install when something is already installed, you must upgrade it. This doesn't apply if the formula in question was unlinked. You can still --force installs though. Rationale: the old way of installing over the top would leave symlinks to multiple versions in /usr/local if the old version had a file the newer version didn't. The new upgrade command handles everything properly.
2011-08-24Tidy ENV.rbMax Howell
2011-08-24Observe all applicable options in handle_llvm_failureMax Howell
2011-08-24Auto-substitute certain variables in DATA patchesMax Howell
HOMEBREW_PREFIX for example.
2011-08-24Prettier brew uses output (columnate)Max Howell
2011-08-24HOMEBREW_CURL_ARGS so that tests can be more silentMax Howell
2011-08-24oh1 stdout display functionMax Howell
2011-08-24Constants that are used once are dumbMax Howell
It just means nobody knows what is being done without scrolling up and down, up and down the file like a doofus on a pogo stick.
2011-08-24Revise cleanup text, we're removing, not uninstallingMax Howell
2011-08-22Fix uninstall.rb `brew remove --force` "Directory not empty" errorDave Bayer
Finder activity such as moving the position of an icon can create an unexpected .DS_Store file in a Cellar directory. This causes `brew remove --force` to throw an error that is reported as Error: Directory not empty - /usr/local/Cellar/<formula> This fix avoids that error, by calling rmtree rather than rmdir. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-22Specify that they are symlinksMax Howell
2011-08-19Blacklist MacRubyMax Howell
For now we don't support this kind of thing because our formula is a worse option, even though you have to update it yourself. Closes #6174
2011-08-17Only error out for `sudo brew install`Max Howell
Note this only happens if Homebrew is *not* installed sudo. Which is most of the time true. Fixes #6899
2011-08-11Add keg-only text to `brew info` outputJack Nagel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-07brew doctor: do not check TMPDIR if it is not setAdam Vandenberg
2011-08-06Reset --hard after the first git initMax Howell
We don't know what revision the tarball was when homebrew was installed, so all we can do really is hard reset. In theory some set of git commands should suffice, but apparently --soft and --mixed resets ended up putting stuff in the index which would break subsequent `brew updates`. Fixes #6851
2011-08-04Fix Xcode 4 compiler paths for --use-gccCharlieRoot
Signed-off-by: Adam Vandenberg <flangy@gmail.com>