3227 Commits

Author SHA1 Message Date
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
Mike McQuaid
5306ef08d6 brew-test-bot: fix bottle function name. 2013-03-03 23:24:08 +00:00
Adam Vandenberg
8aaa58095a brew-switch: don't link keg-only brews
Closes Homebrew/homebrew#18169.
2013-03-03 13:32:28 -08: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
0a3c1bb575 README: Add Kickstarter link.
Closes Homebrew/homebrew#17963
2013-02-21 21:59:04 +00:00
Mike McQuaid
f9f05d1173 brew: use a shell wrapper script for brew
This reverts commit dfd4dd12a41e1697ee9d5feac12cc1ea7c3a590e.

Fixes the problems from Homebrew/homebrew#17683 and Homebrew/homebrew#17685.
2013-02-21 21:42:18 +00:00
Mike McQuaid
191e9ed88a brew: move to Library/brew.rb
This reverts commit ac156b36d00ead5f225389f0a1d8069d0c1cce4a.
2013-02-21 21:42:18 +00: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
Jack Nagel
3701081b65 brew-mirror-check: fix error handling 2013-02-18 18:12:14 -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
mbcoguno
97368f8dfc Contributions: fix soft link that not refer current file.
a6324cb forget fix soft link in ENV folder, it cause superenv
use Apple provided git and svn.

Closes Homebrew/homebrew#17927.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-18 18:29:03 +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
4a281cd5cf Rename Library/Contributions/cmds -> cmd. 2013-02-18 10:42:44 +00:00
Mike McQuaid
e9d58c4100 Rework brew command dispatch order.
Make it no longer possible to override e.g. `brew install` with a
script if there is already a built-in Homebrew command named
`brew install`.

References Homebrew/homebrew#17673
2013-02-18 10:42:43 +00: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