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
Jack Nagel
c75a7decb7
Save a subshell here
2013-03-02 23:28:27 -06:00
Jack Nagel
7b23870b98
Normalize magic encoding comments
2013-03-02 17:43:58 -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
af7f7d7353
Add environment variable to build bottles.
2013-03-01 17:49:09 +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
22aec1d0d9
Add custom bottle URL support.
...
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid
443bf9f287
Build from source on bottle pour failure.
...
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
Mike McQuaid
161104cae7
Exclude all located superenv paths.
...
The previous fix only looked at the current Homebrew but we should
discard hits from other installations of Homebrew too.
2013-02-28 20:53:38 +00:00
Jack Nagel
aca48deda0
BuildEnvironment: use separate sets for procs and symbols
2013-02-25 14:01:02 -06:00
Misty De Meo
6b96102fad
doctor: Update Mono pkg-config warning
2013-02-25 11:17:19 -06:00
Adam Vandenberg
2e29260935
Revert "Shouldn't override def patch"
...
This reverts commit 6963a356510256762e425b5dbe2ee8c9ee0ace68.
2013-02-24 12:16:32 -08:00
Mike McQuaid
b1241bb3a1
brew create: use test DSL
2013-02-23 08:42:45 +00:00
Adam Vandenberg
72afade1ee
Shouldn't override def patch
2013-02-22 09:34:06 -08:00
Jack Nagel
4749339e5b
Formula: fix class-level version accessor
...
When given no arguments, this should return the stable version, but it
hasn't since we stopped setting this direction in the class's @version
variable.
2013-02-21 22:19:11 -06:00
Jack Nagel
20328d763e
audit: don't complain about versioned automake depending on autoconf
2013-02-21 16:47:35 -06:00
Mike McQuaid
b65aa8a2f3
Only fails_with compiler version for developers.
...
Actually works properly now.
This reverts commit a0e56345ea55f7ee3c41d6bf13f9cfb3af635323.
2013-02-21 21:40:15 +00:00
Mike McQuaid
041cc45a61
Revert "Only fails_with compiler version for developers."
...
This reverts commit c98d50495275ff4951dd126bb88a55e568b64092.
2013-02-20 16:39:04 +00:00
Jack Nagel
47a3e1ddc5
This file has embedded UTF-8
2013-02-19 14:27:17 -06:00
Jack Nagel
9561b4bc8e
Fix X11 proxy constant lookup under 1.9+
2013-02-19 10:15:52 -06:00
Mike McQuaid
ada5033e0d
Only fails_with compiler version for developers.
...
Closes Homebrew/homebrew#17618 .
Closes Homebrew/homebrew#17813 .
2013-02-18 19:37:44 +00: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
Jack Nagel
baffb31aab
Silence "*
interpreted as argument prefix" warnings
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
0c27a8765e
Don't shadow outer local variable
2013-02-17 20:57:10 -06:00
Jack Nagel
528072f7d7
GitDownloadStrategy: force checkouts
...
Local changes to the cached repository should not cause fetch or install
to error out.
2013-02-17 15:54:22 -06:00
Jack Nagel
6d1c6dcdea
GitDownloadStrategy: reset after checkout during updates
...
Otherwise, if the local branch is behind the remote branch, or has
diverged, we will stage the wrong revision.
2013-02-17 15:53:35 -06:00
Jack Nagel
145647fc45
GitDownloadStrategy: factor out checkout args
2013-02-17 15:43:16 -06:00
Jack Nagel
612745352d
GitDownloadStrategy: generalize has_tag? to has_ref?
2013-02-17 15:41:24 -06:00
Jack Nagel
f62818210d
info: open history pages for all specified formulae
...
Closes Homebrew/homebrew#17852 .
2013-02-16 21:20:17 -06:00
Jack Nagel
57337a0748
Fix serialization of used_options
2013-02-16 21:19:35 -06:00
Jack Nagel
f93b4f44ad
Fix option flag naming for tap deps
...
Fixes Homebrew/homebrew#17866 .
2013-02-16 17:22:11 -06:00
Jack Nagel
866b3cf6a8
Add test for String#get_make_var
2013-02-15 00:39:22 -06:00
Jack Nagel
b8b014036e
Remove redundant return
2013-02-15 00:36:03 -06:00
Jack Nagel
9fd5953ed9
Make this more idiomatic
2013-02-15 00:35:52 -06:00
Jack Nagel
2ef79d1387
GitDownloadStrategy: default to remote HEAD during checkout
2013-02-14 17:29:59 -06:00
Jack Nagel
166e262312
GitDownloadStrategy: quiet reset in non-verbose mode
2013-02-14 17:29:59 -06:00
Jack Nagel
5f5d6ace5f
GitDownloadStrategy: only fetch from remote when necessary
...
When we are building from a tag, and that tag is already present in the
cached repository, we don't to hit the network; everything we need
already exists.
2013-02-14 17:29:58 -06:00
Jack Nagel
02ad6442e7
GitDownloadStrategy: extract checkout from #stage
2013-02-14 17:29:58 -06:00
Jack Nagel
8b27989d11
GitDownloadStrategy: split up submodule update and checkout
2013-02-14 17:29:58 -06:00