Mike McQuaid
0496ebe3ea
install, update: AlreadyTappedError never raised.
2014-01-03 21:57:06 +00:00
Mike McQuaid
e901c920a1
tap: never throw AlreadyTappedError.
...
Just make it a warning instead.
Closes #25511 .
Closes #25617 .
2014-01-03 21:56:57 +00:00
Mike McQuaid
c6f8928578
homebrew-python has moved to Homebrew org.
2013-12-28 12:14:38 +00:00
Josh Tilles
67afe0b600
Replace template’s j1 with deparallelize
...
Solely because I think `ENV.deparallelize` is *way* clearer than
`ENV.j1`, at least to the uninitiated.
Also, updating the template will reduce the number of `ENV.j1`s that
persist because the Homebrew maintainers want clean histories of
formulae. Ideally, this change should prevent any more cases from being
introduced!
Closes #25431 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com >
2013-12-27 16:58:55 -06:00
Jack Nagel
1d04e600a9
bottle: fix updating formulae with sha256 checksums
2013-12-27 16:43:34 -06:00
Jack Nagel
6206773253
bottle: use formula path accessor
2013-12-27 16:43:34 -06:00
Jack Nagel
e67bdb1351
Don't send, just call the method directly
2013-12-27 16:19:43 -06:00
Jack Nagel
53179eedbe
prune: remove unnecessary .sort
2013-12-21 21:37:26 -06:00
Jack Nagel
4c7cbdff73
bottle: extract method for enumerating files that match a string
...
This brings a (small) performance improvement as we yield the files as
they are output by fgrep rather than waiting until fgrep is done to do
any work.
2013-12-17 21:13:23 -06:00
Jack Nagel
b3d1c1769c
versions: improve performance of rev_list
2013-12-17 20:43:45 -06:00
Mike McQuaid
3c3155dfdf
doctor: don't complain about unmigrated remote.
2013-12-17 23:40:21 +00:00
Mike McQuaid
257d189d78
doctor: fix autocrlf set command.
...
Fixes #25282 .
2013-12-17 16:34:01 +00:00
Mike McQuaid
4a4ca0bb43
doctor: add instructions for remote migration.
2013-12-17 16:25:51 +00:00
Adam Vandenberg
2e3db0d0b8
options: show --HEAD and --devel when appropriate
...
Closes #24680 .
2013-12-15 19:42:08 -08:00
Chris Kampmeier
591516dee5
doctor: don't let gitconfig break dirty-tree check
...
`brew doctor` always complains about uncommitted modifications to
Homebrew when you have status.branch=true in your git config, because
the implicit --branch makes `git status -s` always print branch/tracking
info. The --porcelain mode is similar to -s/--short, but ignores most of
the user's config and should remain stable.
The --untracked-files option ensures we'll see untracked files even for
users with status.showUntrackedFiles=no, which is not suppressed by
--porcelain for some reason.
Closes #25230 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-12-15 17:20:45 +00:00
Mike McQuaid
913f6c1887
doctor: check for migrated origin Git remote.
...
Closes #25211 .
2013-12-14 23:11:16 +00:00
Mike McQuaid
660e794ac6
update: rewrite origin to point to Homebrew org.
2013-12-14 23:10:20 +00:00
Mike McQuaid
da7c92f0de
tap: change core formula tap naming.
2013-12-14 23:10:20 +00:00
Jack Nagel
4d610f11cf
bottle: remove unused require
2013-12-14 15:43:15 -06:00
Jack Nagel
ba2d2da51d
bottle: avoid keeping entire strings output in memory
2013-12-14 15:43:15 -06:00
Mike McQuaid
8f7e677456
Update string references to mxcl/homebrew.
2013-12-14 18:18:35 +00:00
Mike McQuaid
3c86d2b8ff
Update docs, comment mxcl/homebrew refs.
2013-12-14 18:18:35 +00:00
Jack Nagel
6c037c693b
Unify install name parsing
2013-12-14 09:35:58 -06:00
Jack Nagel
8e2e76d99a
Extract HOMEBREW_TEMP constant
2013-12-14 09:35:58 -06:00
Misty De Meo
ae177adb2b
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
814cc38393
doctor: fix PATH issues in comments
...
Closes #25170 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com >
2013-12-12 20:07:39 -06:00
Jack Nagel
d272e3c9aa
bottle: only chdir into the cellar when tarring up the bottle
2013-12-12 19:46:37 -06:00
Jack Nagel
930e2c86dc
Remove unused variables
2013-12-12 15:42:35 -06:00
Mike McQuaid
ccf3d099aa
uses: fix weird colon output.
...
Closes #24145 .
2013-12-12 21:24:42 +00:00
Mike McQuaid
133b128afc
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
03e87eb07e
bottle: determine revision more reliably
...
Closes #25100 .
2013-12-10 16:39:13 -06:00
Jack Nagel
69aae1fb8b
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
1bde550346
bottle: re-raise interrupt after cleanup
2013-12-09 19:38:20 -06:00
Jack Nagel
5121b2f509
bottle: clean up after interrupts
2013-12-09 17:35:05 -06:00
Jack Nagel
8838b50407
versions: delete unused method
2013-12-09 17:34:04 -06:00
Jack Nagel
43091a3c40
Silence some Ruby 2.1 warnings
2013-12-09 13:44:45 -06:00
Jack Nagel
21ae4facbe
versions: fix bottle filename usage
2013-12-08 16:41:35 -06:00
Jack Nagel
6a9a051a72
bottle: fix typo'd option name
2013-12-08 16:41:35 -06:00
Jack Nagel
f93964c159
bottle: don't repeat output for hardlinked files
2013-12-08 16:18:12 -06:00
Misty De Meo
b95f2357d8
Use BottleCollector in Bottle SoftwareSpec
2013-12-05 18:24:51 -08:00
Jack Nagel
2a7ce1a78c
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
b316b571ca
bottle: String is not Enumerable in 1.9+
2013-12-05 16:39:39 -06:00
Jack Nagel
c874d3e4e3
bottle: fix reporting matches with spaces in them
2013-12-05 16:39:39 -06:00
Jack Nagel
7fcda041de
bottle: fix false-positives from static libs when checking relocatability
2013-12-05 16:39:39 -06:00
Jack Nagel
7f195edef7
bottle: only split on newlines
2013-12-05 16:39:38 -06:00
Jack Nagel
34bae6d5fe
String isn't Enumerable in 1.9+
2013-12-05 15:09:18 -06:00
Jack Nagel
1623b9ef3c
Do relocation check while preparing bottle
2013-12-04 22:37:57 -06:00
Jack Nagel
1a3eb21379
Insert placeholders for prefix and cellar in relocatable bottles
2013-12-04 22:37:57 -06:00
Adam Vandenberg
e1b2ead292
loosen FileUtils audit
2013-12-04 20:07:38 -08:00
Jack Nagel
b9030a7dbb
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