5035 Commits

Author SHA1 Message Date
Mike McQuaid
ed3343565a 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
90a630dcad create: detect name from GitHub archives. 2013-10-25 21:12:29 +01:00
David MacMahon
a999ddc002 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
5b433bb05a config: omit llvm-gcc if it's not installed 2013-10-24 14:51:43 -05:00
Mike McQuaid
42f896c903 Update SUPPORTERS.md
Add late survey submission.
2013-10-24 09:20:20 +01:00
Jack Nagel
a8fe03f72b Tab: ensure file is closed after reading 2013-10-23 23:24:42 -05:00
Mike McQuaid
3716dae0ce test_utils: fix Mavericks arch test. 2013-10-23 22:15:28 +01:00
Mike McQuaid
0296ffa0ef test_formula: add Mavericks bottles. 2013-10-23 22:15:28 +01:00
Mike McQuaid
0c332a23a2 test_formula: use different/consistent SHA-1. 2013-10-23 22:15:28 +01:00
Mike McQuaid
9ebc527e49 Improve Xcode and CLT installation instructions. 2013-10-23 17:44:43 +01:00
Mike McQuaid
3fb38ea69e formula_installer: further fix tab file handling.
Closes Homebrew/homebrew#23477.
2013-10-23 14:02:51 +01:00
Mike McQuaid
57e541f040 global: further limit tap formula regex. 2013-10-23 12:59:42 +01:00
Mike McQuaid
71218a29d2 installer: don't try and unlink nil tabfile.
Closes Homebrew/homebrew#23472.
2013-10-23 12:42:20 +01:00
Jack Nagel
a5e8962ae7 Avoid comparing Xcode.version to floats 2013-10-22 20:48:22 -05:00
Jack Nagel
df824a22a7 Avoid comparing MacOS.version to floats 2013-10-22 20:47:37 -05:00
Mike McQuaid
6030695bee xcode: update to 5.0.1 on 10.8. 2013-10-23 00:45:19 +01:00
Mike McQuaid
b427314c90 bottles: support mavericks.
Closes Homebrew/homebrew#23447.
2013-10-23 00:09:35 +01:00
Mike McQuaid
6a3dc198f5 brew-pull: fix whitespace handling. 2013-10-22 23:56:30 +01:00
Mike McQuaid
047c8eb927 CLT: correctly find Mavericks CLT PKG.
Closes Homebrew/homebrew#23445.
2013-10-22 23:56:22 +01:00
Mike McQuaid
1be35f036e Xcode: don't detect Mavericks CLT as Xcode. 2013-10-22 22:37:09 +01:00
Mike McQuaid
a7c29271b8 CLT: rename Mavericks CLT path constant. 2013-10-22 22:36:41 +01:00
Misty De Meo
5568f1851d Bottle tag tests: fix Tiger Intel 64 2013-10-22 13:57:40 -07:00
Jack Nagel
31d705d494 Assume unknown clang versions are post-Xcode 5 2013-10-22 13:46:14 -05:00
Jack Nagel
ada07d07bf doctor: remove 10.9 warning 2013-10-22 13:36:07 -05:00
Jack Nagel
83d4ac5092 Remove "double negative" condition 2013-10-22 13:31:14 -05:00
Jack Nagel
63e1c71c50 Eagerly initialize formula specs
Declarations of dependencies, options, and resources in the DSL only
apply to specs that have already been initialized. For example, given
this snippet:

  url ...
  sha1 ...

  depends_on 'foo'

  devel do
    url ...
    sha1 ...
  end

The dependency 'foo' will be recorded for the stable spec, but not the
devel spec, since it was not initialized prior to the call to
depends_on.

While it is considered best practice to declare all specs (stable,
devel, head, and bottle) prior to other declarations, there is nothing
that enforces this ordering, so when it happens it can be confusing and
hard to debug.

To prevent this, we can initialize all specs up front. This comes with
a performance penalty for commands that load all formulae into memory,
but that is probably outweighed by what we gain in correctness.

