aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2012-03-18Make the tapping already there step actually workMax Howell
For when the symlink for a tap already exists and points to the thing we are about to symlink. This can happen, mostly because my code has sucked, but since the filesystem can be edited by the user at whim, it's possible then too.
2012-03-18Don't warn about .DS_StoreMax Howell
Fixes Homebrew/homebrew#11018.
2012-03-17doctor: check OS versionAdam Vandenberg
We warn if you are not running the latest Leopard or Snow Leopard. (We do not currently check Lion or Mountain Lion versions.)
2012-03-17bsdmake is a build-time depJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-17audit: check for install options being shadowedAdam Vandenberg
2012-03-16Add `brew uses --recursive`Adam Vandenberg
Closes Homebrew/homebrew#8870.
2012-03-17Report correct conflicting tapMax Howell
Fixes: $ brew tap adamv/alt ...blah blah blah.. $ brew tap josegonzalez/php ...blah blah blah... Warning: Could not tap josegonzalez/php/php over mxcl/master/php Where it should be "over adamv/alt/php".
2012-03-17Allow dashes in tap-formula namesMax Howell
2012-03-16Tab completion for tapped formulaeJack Nagel
So you can do e.g. $ brew install adamv<TAB> Display all 106 possibilities? (y or n) $ brew install adamv/alt/openss<TAB> adamv/alt/openssh adamv/alt/openssl098 adamv/alt/openssl100 Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-16Appease the massesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-17Plain `brew tap` doesn't error if no Library/TapsMax Howell
Fixes Homebrew/homebrew#10994.
2012-03-16`brew search` will search taps we decide are coreMax Howell
This means `brew search` always does some network operations. Which is a shame, but I think (for brew) fine. Probably the no-connectivity handling needs to be improved.
2012-03-16Output tapped formula account properlyMax Howell
2012-03-16Bash completion for `brew untap`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-16Explicitly set OBJC in the environmentJack Nagel
Fixes Homebrew/homebrew#10951. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-16Tap more than one formula from taps other than altMax Howell
Whoops.
2012-03-16Homebrew 0.90.9Max Howell
2012-03-16Don't break if symlink already exists during tapMax Howell
This shouldn't happen but is possible and we should handle it. Also added some puts when tapping/untapping.
2012-03-16HOMEBREW_LIBRARYMax Howell
I got fed up writing HOMEBREW_REPOSITORY/"Library" and also correcting mistakes when I did HOMEBREW_PREFIX instead.
2012-03-16Taps can only have one directory of formulaMax Howell
Rationale: Let's not have duplicate-names. Insisting on only one directory lets the filesystem enforce this unique-naming criteria for us. We special-case adamv/alt for now, until we remove it.
2012-03-16Pathname.atomic_writeMax Howell
2012-03-16Better conflict warnings when tappingMax Howell
2012-03-16Record tap-origin in the install-receiptMax 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-16Doctor check for unlinked not-keg-only brewsMax Howell
Since these cause trouble.
2012-03-16Link new tapped formula during brew updateMax Howell
Required me to spoil tap's code. All in the name of DRY! Alas!
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-16`brew info` understands tapsMax Howell
Note I removed some of the code that changed the URL to be that of the github.user. Because this doesn't make any sense really. We want people to reference the commit history for whatever fork of homebrew they have checked out. So this is now what it does.
2012-03-16Leave kegs keg-only if linking step failsMax Howell
Rationale: well, it should always have been like this! However now we are opening ourselves up to more-mixed installations of formula not maintained by us, it's important that
2012-03-16`brew update` will update tapsMax Howell
2012-03-16Refer users to correct tracker for tapped brewsMax Howell
2012-03-16`brew edit adamv/alt/ruby` worksMax Howell
The reason it didn't work is it doesn't use ARGV.formulae because it needs to be able to edit stuff that doesn't parse. Most other stuff already works because we are awesome.
2012-03-16canonical_name can resolve tapsMax Howell
2012-03-16Prevent tapped symlinks showing up in git statusMax Howell
The symlinks taps write to Formula show up in git status, but this trick prevents this. brew-(un)tap maintain a .gitignore in Formula that contains all the symlinks brew-tap creates. We add the .gitignore to the root .gitignore and TADA! Magic.
2012-03-16`brew tap` and `brew untap`Max Howell
2012-03-16Improve CLI tools suggestion doctor textMax Howell
2012-03-16xcode_version works for Xcode 4.3 without CLIToolsMax Howell
Also correct heinous error when I put `case nil` in the code. Also outputs "dunno" if we really can't figure it out. I think this is safe.
2012-03-16Let's print the full pathMax Howell
2012-03-16Tell user to `brew update' if no .gitMax Howell
2012-03-16Warn about broken symlinks in HOMEBREW_PREFIXMax Howell
Refs Homebrew/homebrew#10874.
2012-03-15Remove invalid character for UTF-8Michael Nygard
Closes Homebrew/homebrew#10962. Signed-off-by: Max Howell <max@methylblue.com>
2012-03-15Explicitly tell people not to xcode-select /Max Howell
Fed up dealing with this bug in xcode-select.
2012-03-15ohai'ing this is ugly IMOMax Howell
I wanted to make it possible to not do the additional newline (in brew) if this code path is hit. But I didn't see a way to do it without overriding the Interrupt exception and throwing a new one. “Never add more code than necessary for aesthetics in error handling.” — mxcl
2012-03-15Abort installs if reps are installed but not linkedMax Howell
Except for keg-only reps of course. I suspect quite a few bug reports we receive are due to this sort of thing. Ideally we'd not do this check for deps, since they have already been checked. I fear some weird consequences. But this check *should* be done before unlinking the previously installed brew in the case of upgrades. And the ignore_deps flag is set after the initialiser. There are ways round this but the code would be less nice.
2012-03-13`brew test` now gets a compilation environmentAdam Vandenberg
2012-03-13Remove libiconv duplicateCamillo Lugaresi
Commit ee2c3ab ("Remove spurious libiconv dependencies") pruned all existing "depends_on 'libiconv'" usages from Homebrew in preparation for removing the libiconv dupe itself. Now that is done, and we can remove and blacklist it. It can be obtained from Homebrew-alt. Closes Homebrew/homebrew#10464. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-14Use /Library/Caches/HomebrewMax Howell
We don't penalise existing users; if ~/Library/Caches/Homebrew already exists and is writable, we select that. This is the correct choice, the cache should be the same directory whichever user is used and whatever instance of brew is invoked. The Cache directory is set to 0777 this allows any user to write to it and fixes Homebrew/homebrew#10857.
2012-03-13Adjust compat's fails_with_llvm callJack Nagel
handle_llvm_failure was moved into FailsWithLLVM and renamed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-13Quote the .xz path in case of spacesAdam Vandenberg
2012-03-12brew doctor: check for DYLD_INSERT_LIBRARIESAdam Vandenberg