aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2013-09-10bottle: loosen prefix grep check.Mike McQuaid
/usr/local is in lots of things unrelated to Homebrew so be more specific and look for opt instead.
2013-09-10update: restore previous state when interruptedJack Nagel
Fixes Homebrew/homebrew#19460. Closes Homebrew/homebrew#22375.
2013-09-07audit: print warning and description.Mike McQuaid
2013-09-06Enable verbose compile command in create template.Xiyue Deng
* Add "--disable-silent-rules" option to autotools-based configure options. - Also add comments to notify user removing unrecognized configure options. * Add "-DCMAKE_VERBOSE_MAKEFILE=ON" to cmake-based configure options.
2013-09-05Revert Library/Homebrew/cmd/install.rb to 4b320eec.Xiyue Deng
* Fix problem when install exception got swallow and reinstall thinks it succeeded.
2013-09-05reinstall cleanupSamuel John
2013-09-05Make reinstall transaction safe.Xiyue Deng
* Aborting during reinstall will now restore the originally installed keg. - Change install code to pass on CannotInstallFormulaError exception to caller so it can be reused in reinstall. * Add "--force-new-install" flag to force installing a new formula. Closes Homebrew/homebrew#22190. Signed-off-by: Samuel John <github@SamuelJohn.de>
2013-09-03brew search <user>/<repo> [substring]Samuel John
For example `brew search homebrew/science` to get a list of all formulae from that tap, even if not yet tapped. `brew search <user>/<repo>/<substr>` or `brew search <user>/<repo> <substr>` to grep for `<substr>` inside of the tap `<user>/<repo>`.
2013-09-03doctor: be more helpful with suggestion about PATHSamuel John
- Show a one liner that will append to the user's ~/.bash_profile. In 95% this will be ok and we assume zsh people are smart enough to know what they have to do.
2013-09-03PythonInstalled: Allow formulae to set/append PYTHONPATHSamuel John
Improve robustness of `PYTHONPATH` by first unsetting it (during `satisfy`) so that the `PythonInstalled` can get the `python.version` and so forth and then, after that, setting the `PYTHONPATH` to our `global_site_packages`. In the `python_helper` we append to the `PYTHONPATH` so if that var has been set in a formula, it is respected. Brew audit does no longer complain about setting the `ENV['PYTHONPATH']`.
2013-09-01brew-postinstall: add new command.Mike McQuaid
Runs post-install jobs in case they failed or need rerun for any reason.
2013-09-01brew-reinstall: don't list --force in args.Mike McQuaid
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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#21812.
2013-08-10Make usage of ObserverPathnameExtension more obviousJack Nagel
Remove use of globals. Closes Homebrew/homebrew#21795.
2013-08-09Add fedora to brew searchAdam Vandenberg
2013-08-05Add opensuse package searchAdam Vandenberg
2013-08-05Search marcqualie/nginxAdam Vandenberg
Closes Homebrew/homebrew#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 Homebrew/homebrew#21573.
2013-07-28audit: don't complain about bottle versions.Mike McQuaid
`brew bottle` already complains and this is a niche case. References Homebrew/homebrew#21374.
2013-07-28search: silence JSON decode errorsJack Nagel
Closes Homebrew/homebrew#21506. Closes Homebrew/homebrew#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 Homebrew/homebrew#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.