Matt Torok
8488301b37
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 #18276 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com >
2013-03-05 19:43:12 -08:00
Misty De Meo
56669c1645
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
ebf6ba6ef5
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 #18186 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-03-02 12:11:56 +00:00
Mike McQuaid
1578e1360f
cleanup: don't remove old incomplete files twice.
2013-03-02 08:56:58 +00:00
Mike McQuaid
041060e28f
Support 32-bit 10.6 bottles.
...
Closes #17735 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-03-01 17:49:09 +00:00
Mike McQuaid
82ecb69a53
Add non-/usr/local bottles support.
...
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-03-01 17:49:09 +00:00
Mike McQuaid
f99e05bb49
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
7219530514
doctor: Update Mono pkg-config warning
2013-02-25 11:17:19 -06:00
Mike McQuaid
9e49a9a8ba
brew create: use test DSL
2013-02-23 08:42:45 +00:00
Jack Nagel
71524dc44a
audit: don't complain about versioned automake depending on autoconf
2013-02-21 16:47:35 -06:00
Jack Nagel
1b6204e52c
Silence warning about unescaped square brackets
2013-02-18 12:13:36 -06:00
Jack Nagel
4d341f2115
Don't shadow outer local variables
2013-02-18 12:13:36 -06:00
Jack Nagel
33393a2597
Remove unused variables
2013-02-18 12:13:35 -06:00
Jack Nagel
5a34e80675
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
9f2782812c
brew-create: don't insert autodetected versions.
2013-02-18 10:42:32 +00:00
Mike McQuaid
d2273d3223
brew-doctor: fix autocrlf warning (again).
...
Closes #17843 .
2013-02-18 10:42:14 +00:00
Mike McQuaid
4ed4eee942
Add 'brew reinstall' command.
2013-02-18 10:41:53 +00:00
Mike McQuaid
f1748d9f9b
brew-update: show upgrade command on formula parameters.
...
Closes #17814 .
2013-02-18 10:40:48 +00:00
Jack Nagel
012c3bca2e
info: open history pages for all specified formulae
...
Closes #17852 .
2013-02-16 21:20:17 -06:00
Adam Vandenberg
52b8be1fb0
doctor: make brew link more clear
...
Closes #17805 .
2013-02-12 22:30:49 -08:00
Adam Vandenberg
295d2832a2
search homebrew-x11
2013-02-10 11:15:20 -08:00
Jack Nagel
7806852990
audit: allow alpha.gnu.org URLs
2013-02-07 15:34:13 -06:00
Jack Nagel
41cd32838d
audit: check for missing xz build-time dep
...
Closes #17565 .
2013-02-03 14:57:33 -06:00
Jack Nagel
437a30d641
audit: mark intltool as a build-time dep
2013-02-03 14:48:02 -06:00
Adam Vandenberg
f52e367213
update: abort if formula names are given
...
Closes #11154 .
2013-02-03 11:53:17 -08:00
Simon Sigurdhsson
34cfc378b5
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 #13953 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-02-02 14:05:40 -08:00
Jack Nagel
15d74ebc4c
audit: inspect dep name, not dep object
2013-02-02 01:00:46 -06:00
Jack Nagel
15ced99fd3
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
040bfcf5b2
Update tap --repair function to ignore non-directory files in Library/Taps/
...
Closes #17518 .
Closes #17511 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com >
2013-02-01 18:36:38 -08:00
Jack Nagel
de5b7c0fe7
audit: wrap patches in ENV.with_build_environment block
2013-02-01 14:27:34 -06:00
Samuel John
238a2f02bc
brew doctor: Check for CaSe SeNsItIvE fs
...
Closes #16658 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-01-31 21:48:28 -08:00
Mike McQuaid
1da2d5dd92
Remove MD5 support.
...
Closes #17317 .
2013-01-30 22:36:12 -08:00
Mike McQuaid
dedc6aec75
brew-search: search homebrew/apache tap.
2013-01-30 22:15:37 -08:00
Mike McQuaid
fbbfc7474c
Improve brew doctor autocrlf message.
...
Better version of ed357d.
References #15711 .
References #17361 .
References #17437 .
2013-01-30 21:29:19 -08:00
Charlie Sharpsteen
77f0b38876
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. #13224 .
2013-01-30 09:31:42 -08:00
Jack Nagel
eff8a61254
doctor: core.autocrlf can be empty
...
c.f. #17361 .
2013-01-30 01:26:28 -06:00
Adam Vandenberg
7581bd843a
Only check keg-only if we map to a formula
2013-01-29 20:45:33 -08:00
Adam Vandenberg
dd5ea24d48
Require --force to link keg-only.
...
Closes #13349 .
2013-01-29 20:31:33 -08:00
Mike McQuaid
ed357d9847
Improve brew doctor autocrlf check.
...
Closes #15711 .
2013-01-29 17:14:00 -08:00
Misty De Meo
cf0c4e90a6
Don't print git origin check without git repo
2013-01-29 09:48:43 -06:00
Jack Nagel
b9210d30de
doctor: fix typo
2013-01-28 23:02:25 -06:00
Adam Vandenberg
4cb21e4c39
audit: hint about depends_on Class
2013-01-27 14:54:48 -08:00
Sema
4767bb572a
doctor: fix transposed git command
...
Closes #17338 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com >
2013-01-27 13:17:19 -06:00
Jack Nagel
9acf2b62dd
audit: warn about nonexistent options passed to deps
2013-01-26 12:14:51 -06:00
Jack Nagel
7e8d110910
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
41980bdfdf
Replace usages of recursive_deps with recursive_dependencies
2013-01-26 12:14:49 -06:00
Jack Nagel
569231f14d
upgrade: offload dependency expansion to FormulaInstaller
...
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-26 12:14:49 -06:00
Jack Nagel
84d73f6afc
uses: utilize modern dependency API
2013-01-26 12:14:49 -06:00
Jack Nagel
85a77eb1d0
missing: ignore unused optional and recommended deps
2013-01-26 12:14:48 -06:00
Jack Nagel
0551dedf79
FormulaInstaller: don't install bottle if options were passed
2013-01-26 12:14:46 -06:00