aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2013-09-01brew-reinstall: don't try and rebuild bottles.Mike McQuaid
2013-08-30Use system path for more tools, for Linux compat.Dan Hughes
Closes #22196. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-26Prefer interpolation to concatenationJack Nagel
2013-08-21brew reinstall: Is able to work for all formulaeSamuel John
... and not just installed ones. Of course, strictly speaking, reinstalling not-yet-installed formulae makes semantically little sense, but the big win is that we can tell people (after we have resolved an issue) to `brew reinstall <formula>` and even if a user has removed that formula in the meantime, reinstall will do the right thing. Basically adding --force to uninstall. I think this makes reinstall more robust.
2013-08-21Revert "brew reinstall: Is able to work for all formulae"Samuel John
This reverts commit 865f763ae59fdf32f496ca416fd98117f3370f86.
2013-08-21brew reinstall: Is able to work for all formulaeSamuel John
... and not just installed ones. Of course, strictly speaking, reinstalling not-yet-installed formulae makes semantically little sense, but the big win is that we can tell people (after we have resolved an issue) to `brew reinstall <formula>` and even if a user has removed that formula in the meantime, reinstall will do the right thing. Basically adding --force to uninstall. I think this makes reinstall more robust.
2013-08-20brew create: Mention the example-formulaSamuel John
2013-08-19Use File::PATH_SEPARATOR globally instead of ':'Amos Wenger
On Unix, the path separator is ':', whereas on Windows, it is ';'. This is the first of a series of patch to bring macbrew's and winbrew's codebases closer together. The main places the magic constant ':' was being used were: - the $PATH environment variable - CMAKE-related environment variables - pkg-config related environment variables Closes #21921. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-08-19audit: activate ENV extensionsJack Nagel
2013-08-19Rename HomebrewEnvExtension to StdenvJack Nagel
2013-08-19Move common stuff to extend/ENV.rbJack Nagel
2013-08-19Make Superenv activation explicitJack Nagel
2013-08-14add ubuntu package searchAdam Vandenberg
2013-08-14audit: show real name for aliasesAdam Vandenberg
2013-08-14brew reinstall: Reuse options from last timeSamuel John
Now, we can finally stop stuggesting to `brew rm <foo>` and then `brew install <foo> <with-your-preferred options> So `brew reinstall` will honor all options that have been recorded into the INSTALL_RECEIPT.json plus if `--build-bottle` was used.
2013-08-10Doctor: missed CLT URL replacementMisty De Meo
2013-08-10Update URL for CLT downloadMisty De Meo
http://connect.apple.com is still down, but https://developer.apple.com/downloads has all of the Apple developer downloads available. Fixes #21812.
2013-08-10Make usage of ObserverPathnameExtension more obviousJack Nagel
Remove use of globals. Closes #21795.
2013-08-09Add fedora to brew searchAdam Vandenberg
2013-08-05Add opensuse package searchAdam Vandenberg
2013-08-05Search marcqualie/nginxAdam Vandenberg
Closes #21678.
2013-08-04bottles: update version regex messaging.Mike McQuaid
2013-08-03Add homebrew-binary to searchAdam Vandenberg
2013-08-03brew-create: don't break when given --set-versionChes Martin
Since 9f2782812cbaf2, specifying a version breaks with: Error: undefined method `detected_from_url?' for "1.2.2":String Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-01Improve signal-to-noise ratio of `brew list --unbrewed`Jack Nagel
Closes #21573.
2013-07-28audit: don't complain about bottle versions.Mike McQuaid
`brew bottle` already complains and this is a niche case. References #21374.
2013-07-28search: silence JSON decode errorsJack Nagel
Closes #21506. Closes #21508.
2013-07-23audit: add TODOAdam Vandenberg
2013-07-23audit: use !~ instead of "not ... =~"Jack Nagel
2013-07-23audit: fix dep name escapingJack Nagel
2013-07-22audit: escape dep before regexp interpolationJack Nagel
2013-07-22audit: fix indentationJack Nagel
2013-07-22audit: fix broken conditionJack Nagel
2013-07-18upgrade: put exit statements in both conditional branchesAdam Coffman
This check was only occurring in one branch of the conditional. As a result, if you ran `brew upgrade` with no args and there were no packages to upgrade, the nonsensical message "==> Upgrading 0 outdated package, with result:" would be printed. Closes #21316. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-18Warn more about failing bottle version detection.Mike McQuaid
This is needed for local bottle installation and also possible when detecting bottle versions from URLs.
2013-07-17audit: skip an audit for mongodbAdam Vandenberg
2013-07-17audit: ARGV.find is a warning, .value is allowedAdam Vandenberg
2013-07-17doctor: Using Xcode-only is no longer experimentalSamuel John
In 10.9 we'll probably have to use that code path anyways and by now we have adapted all formulae to be able to build on Xcode-only.
2013-07-16Fix SYMROOT auditJack Nagel
2013-07-16More linewise auditsJack Nagel
2013-07-16Audit text linewiseJack Nagel
2013-07-16Audit conditional deps that can be made declarativeJack Nagel
2013-07-16Fix some false-positive build-time dep auditsJack Nagel
2013-07-16audit: use FormulaCellarChecks module.Mike McQuaid
Perform post-installation checks if a formula is installed. Added for brew test-bot to be able to fail on bad Cellar installation.
2013-07-16Audit LanguageModuleDependency for pythonSamuel John
LanguageModuleDependency.new(:python,...) is deprecated now. Replace it by depends_on :python => ['module' => 'name-on-PyPi']
2013-07-15upgrade: don't rely on return value of 'onoe'Jack Nagel
2013-07-15upgrade: make condition clearerJack Nagel
2013-07-15upgrade: move require out of method bodyJack Nagel
2013-07-15upgrade: remove redundant conditionalJack Nagel
Since e1c62c35465eb6149688c745e4309438c08c410b, we exit early if the outdated array is empty, so we no longer need to check this before proceeding.
2013-07-15Clarify behavior of `brew search` without an argumentJack Nagel
As documented in the man page, when given no arguments, `brew search` will list all formulae. This is different than giving an *empty* argument.