aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2013-02-18Don't shadow outer local variablesJack Nagel
2013-02-18Remove unused variablesJack Nagel
2013-02-18Don't use deprecated form of attrJack Nagel
The form "attr :name, true" is deprecated and causes Ruby to emit a warning in verbose mode. Using attr_{reader,writer,accessor} is more clear anyway, so do so.
2013-02-18brew-create: don't insert autodetected versions.Mike McQuaid
2013-02-18brew-doctor: fix autocrlf warning (again).Mike McQuaid
Closes #17843.
2013-02-18Add 'brew reinstall' command.Mike McQuaid
2013-02-18brew-update: show upgrade command on formula parameters.Mike McQuaid
Closes #17814.
2013-02-16info: open history pages for all specified formulaeJack Nagel
Closes #17852.
2013-02-12doctor: make brew link more clearAdam Vandenberg
Closes #17805.
2013-02-10search homebrew-x11Adam Vandenberg
2013-02-07audit: allow alpha.gnu.org URLsJack Nagel
2013-02-03audit: check for missing xz build-time depJack Nagel
Closes #17565.
2013-02-03audit: mark intltool as a build-time depJack Nagel
2013-02-03update: abort if formula names are givenAdam Vandenberg
Closes #11154.
2013-02-02Make `CurlDownloadStrategy` resume aborted downloadsSimon Sigurdhsson
* `CurlDownloadStrategy#_fetch` (and the same methods in its subclasses) now fetches the file to a temporary path, and `CurlDownloadStrategy#fetch` moves it to the correct location. * `Homebrew#cleanup` cleans the temporary files `CurlDownloadStrategy` creates if they're left in the cache. Closes #13953. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-02audit: inspect dep name, not dep objectJack Nagel
2013-02-01Refactor fetchJack Nagel
Remove direct references to checksum types, access them through the Checksum::TYPES constant instead.
2013-02-01Update `tap --repair` function to ignore non-directory files in Library/Taps/Elliot Saba
Closes #17518. Closes #17511. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-01audit: wrap patches in ENV.with_build_environment blockJack Nagel
2013-01-31brew doctor: Check for CaSe SeNsItIvE fsSamuel John
Closes #16658. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-30Remove MD5 support.Mike McQuaid
Closes #17317.
2013-01-30brew-search: search homebrew/apache tap.Mike McQuaid
2013-01-30Improve brew doctor autocrlf message.Mike McQuaid
Better version of ed357d. References #15711. References #17361. References #17437.
2013-01-30brew-help: Add options to example usageCharlie Sharpsteen
Also, move the line containing `info`, `home` and `options` to the top of the list as users should be running these before installation. Ref. #13224.
2013-01-30doctor: core.autocrlf can be emptyJack Nagel
c.f. #17361.
2013-01-29Only check keg-only if we map to a formulaAdam Vandenberg
2013-01-29Require --force to link keg-only.Adam Vandenberg
Closes #13349.
2013-01-29Improve `brew doctor` autocrlf check.Mike McQuaid
Closes #15711.
2013-01-29Don't print git origin check without git repoMisty De Meo
2013-01-28doctor: fix typoJack Nagel
2013-01-27audit: hint about depends_on ClassAdam Vandenberg
2013-01-27doctor: fix transposed git commandSema
Closes #17338. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-26audit: warn about nonexistent options passed to depsJack Nagel
2013-01-26upgrade: use standard Tab accessorJack Nagel
Yes, the formula object does refer to a version that has not yet been installed, but we were not looking into Formula#prefix, but #linked_keg, which is version agnostic (since the original patch was committed, we Tab#for_formula learned to look into #opt_prefix as well). The rest of the logic is already embedded in the Tab accessors.
2013-01-26Replace usages of recursive_deps with recursive_dependenciesJack Nagel
2013-01-26upgrade: offload dependency expansion to FormulaInstallerJack Nagel
Now that FormulaInstaller does dependency expansion the _right_ way, avoid duplicating the logic in upgrade. Instead, offload it to the installer, which will generate an exception in check_install_sanity that we can safely ignore when formulae in the outdated list are upgraded as part of the dependency tree of another outdated formula.
2013-01-26uses: utilize modern dependency APIJack Nagel
2013-01-26missing: ignore unused optional and recommended depsJack Nagel
2013-01-26FormulaInstaller: don't install bottle if options were passedJack Nagel
2013-01-26FormulaInstaller: make tab an attr, but never a parameterJack Nagel
2013-01-26FormulaInstaller: implement installation locksJack Nagel
FormulaInstaller now attempts to take a lock on a "foo.brewing" file for the formula and all of its dependencies before attempting installation. The lock is an advisory lock implemented using flock(), and as such it only locks out other processes that attempt to take the lock. It also means that it is never necessary to manually remove the lock file, because the lock is not enforced by I/O. The uninstall, link, and unlink commands all learn to respect this lock as well, so that the installation cannot be corrupted by a concurrent Homebrew process, and keg operations cannot occur simultaneously.
2013-01-26brew-cleanup: don't whine about permission denied.Mike McQuaid
Closes #14359.
2013-01-26brew-fetch: remove MD5 output.Mike McQuaid
2013-01-23Check ownership of logs folderAdam Vandenberg
Closes #16607.
2013-01-23brew search looks in samueljohn/python, too.Samuel John
Closes #17267. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-23Add Homebrew-completions to searchAdam Vandenberg
2013-01-21brew upgrade: improve exit codes.Matt Di Pasquale
exit 1 if formulae given but none outdated Closes #17199. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-17doctor: loosen git origin regexpJack Nagel
If the repository is set up by `brew update`, the remote URL is https://github.com/mxcl/homebrew.git, but if it is set up by the install script, the .git suffix is omitted.
2013-01-17Doctor check for originSimon Sigurdhsson
Added checks on doctor.rb for: * Missing git origin * git origin not pointing at mxcl/homebrew Tests use `git config --get remote.origin.url`. Also added printout of origin to --config.rb. Fixes #14399. Closes #17117. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-14options: sort options consistentlyJack Nagel