aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2012-04-06Add test for ghc version styleJack Nagel
the ghc formula had an explicit version because we had trouble parsing the version from the 64-bit URL. It is working now, so add a test to ensure it isn't broken in the future. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-05Use GitHub API 3 in `brew search`Max Howell
2012-04-04patches.rb: Fix warning thrown by Ruby 1.8.6Charlie Sharpsteen
Need to be consistent with use of parenthesis in functions.
2012-04-04Populate empty mirror_list for bottles.Mike McQuaid
Fixes Homebrew/homebrew#11434.
2012-04-04Use current bottle versions to calculate new ones.Mike McQuaid
2012-04-03doctor: fix typosRory O’Kane
Closes Homebrew/homebrew#11418. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-02fetch: don't display cached location twiceJack Nagel
The download strategy will print the cached location if we've already fetched it, so avoid printing redundant information. Also just "puts" it instead of using a second `ohai` line. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-03Version bottles.Mike McQuaid
2012-04-01Reset compiler when testing fails_withJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01New fails_with infrastructureJack Nagel
- Formulae can now declare failures on any compiler. - FailsWithLLVM and associated formula elements have been moved to compat. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-30Show target path when emptyAdam Vandenberg
2012-03-30install: warn when passed no filesAdam Vandenberg
Rationale: we warn when inreplace makes no changes; this is a similar sort of warning. We expected some list (probably via Dir) to include some files, but none were found. Either the list was wrong, or the install can now be omitted.
2012-03-29info: always indicate if a keg is linkedJack Nagel
We mark the linked keg with an asterisk when multiple kegs exist, but not when there is only a single keg. Start marking even in this case, giving consistent behavior and a reliable indicate of the link status. Fixes Homebrew/homebrew#11300. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-29Exit with bad exit code on command failures.Mike McQuaid
2012-03-29brew-bottle doesn't need to specify filenames now.Mike McQuaid
2012-03-28typoDiego Plentz
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-25Fix `brew unlink`Max Howell
Whoops.
2012-03-25Speed-up brew-unlink under certain conditionsMax Howell
This massively speeds up upgrades for certain formula, ie. formula with lots of files that aren't in the directories we link. I found upgrading android took ages before the un-tar step and it was indeed for this reason.
2012-03-25Search Homebrew/gamesMax Howell
2012-03-24Fix typo in --config.rbJack Nagel
Closes Homebrew/homebrew#11183. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-23Parse raw diff output in `brew update`Jack Nagel
Using each_cons() "works", but to report all changes correctly we need to look at the last elements even after we've looked at the last 3 consecutive elements. Instead, let's parse each line of the raw diff output using a regexp. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-23Pass the tab to FormulaInstallerJack Nagel
Callers of FormulaInstaller now usually unlink the existing keg prior to running the installer. However, Tab.for_formula uses the LinkedKeg record to obtain the tab. Since we need the tab to persist install options across upgrades, we must start creating the Tab object before unlinking the old keg and passing it to the FormulaInstaller. Fixes Homebrew/homebrew#11086. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-22Detect and display renames in `brew update`Jack Nagel
Renamed formulae will cease to display as an add/delete pair and instead end up the in the "Renamed" section. In the future we should be able to take this information and use it to rename existing kegs during updates, allowing us to rename formulae without breaking upgrades. Renaming a formula requires renaming the class, so there will be at least one add/delete pair in the file. Thus, the similarity threshold for detecting renames is set at 85% to allow a little bit of content turnover without losing track of the rename. Closes Homebrew/homebrew#11158. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-22Use --verify when querying HEADJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-23Check tapped before trying to untapMax Howell
If the tap-formula wasn't symlinked for some reason, don't throw an exception—the job is already done.
2012-03-23Bottles currently require 64-bit hardware on 10.6.Mike McQuaid
2012-03-23Fix broken default bottle URL.Mike McQuaid
2012-03-22Don't double print ln message in verbose modeMax Howell
Refs Homebrew/homebrew#11091.
2012-03-21brew doctor: check for trailing slashes in pathAdam Vandenberg
Having path directories with trailing slashes can cause other false warnings. Closes Homebrew/homebrew#9986.
2012-03-21Patch: expose download_filenameAdam Vandenberg
2012-03-21Update missing Xcode adviceJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-21ENV: reset LD when switching compilersJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-21ENV: normalize usage of "self" and "ENV"Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-21brew fetch: show downloaded pathAdam Vandenberg
2012-03-20Fix Dependency equalityAdam Vandenberg
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.