aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2013-09-19More precise output for spec auditsJack Nagel
2013-09-19Audit spec resourcesJack Nagel
2013-09-19Extract ResourceAuditor from FormulaAuditorJack Nagel
2013-09-17create: use resource for checksum detectionJack Nagel
2013-09-17make linkapps officialAdam Vandenberg
2013-09-17move paths to utilsAdam Vandenberg
2013-09-17brew commandsAdam Vandenberg
Shows a list of built-in commands (but not shortcuts) and searches for any external commands on the path. Closes Homebrew/homebrew#22509.
2013-09-16Rephrase conditionalJack Nagel
2013-09-14Rename PythonInstalled to PythonDependency.Mike McQuaid
Make it more consistent with other requirements.
2013-09-11Allow resource fetchingAdam Vandenberg
Closes Homebrew/homebrew#20047.
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