Mike McQuaid
341c9b1fff
doctor: require CLT on 10.9.
...
Xcode-only setup is badly broken and will remain that way until fixed by
Apple. For many 10.9 issues this fixes things so let's tell the users.
2013-10-25 21:33:26 +01:00
Mike McQuaid
09d1977d73
create: detect name from GitHub archives.
2013-10-25 21:12:29 +01:00
David MacMahon
f821514e93
Add HOMEBREW_NO_GITHUB_API env var.
...
This patch allows users to "opt out" of using the GitHub API altogether
by setting the HOMEBREW_NO_GITHUB_API environment variable. The
value of the environment variable does not matter (it can even be
empty!).
For Bash/ZSH: export HOMEBREW_NO_GITHUB_API=1
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-10-25 21:12:28 +01:00
Jack Nagel
70eb1a50e3
config: omit llvm-gcc if it's not installed
2013-10-24 14:51:43 -05:00
Mike McQuaid
9fa87d69a5
Improve Xcode and CLT installation instructions.
2013-10-23 17:44:43 +01:00
Jack Nagel
7c6acdf0db
Avoid comparing Xcode.version to floats
2013-10-22 20:48:22 -05:00
Jack Nagel
fce53bc1f5
Avoid comparing MacOS.version to floats
2013-10-22 20:47:37 -05:00
Jack Nagel
d96883b874
doctor: remove 10.9 warning
2013-10-22 13:36:07 -05:00
Mike McQuaid
e6cf7be461
Different regex for user/tap/formula and user/tap.
...
Closes #23430 .
2013-10-22 11:58:40 +01:00
Mike McQuaid
e7fd0e5d66
install: silently ignore already tapped taps.
2013-10-21 20:16:57 +01:00
Mike McQuaid
b8103eb8fb
tap: use dedicated exception for already tapped.
2013-10-21 20:16:41 +01:00
Mike McQuaid
f612a4f75f
install: fix trying to tap local bottles.
2013-10-21 19:49:09 +01:00
Mike McQuaid
e475c43d77
install: tap if full tap formula format given.
...
Closes #23411 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-10-21 18:53:24 +01:00
Mike McQuaid
32e42e064d
global: unify tap regex.
...
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-10-21 18:53:24 +01:00
Jack Nagel
01f5dc0dce
libextractor: add runtime dependency on libtool
...
Fixes #23306 .
2013-10-18 20:14:16 -05:00
Stan
37a9048c87
add pin/unpin to help
...
Closes #23267 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com >
2013-10-16 06:08:19 -07:00
Mike McQuaid
962f33be5b
tap: don't print warning for apple-gcc42 failure.
...
This should be a temporary workaround until we get a grip on some
Mavericks/Xcode 5.0 issues with e.g. ghc and go (stuff in core
that currently needs GCC at runtime). These formulae both have
Clang fixes in development.
Things that needs GCC at compile-time should be booted from core.
References #22872 .
References Homebrew/homebrew-dupes#229
2013-10-16 08:40:41 +01:00
Mike McQuaid
31526f154a
audit: fix go audit problems.
2013-10-16 08:36:32 +01:00
Jack Nagel
55f130397c
Remove audit check for XZ
...
Any formula with a URL that ends in ".xz" now gets this dependency
automatically, so this check no longer does anything.
2013-10-15 22:56:04 -05:00
Jack Nagel
6059703508
Remove unused variable
2013-10-08 23:58:48 -05:00
Jack Nagel
1391171a0c
Remove outdated comment
2013-10-08 23:47:35 -05:00
Jack Nagel
4870e2183e
Prefer interpolation to concatenation
2013-10-08 23:44:23 -05:00
Jack Nagel
1c27bcdaec
doctor: avoid using MACOS_VERSION
2013-10-08 23:32:22 -05:00
Jack Nagel
a6b885f0eb
config: squelch stderr when invoking git
2013-10-04 13:08:13 -05:00
Xiyue Deng
59581dec27
Fix install_name_tool path for keg_only formulae
...
* When a versioned keg_only formula installs the same set of executables
or libraries as a unversioned formula that links to $HOMEBREW_PREFIX,
install_name_tool will prefer to use the linked paths for files in
keg_only formula. This breaks software that should link to the
keg_only formula but links to the unversioned one instead.
* Add an additional "options" parameter with keg_only field to specify
the correct install path for keg_only formulae.
2013-10-04 02:03:03 -07:00
Nikolaus Wittenstein
7c7a3057af
upgrade.rb: Fix plural_s when number = 0
...
Currently Upgrade prints out:
"Upgrading 0 outdated package, with result:"
This change makes it print:
"Upgrading 0 outdated packages, with result:"
correctly pluralizing "packages".
Closes #22854 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com >
2013-09-26 22:54:51 -07:00
Mike McQuaid
a88da279fb
update: handle realpath exception.
2013-09-24 23:07:01 +01:00
Mike McQuaid
e82636d17e
update: untap/retap formulae before/after pull.
...
This should fix problems like #19799 where we pull formulae from taps
into core. I want to get something similar merged ASAP so we can pull
GCC into core (see #20678 ).
Closes #19799 .
2013-09-24 23:06:10 +01:00
Jack Nagel
dc8cbbb414
Clean up SoftwareSpec and Resource initializers
2013-09-23 21:39:33 -05:00
Mike McQuaid
0f557e1468
bottle: add option to force no bottle revision.
2013-09-23 18:23:23 +01:00
Mike McQuaid
d6d876a773
bottle: fix merging .rb files.
2013-09-23 17:30:56 +01:00
Mike McQuaid
a0160de027
bottle: fix default Cellar output.
2013-09-23 17:30:55 +01:00
Adam Vandenberg
e15a90f826
don't audit jp sourceforge URLs
2013-09-22 22:06:53 -07:00
Mike McQuaid
d090ba2a8d
bottle: allow writing/committing new bottles.
2013-09-22 16:16:50 +01:00
Mike McQuaid
76ef4e1d50
Move bottle.rb logic from test-bot to brew bottle.
2013-09-22 16:16:50 +01:00
Mike McQuaid
12989ee42f
bottle: only output relocatable message if >1MB.
2013-09-22 16:01:03 +01:00
Mike McQuaid
9ba08f095b
bottle: move bottle output to ERB.
2013-09-22 16:01:02 +01:00
Mike McQuaid
03f233654f
bottle: use versions to access previous bottles.
2013-09-22 16:01:02 +01:00
Mike McQuaid
47ea9117b0
versions: use bottle_filename only if f.bottle.
2013-09-22 16:01:02 +01:00
Mike McQuaid
b2c8fe7e76
versions: add bottle filenames method.
...
Closes #22727 .
2013-09-22 09:52:05 +01:00
Mike McQuaid
f5af7aeef6
versions: add branch support in rev_list.
2013-09-22 09:52:05 +01:00
Mike McQuaid
8bdf158032
versions: split version_for_sha and use yield.
2013-09-22 09:52:05 +01:00
Mike McQuaid
d752db519f
bottle: fix --merge with multiple formulae.
2013-09-21 15:18:48 +01:00
Mike McQuaid
25a51853be
bottle: improve outputted messages.
2013-09-21 15:18:48 +01:00
Jack Nagel
92449566f5
More precise output for spec audits
2013-09-19 12:55:13 -05:00
Jack Nagel
69067e32fe
Audit spec resources
2013-09-19 12:55:13 -05:00
Jack Nagel
7fbf2ab8e4
Extract ResourceAuditor from FormulaAuditor
2013-09-19 12:55:12 -05:00
Jack Nagel
8edeef83b7
create: use resource for checksum detection
2013-09-17 21:29:54 -05:00
Adam Vandenberg
ba9353cd84
make linkapps official
2013-09-17 06:55:13 -07:00
Adam Vandenberg
e9d8fcd03e
move paths to utils
2013-09-17 06:44:25 -07:00