aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2012-12-22Try to find XQuartz via pkgutil if mdls failsJack Nagel
c.f. Homebrew/homebrew#16296.
2012-12-22doctor: add helper for printing file listingsJack Nagel
2012-12-21doctor: f.prefix is already a pathnameJack Nagel
2012-12-21doctor: print offending paths in check_for_gettextJack Nagel
c.f. Homebrew/homebrew#16688.
2012-12-21doctor: rename path_folders to pathsJack Nagel
2012-12-21doctor: use a more rubyish conditionalJack Nagel
2012-12-21doctor: avoid pointless creation of pathname objectJack Nagel
2012-12-21doctor: run slowest checks lastJack Nagel
2012-12-21Make "XQuartz is installed" heurstic stricterJack Nagel
2012-12-19brew-pull: Don't pipe diff stats through the pagerCharlie Sharpsteen
Pass the `--no-pager` flag to git when grabbing a diff summary for a patch as there is no good reason to invoke a pager for ~2-10 lines that the user must then exit manually.
2012-12-19cleanup: fix 1.8.6 compatibilty issueJack Nagel
Fixes Homebrew/homebrew#16655.
2012-12-18upgrade.rb: Generate Tab from Keg not FormulaCharlie Sharpsteen
Two issues were preventing `brew upgrade` from functioning properly: - `Tab.for_formula` was used to recover options from prior installs. The problem is that during an upgrade `for_formula` will be directed to a non-existant install of the newer version and thus returns a forged tab claiming no options were invoked. - The assignment to `installer.install_bottle` requires parenthesis in order to function properly.
2012-12-17Better reporting for MacPorts/Fink installationsJack Nagel
closes Homebrew/homebrew#15853.
2012-12-16Revert "Add launchctl_instructions method"Jack Nagel
This code makes assumptions about the existence of prefix which are valid in the context of the installer, but not necessarily in the context of `brew info`, thus `brew info` on an outdated formula errors out. This reverts commit e5b53dd64b769b67805d1054d906f7083939d905.
2012-12-16Add launchctl_instructions methodLorenzo Manacorda
Closes Homebrew/homebrew#16604. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-12-16brew test-bot: handle dependencies better.Mike McQuaid
2012-12-16Check if Cellar and Cache exist before cleaning.Mike McQuaid
2012-12-16Add another Erlang version format.Mike McQuaid
2012-12-12Improve Xcode and CLT config reportingJack Nagel
We support three configurations: Xcode-only, CLT-only, and Xcode with CLT. Our configuration output should correctly reflect this. While MacOS::Xcode.version has to continue to return a guess if Xcode is not installed in order to maintain backwards compatibility, this is an implementation detail that we don't need to expose to the user. And it makes `brew --config` output confusing. So let's only print the "Xcode" line when an actual Xcode installation is present. This makes it easy to quickly figure out which of the three possible configurations the user is running. Addresses Homebrew/homebrew#14941, more or less.
2012-12-12Fix stupid typo in bottle fix.Mike McQuaid
2012-12-11Disable bottle installation correctly on 10.6.Mike McQuaid
2012-12-11Properly escape log filenameJack Nagel
Closes Homebrew/homebrew#16485.
2012-12-11pathname.rb: Pass -s to du instead of -d0Shaun Jackman
The option `du -s` is equivalent to `du -d0`. The former is a POSIX standard (IEEE Std 1003.1-2008), whereas the latter is a BSD extension. From the BSD man page: `-s Display an entry for each specified file. (Equivalent to -d 0)` From SUSv4: `-s Instead of the default output, report only the total sum for each of the specified files.` http://pubs.opengroup.org/onlinepubs/9699919799/utilities/du.html Closes Homebrew/homebrew#16516. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-12-08Don't print error message when dev_tools_path fails to find toolsJack Nagel
This message is either (a) never printed because the tools are installed, or (b) printed every time this method is called. See Homebrew/homebrew#16119. This code shouldn't be responsible for UX anyway, so just remove it and let other parts of Homebrew be responsible for failing or declaring that they need the developer tools.
2012-12-08doctor: don't check keg-onlies if cellar doesn't existJack Nagel
2012-12-04proper version sort in `outdated` commandMislav Marohnić
c.f. Homebrew/homebrew#16382. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-04propert version sort in `info` commandMislav Marohnić
Closes Homebrew/homebrew#16382. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-04Improve bottle error messages.Mike McQuaid
On installation or creation of a bottle error out of the current machine does not support bottles. References Homebrew/homebrew#16291.
2012-12-04brew-cleanup: check whether keg is a directory.Xiyue Deng
* Avoid problem when encountering `.DS_Store' in Cellar. Closes Homebrew/homebrew#16356. Closes Homebrew/homebrew#16388. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-12-04brew-services: fix by using formula.plist_name.Aaron Suggs
Fixes errors like: ``` $ brew services restart mysql Error: Formula `mysql` not installed, #startup_plist not implemented or no plist file found ``` Closes Homebrew/homebrew#16378. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-12-03Fix startup plist instructions.Mike McQuaid
Closes Homebrew/homebrew#16369.
2012-12-01Fix broken `brew cleanup` testsJack Nagel
2012-12-01Fix bad reference to local_bottle_path.Mike McQuaid
Fixes Homebrew/homebrew#16337.
2012-12-01Support installing bottles from local files.Mike McQuaid
2012-12-01brew-test-bot: fix building hashes and cleanup.Mike McQuaid
2012-11-30brew cleanup: don't remove higher version kegs.Xiyue Deng
* Use version compare to only remove kegs with lower version than the current one, not higher version which might be from someone's branch. * Do the same for cache cleanup. - Be conservative so that if a name detected from cache file is not the same as its formula then don't clean it. Closes Homebrew/homebrew#15914. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-11-28Fix Formula.factory for Formula subclassesMisty De Meo
Fixes Homebrew/homebrew#16288.
2012-11-28Formula.factory: raise on encountering non-FormulaMisty De Meo
Formula.factory naively assumed that any already-loaded constant fed into it was a formula, with confusing results when trying to `brew install` a name from the ruby stdlib. Fixes Homebrew/homebrew#16284.
2012-11-26Whitelist 10.8.2 Supplemental Update static libs.Mike McQuaid
Fixes Homebrew/homebrew#16215.
2012-11-25Make generic caveats for launchd plist files.Mike McQuaid
2012-11-25Copy rather than move e.g. war files.Mike McQuaid
2012-11-25Rewrite plists when installing from a bottleJack Nagel
2012-11-25brew-test-bot: fetch before install.Mike McQuaid
2012-11-25brew-test-bot: don't cleanup HOMEBREW_PREFIX.Mike McQuaid
2012-11-25brew-test-bot: general cleanup.Mike McQuaid
2012-11-25brew-test-bot: support commits as arguments.Mike McQuaid
2012-11-25Overwrite plists.Mike McQuaid
2012-11-25Don't warn users about bad packaging.Mike McQuaid
2012-11-24Remove outdated commentJack Nagel
2012-11-23Update manpage. Fixes Homebrew/homebrew#16206.Adam Vandenberg