3989 Commits

Author SHA1 Message Date
Misty De Meo
775406be91 brew: error out if bad xcode-select path given
Since a bad xcode-select path can cause many brew commands to freeze,
it's worth warning users and bailing out as early as possible.

The doctor check wasn't good enough, since the doctor could freeze
before the warning about this was ever printed.
2013-12-13 08:52:29 -08:00
Bovard Tiberi
569bd7c425 doctor: fix PATH issues in comments
Closes Homebrew/homebrew#25170.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-12 20:07:39 -06:00
Jack Nagel
07006bfdd4 bottle: only chdir into the cellar when tarring up the bottle 2013-12-12 19:46:37 -06:00
Jack Nagel
6c04ccfb3b Remove unused variables 2013-12-12 15:42:35 -06:00
Mike McQuaid
55db2f7e11 uses: fix weird colon output.
Closes Homebrew/homebrew#24145.
2013-12-12 21:24:42 +00:00
Mike McQuaid
38d2ffb2b8 audit: remove deprecated Python features.
These will be removed soon so don't check for them.
2013-12-12 21:07:41 +00:00
Jack Nagel
1b7718f6a7 bottle: determine revision more reliably
Closes Homebrew/homebrew#25100.
2013-12-10 16:39:13 -06:00
Jack Nagel
a933b58507 versions: restore original constant
Before:

  f1 = Formula.factory('tree')
  f1.versions
  f2 = Formula.factory('tree')
  f1.class == f2.class # => false

After:

  f1 = Formula.factory('tree')
  f1.versions
  f2 = Formula.factory('tree')
  f1.class == f2.class # => true
2013-12-09 21:13:45 -06:00
Jack Nagel
8f42185e18 bottle: re-raise interrupt after cleanup 2013-12-09 19:38:20 -06:00
Jack Nagel
4afd633570 bottle: clean up after interrupts 2013-12-09 17:35:05 -06:00
Jack Nagel
c3ac88d8c7 versions: delete unused method 2013-12-09 17:34:04 -06:00
Jack Nagel
109e9dc58b Silence some Ruby 2.1 warnings 2013-12-09 13:44:45 -06:00
Jack Nagel
cc4776cc23 versions: fix bottle filename usage 2013-12-08 16:41:35 -06:00
Jack Nagel
b30f409995 bottle: fix typo'd option name 2013-12-08 16:41:35 -06:00
Jack Nagel
3d8bf53187 bottle: don't repeat output for hardlinked files 2013-12-08 16:18:12 -06:00
Misty De Meo
e2af1cbeeb Use BottleCollector in Bottle SoftwareSpec 2013-12-05 18:24:51 -08:00
Jack Nagel
d6ab345be5 bottle: always perform a full relocation check
Even if the prefix check fails, it is useful to see the results from the
cellar check.
2013-12-05 18:41:45 -06:00
Jack Nagel
62170811dd bottle: String is not Enumerable in 1.9+ 2013-12-05 16:39:39 -06:00
Jack Nagel
d9afb4f9ea bottle: fix reporting matches with spaces in them 2013-12-05 16:39:39 -06:00
Jack Nagel
41a810c1b6 bottle: fix false-positives from static libs when checking relocatability 2013-12-05 16:39:39 -06:00
Jack Nagel
371a98fe66 bottle: only split on newlines 2013-12-05 16:39:38 -06:00
Jack Nagel
fb6867c363 String isn't Enumerable in 1.9+ 2013-12-05 15:09:18 -06:00
Jack Nagel
36701a89ba Do relocation check while preparing bottle 2013-12-04 22:37:57 -06:00
Jack Nagel
76153e9780 Insert placeholders for prefix and cellar in relocatable bottles 2013-12-04 22:37:57 -06:00
Adam Vandenberg
1d31200ad2 loosen FileUtils audit 2013-12-04 20:07:38 -08:00
Jack Nagel
6071e3b54c Fix tap migrations
When a `brew update` pulls down additions to tap_migrations.rb and the
removed formulae in the same update, the migrations will never run,
because tap_migrations.rb is loaded before the update takes place. Fix
this by loading it after the update.
2013-12-02 16:22:40 -06:00
Jack Nagel
4443a9f2e1 Emit deprecation warning for --use-{gcc,llvm,clang}
Closes Homebrew/homebrew#24864.
2013-12-02 01:17:32 -06:00
Mike McQuaid
fe4370cdd0 bottle: make writing commit message more robust. 2013-12-01 10:26:20 -08:00
Mike McQuaid
9773b9e8bf bottle: write bottle version in commit message. 2013-11-27 08:31:26 +00:00
Jack Nagel
7ef03c35f7 audit: distinguish between nil and empty versions 2013-11-26 20:35:07 -06:00
Jack Nagel
6675fd88fc Fix some unanchored patch URLs 2013-11-25 13:22:03 -06:00
Adam Vandenberg
2efc1dd3f1 audit: remove 'python bindings' warning 2013-11-23 13:53:55 -08:00
Adam Vandenberg
f37e84d766 retire homebrew/x11
Closes Homebrew/homebrew#24405.
2013-11-17 12:20:28 -08:00
Jack Nagel
674d041d80 Move brew-leaves into core
Closes Homebrew/homebrew#24371.
2013-11-16 14:10:25 -06:00
Mike McQuaid
1aba456888 versions: announce deprecation.
They break often so we should think, longer-term, about removing it
altogether but may as well give users fair warning before that point.

