1041 Commits

Author SHA1 Message Date
Misty De Meo
f643b84dc4 Doctor: fix check_access_logs
Fixes Homebrew/homebrew#23936.
2013-11-03 18:51:22 -08:00
Jack Nagel
aafae73cf9 Fix regression in brew deps
The default mode is intended to display recursive dependencies, with the
`--1` flag to display only one level.
2013-11-02 22:22:45 -05:00
Mike McQuaid
e24bcba00a update: check if Cellar exists instead of factory.
Fixes Homebrew/homebrew#23881.
2013-11-01 23:23:14 -07:00
Jack Nagel
4a5b65c9f5 Remove "-c1" one-line config
This is broken and nobody noticed, so remove it.

Closes Homebrew/homebrew#23878.
2013-11-01 19:04:04 -05:00
Mike McQuaid
fd254c3874 bottle: improve written bottle output. 2013-10-31 19:03:31 -07:00
Mike McQuaid
3f489e1eed bottle: write to relative path if exists. 2013-10-31 18:21:03 -07:00
Mike McQuaid
b0bf181788 install: search when formula isn't found. 2013-10-31 17:20:00 -07:00
Elliot Saba
c20f6395bb bottle: improve relocatable debugging.
* When Homebrew developer mode is enabled, if a bottle is not found to
  be relocatable attempt to explain why
* Print out paths of each file that still contains the string search for
* If the string searched for was found in an executable, check to see
  if `otool` can explain the string's appearance
* If otool can't explain, see if `strings` can explain

Closes Homebrew/homebrew#23824.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-31 17:12:36 -07:00
Mike McQuaid
37e2005e79 Use HOMEBREW_LOGS more consistently. 2013-10-31 17:02:20 -07:00
Jack Nagel
3f2782e22d fetch: check for existing cache file before downloading 2013-10-31 14:29:48 -05:00
Jack Nagel
d35e465671 fetch: clear partial downloads when --force is given
Fixes Homebrew/homebrew#23764.
2013-10-31 14:29:38 -05:00
Jack Nagel
643469a17c sh: only activate X11 if it's installed
Fixes Homebrew/homebrew#23835.
2013-10-31 14:20:29 -05:00
Mike McQuaid
d9d2443d5d Cleanup use of some global constants. 2013-10-30 13:20:48 -07:00
Mike McQuaid
d6ffd493a6 deps: don't use symbol-like output by default. 2013-10-30 13:13:41 -07:00
Mike McQuaid
8e75e3e043 doctor: strengthen osx-gcc-installer warning.
We hate it and we should tell people why.
Next step may be blocking it altogether.
2013-10-30 11:28:38 -07:00
Mike McQuaid
ce8123badd install: print osx-gcc-installer doctor warning. 2013-10-30 11:28:37 -07:00
Mike McQuaid
d31e069ed3 update: automatically tap migrated formulae.
When a formula is removed from core and installed let's tap it so users
can get updates without caring which tap we want to put things in.

This should allow us to migrate a lot of things to taps.

Closes Homebrew/homebrew#23760.
2013-10-30 11:24:21 -07:00
Mike McQuaid
202c6ef826 global: add more tap regexes. 2013-10-30 11:19:46 -07:00
Mike McQuaid
868b4f8bea uses: display requirements.
Closes Homebrew/homebrew#23758.
2013-10-30 10:48:53 -07:00
Mike McQuaid
34d836872f deps: display requirements default_formulae. 2013-10-30 10:48:53 -07:00
Mike McQuaid
a252c90a0d doctor: ensure git --version actually matches.
Closes Homebrew/homebrew#23791.
2013-10-30 10:34:04 -07:00
Teo Ljungberg
95305e6256 New command: brew unlinkapps
The name is pretty self explanatory, it unlinks all installed
applications found under `brew --prefix` from either `~/Applications` or
`/Applications`

Closes Homebrew/homebrew#22729.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-29 21:04:25 -07:00
Mike McQuaid
fdc08424af versions: fix bottle_filenames.
Previously if a bottle had no checksum for a particular platform (i.e.
currently there are no Mavericks bottles) then it would generate a
different revision (and thus filename) to the rest of the bottles being
generated which meant bottles needed to be manually renamed.

Instead check the actual bottle object's checksums to make sure that
we've looked at the previous bottles for all platforms rather than just
the current one.
2013-10-28 10:26:04 +00:00
Jack Nagel
91dfb60805 create: escape example interpolation
Fixes Homebrew/homebrew#23643.
2013-10-26 18:30:39 -05:00
Adam Vandenberg
6857e2ed34 add note about test path to create template 2013-10-26 15:39:39 -07:00
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
9ebc527e49 Improve Xcode and CLT installation instructions. 2013-10-23 17:44:43 +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
Jack Nagel
ada07d07bf doctor: remove 10.9 warning 2013-10-22 13:36:07 -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
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
Jack Nagel
e33c01aab5 libextractor: add runtime dependency on libtool
Fixes Homebrew/homebrew#23306.
2013-10-18 20:14:16 -05:00
Stan
4d086e8394 add pin/unpin to help
Closes Homebrew/homebrew#23267.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-16 06:08:19 -07:00
Mike McQuaid
8b5b220d88 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 Homebrew/homebrew#22872.
References Homebrew/homebrew-dupes#229
2013-10-16 08:40:41 +01:00
Mike McQuaid
a64e9d4f0a audit: fix go audit problems. 2013-10-16 08:36:32 +01:00
Jack Nagel
e9d608587d 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
9bd507b7be Remove unused variable 2013-10-08 23:58:48 -05:00
Jack Nagel
051061827c Remove outdated comment 2013-10-08 23:47:35 -05:00
Jack Nagel
424187fc15 Prefer interpolation to concatenation 2013-10-08 23:44:23 -05:00
Jack Nagel
b2516f9989 doctor: avoid using MACOS_VERSION 2013-10-08 23:32:22 -05:00
Jack Nagel
5b0e0c2570 config: squelch stderr when invoking git 2013-10-04 13:08:13 -05:00
Xiyue Deng
592b5d91a0 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