Jack Nagel
1bf8fbfe9a
info: simplify keg listing
2013-05-10 23:45:36 -05:00
Jack Nagel
2517969585
deps: fix --1 output
...
Fixes Homebrew/homebrew#17550 .
Closes Homebrew/homebrew#19668 .
2013-05-10 23:45:30 -05:00
Jack Nagel
e02d6f2500
info: improve dependency listing
2013-05-10 23:45:06 -05:00
Jack Nagel
f61a4f8893
doctor: update ruby version check
2013-05-07 19:45:10 -05:00
Jack Nagel
14bc883750
doctor: update git version check
2013-05-07 19:45:10 -05:00
Jack Nagel
66489b70d7
audit: only generate aliases list once
2013-05-07 18:40:14 -05:00
Jack Nagel
fedf9ddae3
audit: only set up the build environment once
2013-05-07 18:39:45 -05:00
Jack Nagel
9dd7672ae7
info: re-raise on blacklist miss
2013-05-02 21:34:48 -05:00
Adam Vandenberg
afd2dde474
--env: show HOMEBREW_CC in superenv
...
Closes Homebrew/homebrew#18247 .
2013-05-02 11:36:30 -07:00
Adam Vandenberg
b163ed03e9
info: try blacklist for unknown formula names
...
Closes Homebrew/homebrew#17399 .
2013-04-29 10:12:40 -07:00
Jack Nagel
9b5cb6cfb6
Allow brew versions
to work with underspecified formulae
2013-04-27 14:44:48 -05:00
Jack Nagel
62db042277
audit: fix interpolation check
...
Fixes Homebrew/homebrew#19363 .
2013-04-26 19:18:13 -05:00
Misty De Meo
f4cf04b95e
doctor: don't shell out in coreutils check
2013-04-25 18:23:43 -05:00
Misty De Meo
814b969963
doctor: add default-names findutils check
...
Fixes Homebrew/homebrew#19265 .
2013-04-25 18:23:43 -05:00
Jack Nagel
8a74e648e7
audit: warn about top-level methods
2013-04-22 15:19:03 -05:00
Jack Nagel
3a0726406b
Add tests for FormulaPin and simplify implementation
2013-04-16 01:58:11 -05:00
Jack Nagel
010a1461f7
Avoid repeated interpolation here too
2013-04-14 23:48:20 -05:00
Adam Vandenberg
4daf0de435
Only prune taps if taps exist.
...
Closes Homebrew/homebrew#19192 .
2013-04-14 09:35:16 -07:00
Jaime Marquínez Ferrándiz
adbd8cee6d
New visualization for brew deps --tree
...
Closes Homebrew/homebrew#18835 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-13 20:32:45 -05:00
Jack Nagel
291977d823
Run tap --repair
as part of prune
...
And by extension, `cleanup`.
Fixes Homebrew/homebrew#18658 .
2013-04-13 17:23:14 -05:00
Jack Nagel
7f9bd7a067
doctor: 'raring' => 'ready'
...
It was pointed out that 'raring' is a rare word can be confusing to
non-native speakers.
Closes Homebrew/homebrew#18659 , see that for details.
2013-04-12 19:32:23 -05:00
Jack Nagel
d25767b354
doctor: consolidate directory access checks
...
Also include a writability check for lib.
Closes Homebrew/homebrew#18571 .
2013-04-12 19:32:02 -05:00
Jiang Xin
f30200890e
versions: work for tapped formulae
...
brew versions is hardcoded to cd to HOMEBREW_REPOSITORY before running
git, and as such fails to report previous versions for any formulae
from a tapped repository.
Add two new private methods repository and entry_name to replace the
hardcoded HOMEBREW_REPOSITORY and formula path, and brew versions
work for both builtin and tapped formulae.
Closes Homebrew/homebrew#12356 .
Closes Homebrew/homebrew#19069 .
Reported-by: Misty De Meo <mistydemeo@gmail.com>
Suggested-by: Jack Nagel <jacknagel@gmail.com>
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-11 23:45:15 -05:00
Geoff Petrie
79c745cc76
doctor: suggest brew update
in outdated warning
...
Closes Homebrew/homebrew#19106 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-11 02:12:59 -05:00
Jack Nagel
951b09b1c5
link: eliminate naked rescue
2013-04-10 12:02:35 -05:00
Jack Nagel
136aa4c6f4
Remove last use of deprecated Formula#recursive_deps
...
Fixes Homebrew/homebrew#19107 .
2013-04-10 11:55:02 -05:00
Jack Nagel
9db0e68eb6
Unify indentation of access modifiers
...
These are class method calls, not some special keyword, and should be
indented as such (also all standard Ruby indenters do this).
2013-04-07 20:59:49 -05:00
Jack Nagel
8bd619e03b
audit: clean up some regexps
2013-04-06 22:12:21 -05:00
Jack Nagel
4a8653ba7d
audit: check build-time deps programmatically
2013-04-06 22:11:02 -05:00
Jack Nagel
d6b5e4f2ed
audit: rescue only FormulaUnavailableError
2013-04-06 22:10:43 -05:00
Jack Nagel
7f55a6089e
audit: clean up URL audits
2013-04-06 22:10:33 -05:00
Jaime Marquínez Ferrándiz
254f3b2c3c
brew audit: find *.github.com pages
...
And suggest changing them to *.github.io
Closes Homebrew/homebrew#19012 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-06 13:12:53 -07:00
Jack Nagel
89bb6664c4
Replace literal paths to ruby with RUBY_PATH
2013-04-06 13:10:12 -05:00
Jack Nagel
aa58a404ed
Fix another handful of warnings
2013-04-06 00:14:03 -05:00
Jack Nagel
e0d6ee863f
Make some groups non-capturing
2013-04-05 22:00:36 -05:00
Jack Nagel
62a0b3f18d
Use #grep where it will suffice
2013-04-05 22:00:36 -05:00
Jack Nagel
12932a51b3
Don't error out when a package is already installed
...
Fixes Homebrew/homebrew#17010 .
2013-04-03 18:27:28 -05:00
Adam Vandenberg
b1bc967f23
use separate args in brew create
2013-04-03 11:24:45 -07:00
Misty De Meo
22f2f6aed3
tap/untap: use Array#length, not #count
...
Array#count was apparently introduced in 1.8.7.
2013-04-02 16:28:46 -05:00
Jack Nagel
ad5b128fc7
audit: fix check for depending on requirement classes
...
Don't complain if it's instantiating the class so that it can pass
arguments.
Fixes Homebrew/homebrew#18883 .
2013-04-01 11:35:56 -05:00
Jack Nagel
2befa0fd5c
Fix list --pinned
for non-formula kegs
...
Fixes Homebrew/homebrew#18885 .
2013-04-01 11:22:15 -05:00
Jack Nagel
8fbf3a43c3
Fix uninstallation of non-formula kegs
...
Grrr...
2013-03-31 21:28:20 -05:00
Simon Sigurdhsson
040138164b
brew-info: Add pinned status to info.
...
Closes Homebrew/homebrew#18851 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-31 19:27:17 +01:00
Jack Nagel
ec7dc78ba4
Simplify destructuring this array
2013-03-30 15:16:44 -05:00
Simon Sigurdhsson
f8a88b5f28
brew-pin: prevent selected formulae from upgrade.
...
* 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 Homebrew/homebrew#18386 .
Closes Homebrew/homebrew#18515 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-30 19:50:47 +00:00
Jack Nagel
4a52bf1c31
Use each_key instead of keys.each
2013-03-29 21:59:02 -05:00
Adam Vandenberg
3320b15609
doctor: restore newlines between checks
...
Closes Homebrew/homebrew#18060 .
2013-03-29 11:14:46 -07:00
Jack Nagel
d994c6cdda
Suppress ambiguous argument and grouped expression warnings
2013-03-28 17:37:29 -05:00
Adam Vandenberg
dd112ef579
audit: don't complain about postgis using postgresql
2013-03-28 13:10:41 -07:00
Jack Nagel
ad58cd88ab
info: make use of Tab#to_s
...
Closes Homebrew/homebrew#18788 .
2013-03-28 14:21:52 -05:00