Fixes Homebrew/homebrew#23425.
2013-10-22 13:31:08 -05:00
Mike McQuaid
98b28f5ac3 Different regex for user/tap/formula and user/tap.
Closes Homebrew/homebrew#23430.
2013-10-22 11:58:40 +01:00
Misty De Meo
de871a4daf Fix bottle_tag tests 2013-10-21 18:07:06 -07:00
Misty De Meo
2ac9afcc77 Bottles: add Leopard/PPC tags 2013-10-21 18:06:46 -07:00
Misty De Meo
28c9330abb Update Leopard/Tiger bottle tags
* PPC bottles are in the os_cpu format, e.g. :tiger_g3
* Intel bottles are the bare cat, as usual
* 64-bit bottles have _64 appended to them, e.g. :tiger_g5_64 or :leopard_64
2013-10-21 13:52:49 -07:00
Mike McQuaid
b7000aec37 install: silently ignore already tapped taps. 2013-10-21 20:16:57 +01:00
Mike McQuaid
1cb7eca3a5 tap: use dedicated exception for already tapped. 2013-10-21 20:16:41 +01:00
Mike McQuaid
0055e4dc5f install: fix trying to tap local bottles. 2013-10-21 19:49:09 +01:00
Mike McQuaid
c71492561f install: tap if full tap formula format given.
Closes Homebrew/homebrew#23411.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-21 18:53:24 +01:00
Mike McQuaid
077f09e4ea global: unify tap regex.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-21 18:53:24 +01:00
Xiyue Deng
862e6ca3bc Don't use stderr for make_fuss output.
* Using stderr breaks some configure script which fails due to contents
  available in stderr.
2013-10-20 06:44:05 -07:00
Misty De Meo
b31f6c0099 OS::Mac: Add Xcode 2.5 compiler 2013-10-20 00:41:08 -07:00
Misty De Meo
110859c08d superenv: always respect HOMEBREW_CC
Closes Homebrew/homebrew#23322.
2013-10-19 23:17:05 -07:00
Misty De Meo
a79bc02620 MacOS.gcc_build_version: find GCC when unlinked
MacOS.gcc_42_build_version was returning nil if apple-gcc42 was
installed but unlinked, which was disjoint with how other parts of
Homebrew tried to see if it was present.
2013-10-19 23:13:50 -07:00
Jack Nagel
4d6dd40bad Make non-libs warning less judgmental 2013-10-19 21:30:57 -05:00
Jack Nagel
72e9cbdac7 Fix truncation of printed paths in cellar audits 2013-10-19 21:30:20 -05:00
Jack Nagel
27f7e3503f Move verbose ENV setup out of brew.rb 2013-10-19 10:41:09 -05:00
Mike McQuaid
6551643127 HOMEBREW_GIT_ETC: fix nil etc bug. 2013-10-19 14:24:33 +01:00
Mike McQuaid
ee7869b056 formula: fix git_etc bash_completion handling. 2013-10-19 13:54:49 +01:00
Jack Nagel
e33c01aab5 libextractor: add runtime dependency on libtool
Fixes Homebrew/homebrew#23306.
2013-10-18 20:14:16 -05:00
Xiyue Deng
3b66a7d4fd Improve superenv add/remove message.
* Now it includes all flags that are added or removed by superenv when
  passing "--verbose" or envvar VERBOSE or HOMEBREW_VERBOSE is set.
2013-10-18 13:11:50 -07:00
Jack Nagel
f2738dbe96 Extract repeated conditional to a method 2013-10-18 13:38:19 -05:00
Jack Nagel
943978a955 Make condition clearer using names 2013-10-18 13:38:18 -05:00
Jack Nagel
273f5b2ddd Merge XQuartz and X11 modules 2013-10-18 13:38:18 -05:00
Jack Nagel
8887fe7606 Move MacOS modules under OS::Mac namespace
Closes Homebrew/homebrew#23138.
2013-10-18 13:38:07 -05:00