3214 Commits

Author SHA1 Message Date
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
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
Jack Nagel
e186d9a136 GitDownloadStrategy: split #fetch into several methods 2013-02-14 17:29:58 -06:00
Adam Vandenberg
37b28741f2 doctor: make brew link more clear
Closes Homebrew/homebrew#17805.
2013-02-12 22:30:49 -08:00
Jack Nagel
3d5bda3f0a Simplify this regexp 2013-02-12 16:28:50 -06:00
Jack Nagel
71f85300b4 Establish a convention for Requirement names
The name attribute of requirements is used when generating options for
the :optional and :recommended dependency tags.

Unless otherwise specified, the name attribute of a Requirement will be
populated by stripping any module prefixes from the beginning and
"Dependency" or "Requirement" from end of the class name and downcasing
the result.

Closes Homebrew/homebrew#17759.
2013-02-12 16:26:10 -06:00
Adam Vandenberg
d71c8beac9 formula: cinch up formatting 2013-02-11 21:33:43 -08:00