aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2013-04-06Replace literal paths to ruby with RUBY_PATHJack Nagel
2013-04-06Fix another handful of warningsJack Nagel
2013-04-05Make some groups non-capturingJack Nagel
2013-04-05Use #grep where it will sufficeJack Nagel
2013-04-03Don't error out when a package is already installedJack Nagel
Fixes #17010.
2013-04-03use separate args in brew createAdam Vandenberg
2013-04-02tap/untap: use Array#length, not #countMisty De Meo
Array#count was apparently introduced in 1.8.7.
2013-04-01audit: fix check for depending on requirement classesJack Nagel
Don't complain if it's instantiating the class so that it can pass arguments. Fixes #18883.
2013-04-01Fix `list --pinned` for non-formula kegsJack Nagel
Fixes #18885.
2013-03-31Fix uninstallation of non-formula kegsJack Nagel
Grrr...
2013-03-31brew-info: Add pinned status to info.Simon Sigurdhsson
Closes #18851. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-30Simplify destructuring this arrayJack Nagel
2013-03-30brew-pin: prevent selected formulae from upgrade.Simon Sigurdhsson
* Added `pin` et. al. to manpage. * Added `brew pin` to `brew.1` * Added `brew unpin` to `brew.1` * Added `brew list --pinned` to `brew.1` * Added information about frozen formulae to `brew upgrade` in `brew.1` * Added `pin` et.al. to completion scripts. * Unpin formulae when uninstalling them * Unpin and re-pin formulae when upgrading (avoids stale symlink) References #18386. Closes #18515. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-29Use each_key instead of keys.eachJack Nagel
2013-03-29doctor: restore newlines between checksAdam Vandenberg
Closes #18060.
2013-03-28Suppress ambiguous argument and grouped expression warningsJack Nagel
2013-03-28audit: don't complain about postgis using postgresqlAdam Vandenberg
2013-03-28info: make use of Tab#to_sJack Nagel
Closes #18788.
2013-03-26doctor: check for all DYLD env varsAdam Vandenberg
2013-03-23Hardware: separate out CPU values into CPU moduleMisty De Meo
* CPU functions now exist in Hardware::CPU * Added compatibility functions in compat/hardware_compat.rb * Names are less specific to Mac hardware, e.g. CPU.family instead of Hardware.intel_family * Hardware::CPU.family works for both Intel and PowerPC * New helper methods on CPU, like .sse4? and .altivec? Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-03-21versions: add debug outputJack Nagel
2013-03-21versions: remove unnecessary variableJack Nagel
2013-03-21versions: unload constant before calling Formula.factoryRussell Teabeault
Closes #18634. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-20Fix `brew options --all`Jack Nagel
Fixes #18625.
2013-03-20brew-info: specify whether poured or built.Mike McQuaid
- Store in the tab if a bottle was poured for the build. - Add an additional line of output to `brew info` outputting whether the formula was built from source or poured from a bottle. Closes #18430. Closes #18475.
2013-03-18versions: remove FIXMEJack Nagel
I understand how this works now, and it is definitely necessary.
2013-03-18doctor: Tweak git-clean suggestion for empty dirsSamuel John
git clean -f is not enough. Needs `-d` somtimes to handle cases when we rename a dir. Fixes #18544 and fixes #14224
2013-03-16Fix `brew update` so that it doesn't show doublesPeter Aronoff
Under certain conditions, `brew update` will show doubles. It's a rare edge-case, but if you have a tap where the name of the formula is identical with the name of the insalled file, then you see output like this: ==> Updated Formulae aalib ssh-copy-id casperjs sshuttle jack telemachus/anytap/brew-any-tap mogenerator telemachus/anytap/brew-any-tap I believe this should fix that. Closes #18495. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-15audit github downloadsAdam Vandenberg
We want the new-style "/archive/" downloads.
2013-03-15audit: Improve url audits.Tobias Lidskog
* Add url check for GitHub home pages using http. * Add url check for GitHub repo urls using http. * Include url in error messages about url issues. Closes #18372.
2013-03-13doctor: add check for coreutils in pathAdam Vandenberg
2013-03-13doctor: mess with indentationAdam Vandenberg
2013-03-12Revert "Update `brew tap` to work without 'homebrew-'"Mike McQuaid
This reverts commit d72901f92b7385d44d8c980976db6a4336572e7e. References #18366. Closes #18432.
2013-03-12Update `brew tap` to work without 'homebrew-'Peter Aronoff
Currently `brew tap` only works on repos with 'homebrew-' in their name. This version tries the repo name as is and then falls back to try 'homebrew-repo' only if that fails. I've also tweaked the regex in tap_args to allow '-' in repo names. The previous regex required a match on \w. This made it impossible for people to tap repos with names like 'username/why-not'. Closes #18366. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-11Relocate bottles using install_name_tool.Mike McQuaid
This has two parts: 1. Bottles are temporarily relocated on bottling and tested if that is sufficient for them to contain no longer reference the prefix or cellar. If so, they are marked as relocatable. 2. On installation if bottles are marked as relocatable they will be relocated using install_name_tool to the current prefix and cellar. Closes #18374.
2013-03-11doctor: skip git origin check without brew repoMisty De Meo
Likely fixes #18324.
2013-03-10audit: allow ARGV.findTobias Lidskog
This fixes a false positive for mongodb. Closes #18370. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-09Exclude global pkgconfig dirs under superenvJack Nagel
2013-03-09audit: correct inverted has_trailing_newline conditionTobias Lidskog
has_trailing_newline? checked if formula did not have a trailing newline. Invert regex and invert audit check. Closes #18359. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-05Added '--installed' option to `deps` command.Matt Torok
When deps command is passed this option, it will only show the dependencies for the installed forumas. This option overrides the '--all' option. Closes #18276. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-04tap: adjust formula count for unsymlinked filesMisty De Meo
Relying on the output of `tapped` results in ignoring formulae which already exist in core, with messages like "Tapped 0 formula" for non-empty taps.
2013-03-02A more helpful error message for `brew untap`Peter Aronoff
`brew untap` without arguments currently errors out (as it should), but the error message is generic and unhelpful. (The error message is borrowed from a method in the tap command - `tap_args`.) Closes #18186. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-02cleanup: don't remove old incomplete files twice.Mike McQuaid
2013-03-01Support 32-bit 10.6 bottles.Mike McQuaid
Closes #17735. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01Add non-/usr/local bottles support.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01Cleanup bottle DSL.Mike McQuaid
* Remove legacy url syntax. * Use revision instead of version. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-25doctor: Update Mono pkg-config warningMisty De Meo
2013-02-23brew create: use test DSLMike McQuaid
2013-02-21audit: don't complain about versioned automake depending on autoconfJack Nagel
2013-02-18Silence warning about unescaped square bracketsJack Nagel