Closes Homebrew/homebrew#24220.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-14 16:39:00 +00:00
Jack Nagel
f42c7f1cc3 update: add remaining status indicators to diff-tree regexp
As I understand it, we should never encounter these, but...
2013-11-14 09:52:33 -06:00
Jack Nagel
8335401bc3 update: guard against nil in tap migrations 2013-11-14 09:25:27 -06:00
Jack Nagel
f41e1a3b83 Add file type change to git diff-tree regexp
Fixes Homebrew/homebrew#24286.
2013-11-14 09:24:28 -06:00
Jack Nagel
8b7ddc1fed XQuartz 2.7.5 released
Closes Homebrew/homebrew#24173.
2013-11-12 10:12:41 -06:00
Adam Vandenberg
81bf8a168a audit generic binary names
Binaries with names like 'run' or 'service' are likely to conflict.
Warn about these and suggest a libexec-style install instead.
2013-11-12 07:10:13 -08:00
Mike McQuaid
e08ec21abe bottle: always use HOMEBREW_REPOSITORY. 2013-11-12 11:29:50 +00:00
Mike McQuaid
39d3cfd6ae info: fix on non-tty terminals.
References Homebrew/homebrew#18922.
Closes Homebrew/homebrew#24188.
Closes Homebrew/homebrew#24190.
2013-11-11 22:15:24 +00:00
Colin Dean
8939857600 info: decorate deps to show installed status?
* shows green tick if installed or red cross if not
* only highlight dependency if HOMEBREW_NO_EMOJI is set

Closes Homebrew/homebrew#18922.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-11 14:15:46 +00:00
Jack Nagel
4cbaeb6d61 Clarify XQuartz warning
Closes Homebrew/homebrew#24094.
2013-11-09 19:04:46 -06:00
Jack Nagel
8aa42e5bf1 HOMEBREW_USE variables are no longer honored, ignore them 2013-11-07 14:38:49 -06:00
Jack Nagel
17b59fcee0 Display only HOMEBREW_CC/CXX in brew --env under superenv
The other values will be identical.
2013-11-07 14:38:43 -06:00
William Entriken
0f87351a0e doctor: quoting fix
The one liner should put `#{HOMEBREW_PREFIX}/bin:$PATH` into bash profile.
Previously it was being interpreted by the shell before being put in bash profile.

Closes Homebrew/homebrew#24008.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-06 06:29:36 -08:00
Jack Nagel
6c3ee52d14 Remove special cases in build-time dep audit
Closes Homebrew/homebrew#23931.
2013-11-04 12:10:26 -06:00
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