aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2012-03-20Allow a different package and import name for language deps.Adam Vandenberg
Some times the module to import is different than the module to install when dealing with external dependencies. This change allows an optional import name to be specififed when it is different from the module name. Closes Homebrew/homebrew#11078.
2012-03-20Generate unique patch filenamesjanv
Closes Homebrew/homebrew#11098. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-20Add tests for patches.rbAdam Vandenberg
2012-03-20Update Xcode version checksJack Nagel
Closes Homebrew/homebrew#11044. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-20Update issues URLJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-20Don't try to link info/dir with HOMEBREW_KEEP_INFOMisty De Meo
Some formulae have local info/dir files from before 9610ff2, and attempting to link their info/dir over PREFIX/share/info/dir caused linking to fail.
2012-03-20Fix inappropriate linking of info filesMisty De Meo
share/info files were always being linked if they existed, regardless of whether the user had HOMEBREW_KEEP_INFO set. This primarily affects users with software built before 9610ff2e9e06931693f49d4377ee26c0e664c547. This also fixes a bug in Keg#link_dir, in which a file would always be linked if no argument was passed.
2012-03-20Skip linking info/dirMisty De Meo
The regexp that handles skipping info files was only skipping info/*.info files, but several formula would create info/dir files as well. Since these conflicted with each other, Homebrew would error out during the linking step.
2012-03-20Remove broken `puts` from verbose `brew link`Jack Nagel
The print wrapper which has its own `puts` broke this line; though with the changes to `link` it isn't necessary any longer, so just remove it. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-20Don't query online for plain `brew search`Max Howell
2012-03-19audit: add tests for patchesAdam Vandenberg
2012-03-19Use PatchesAdam Vandenberg
2012-03-19Add Patches classAdam Vandenberg
2012-03-19Be more helpful about how to resolve this issueMax Howell
2012-03-19If no formula but multiple kegs, advise resolutionMax Howell
In this case the user will simply have to delete all but one keg in order to use the command that uses ARGV.kegs. Refs Homebrew/homebrew#11050.
2012-03-19Tell the user to run doctor after installingMax Howell
2012-03-19Don't error if exact link already existsMax Howell
If the link already exists exactly (well almost exactly) as we are about to correct it, then it's okay. Otherwise we error out. This is a safe choice, and really, the correct choice too. This will prevent the tickets like Homebrew/homebrew#11050 from occurring.
2012-03-19Better error when linking failsMax Howell
Refs http://stackoverflow.com/questions/9762943 The system ln no longer outputs anything. Though the user can force its output with a --verbose of course. So in cases where it's not the usual of: not writable or existing file, we can ask the user to run with --verbose. I don't particularly like hiding its output, but it just confused the error IMO since it is creating a relative symlink the output was weird every time I've seen it in tickets. I made a print wrapper so that the brew-link output doesn't get mucked up if an exception is thrown.
2012-03-18Document `brew tap` and `brew untap`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-18Clarify `install --force`Jack Nagel
Since 5bddaf2e ("Stop supportinb `brew install --force`), the --force argument is still useful but only to overcome the blacklist restrictions. Document this. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-18nodejs alias + blacklist text tweakMax Howell
Everyone calls it "nodejs" so not having an alias to this is dumb.
2012-03-18Fix bottles on non-Lion.Mike McQuaid
2012-03-18Remove reliance of bottle DSL on EOCLASS.Mike McQuaid
2012-03-18Implement new bottle syntax in formula.rbMisty De Meo
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-03-18Fix bottle redownloading and bad naming.Mike McQuaid
2012-03-18Set MACOS_VERSION as 0 on non-OSX platforms.Mike McQuaid
2012-03-18Rename external commands directory from examples.Mike McQuaid
Fixes Homebrew/homebrew#10829.
2012-03-18Use fetch for downloading bottles.Mike McQuaid
Fixes Homebrew/homebrew#10958.
2012-03-18Downcase when checking if no tap search neededMax Howell
2012-03-18Special case "Homebrew" in brew-searchMax Howell
Again, "Homebrew" is changed to "homebrew" before rendering to the user.
2012-03-18Downcase tap parameters in Formula.canonical_nameMax Howell
See previous commit's explanation.
2012-03-18Special case Homebrew organization tapsMax Howell
We allow homebrew/dupes for instance, rather than Homebrew/dupes. Because nobody likes shifting in the terminal. In the process of doing this I discovered some case-insensitive filesystem bugs we have avoided before because I had the foresight to mandate lowercase in formula names. GitHub considers Homebrew and homebrew to be different (even though you can't create both). So we had to allow case insensitivity in tap input. I have made it now so the resulting directory however is lowercased, neatly avoiding the issue. And so we also downcase tap arguments when applying them to tap directories or formula.
2012-03-18Add brew/versions and brew/dupes to searchMax Howell
2012-03-18Handle when formula are deleted from tapsMax Howell
The symlinks in Formula must be updated.
2012-03-18Generalise the untap step so we can add to updateMax Howell
brew-update needs to be able to unsymlink removed stuff from taps too.
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>