Misty De Meo
feb836e1ea
doctor: skip git origin check without brew repo
...
Likely fixes Homebrew/homebrew#18324 .
2013-03-11 10:30:08 -05:00
Tobias Lidskog
06f98132d3
audit: allow ARGV.find
...
This fixes a false positive for mongodb.
Closes Homebrew/homebrew#18370 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-10 12:13:50 -07:00
Jack Nagel
2cc9322fbd
Exclude global pkgconfig dirs under superenv
2013-03-09 14:46:01 -06:00
Tobias Lidskog
23575f3c7f
audit: correct inverted has_trailing_newline condition
...
has_trailing_newline? checked if formula did not have a trailing
newline. Invert regex and invert audit check.
Closes Homebrew/homebrew#18359 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-09 14:42:51 -06:00
Matt Torok
5f2f6a35dd
Added '--installed' option to deps
command.
...
When deps command is passed this option, it will only show the dependencies
for the installed forumas. This option overrides the '--all' option.
Closes Homebrew/homebrew#18276 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-05 19:43:12 -08:00
Misty De Meo
e714a47c10
tap: adjust formula count for unsymlinked files
...
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-04 12:12:47 -06:00
Peter Aronoff
00ef4b7fcb
A more helpful error message for brew untap
...
`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 Homebrew/homebrew#18186 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-02 12:11:56 +00:00
Mike McQuaid
c8335d9c46
cleanup: don't remove old incomplete files twice.
2013-03-02 08:56:58 +00:00
Mike McQuaid
8f35793020
Support 32-bit 10.6 bottles.
...
Closes Homebrew/homebrew#17735 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid
20c0ddc401
Add non-/usr/local bottles support.
...
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid
360af367a8
Cleanup bottle DSL.
...
* Remove legacy url syntax.
* Use revision instead of version.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Misty De Meo
6b96102fad
doctor: Update Mono pkg-config warning
2013-02-25 11:17:19 -06:00
Mike McQuaid
b1241bb3a1
brew create: use test DSL
2013-02-23 08:42:45 +00:00
Jack Nagel
20328d763e
audit: don't complain about versioned automake depending on autoconf
2013-02-21 16:47:35 -06:00
Jack Nagel
22a3ecff28
Silence warning about unescaped square brackets
2013-02-18 12:13:36 -06:00
Jack Nagel
f037be5148
Don't shadow outer local variables
2013-02-18 12:13:36 -06:00
Jack Nagel
1a799f04e6
Remove unused variables
2013-02-18 12:13:35 -06:00
Jack Nagel
f172d3a6eb
Don't use deprecated form of attr
...
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-18 12:13:34 -06:00
Mike McQuaid
beff735d3f
brew-create: don't insert autodetected versions.
2013-02-18 10:42:32 +00:00
Mike McQuaid
7766505348
brew-doctor: fix autocrlf warning (again).
...
Closes Homebrew/homebrew#17843 .
2013-02-18 10:42:14 +00:00
Mike McQuaid
ddaf891add
Add 'brew reinstall' command.
2013-02-18 10:41:53 +00:00
Mike McQuaid
4aacf5400e
brew-update: show upgrade command on formula parameters.
...
Closes Homebrew/homebrew#17814 .
2013-02-18 10:40:48 +00:00
Jack Nagel
f62818210d
info: open history pages for all specified formulae
...
Closes Homebrew/homebrew#17852 .
2013-02-16 21:20:17 -06:00
Adam Vandenberg
37b28741f2
doctor: make brew link more clear
...
Closes Homebrew/homebrew#17805 .
2013-02-12 22:30:49 -08:00
Adam Vandenberg
b85bf58007
search homebrew-x11
2013-02-10 11:15:20 -08:00
Jack Nagel
603bcb6cc8
audit: allow alpha.gnu.org URLs
2013-02-07 15:34:13 -06:00
Jack Nagel
3c7837e5a9
audit: check for missing xz build-time dep
...
Closes Homebrew/homebrew#17565 .
2013-02-03 14:57:33 -06:00
Jack Nagel
66d91ac0e4
audit: mark intltool as a build-time dep
2013-02-03 14:48:02 -06:00
Adam Vandenberg
bae3d70834
update: abort if formula names are given
...
Closes Homebrew/homebrew#11154 .
2013-02-03 11:53:17 -08:00
Simon Sigurdhsson
af3bfab9db
Make CurlDownloadStrategy
resume aborted downloads
...
* `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 Homebrew/homebrew#13953 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-02 14:05:40 -08:00
Jack Nagel
3957a35c33
audit: inspect dep name, not dep object
2013-02-02 01:00:46 -06:00
Jack Nagel
67d798e905
Refactor fetch
...
Remove direct references to checksum types, access them through the
Checksum::TYPES constant instead.
2013-02-01 22:17:46 -06:00
Elliot Saba
7da376a50c
Update tap --repair
function to ignore non-directory files in Library/Taps/
...
Closes Homebrew/homebrew#17518 .
Closes Homebrew/homebrew#17511 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-01 18:36:38 -08:00
Jack Nagel
64eba71cb2
audit: wrap patches in ENV.with_build_environment block
2013-02-01 14:27:34 -06:00
Samuel John
e851e88863
brew doctor: Check for CaSe SeNsItIvE fs
...
Closes Homebrew/homebrew#16658 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-31 21:48:28 -08:00
Mike McQuaid
9ba9e749b8
Remove MD5 support.
...
Closes Homebrew/homebrew#17317 .
2013-01-30 22:36:12 -08:00
Mike McQuaid
36497f2a5d
brew-search: search homebrew/apache tap.
2013-01-30 22:15:37 -08:00
Mike McQuaid
27700390b4
Improve brew doctor autocrlf message.
...
Better version of ed357d.
References Homebrew/homebrew#15711 .
References Homebrew/homebrew#17361 .
References Homebrew/homebrew#17437 .
2013-01-30 21:29:19 -08:00
Charlie Sharpsteen
1fbc32d842
brew-help: Add options to example usage
...
Also, move the line containing `info`, `home` and `options` to the top of the
list as users should be running these before installation.
Ref. Homebrew/homebrew#13224 .
2013-01-30 09:31:42 -08:00
Jack Nagel
b6631ac23f
doctor: core.autocrlf can be empty
...
c.f. Homebrew/homebrew#17361 .
2013-01-30 01:26:28 -06:00
Adam Vandenberg
0dec35e7b0
Only check keg-only if we map to a formula
2013-01-29 20:45:33 -08:00
Adam Vandenberg
40c339e349
Require --force to link keg-only.
...
Closes Homebrew/homebrew#13349 .
2013-01-29 20:31:33 -08:00
Mike McQuaid
92a5c765a9
Improve brew doctor
autocrlf check.
...
Closes Homebrew/homebrew#15711 .
2013-01-29 17:14:00 -08:00
Misty De Meo
14bb39b898
Don't print git origin check without git repo
2013-01-29 09:48:43 -06:00
Jack Nagel
1ca5b7a204
doctor: fix typo
2013-01-28 23:02:25 -06:00
Adam Vandenberg
68d312c46f
audit: hint about depends_on Class
2013-01-27 14:54:48 -08:00
Sema
667b53ffb0
doctor: fix transposed git command
...
Closes Homebrew/homebrew#17338 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-27 13:17:19 -06:00
Jack Nagel
2534c1d45e
audit: warn about nonexistent options passed to deps
2013-01-26 12:14:51 -06:00
Jack Nagel
5ac4e4f071
upgrade: use standard Tab accessor
...
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-26 12:14:51 -06:00
Jack Nagel
109145bf21
Replace usages of recursive_deps with recursive_dependencies
2013-01-26 12:14:49 -06:00