Jack Nagel
a87d2108ea
Move bottle filename construction to a class
2014-07-18 15:14:57 -05:00
Jack Nagel
b08c070481
Only ask for the stem once
2014-07-17 19:55:58 -05:00
Jack Nagel
07003f43ca
Call size on the path
2014-07-17 15:01:27 -05:00
Jack Nagel
ddefbe2c85
Use locals instead of repeatedly converting pathnames to strings
2014-07-17 15:01:26 -05:00
Jack Nagel
ecc9407fed
Remove deprecated options from brew-diy
2014-07-17 12:24:03 -05:00
Jack Nagel
8df33f7446
diy: use configure as the heuristic for autotools
...
Closes Homebrew/homebrew#30912 .
2014-07-17 12:14:17 -05:00
Jack Nagel
7b1ca1d152
Compare cellar and prefix against constants
2014-07-12 22:43:35 -05:00
Jack Nagel
58464287bc
Use pkg_version accessor
2014-07-12 22:37:51 -05:00
Jack Nagel
58b99f2cee
Try to workaround gem packaging shenanigans
2014-07-11 17:23:39 -05:00
Jack Nagel
72129668f4
audit: warn when using old-style patches
2014-07-11 12:46:41 -05:00
Jack Nagel
cf8f8dec1f
Fix up phrasing of case-sensitive volume warning
2014-07-09 17:04:52 -05:00
Jack Nagel
82ce0be6fd
Clean up /bin/df regexp
...
- remove unnecessary captures
- '%' is not a metacharacter so it doesn't need to be escaped
- match using '+' instead of '*'
2014-07-09 17:04:52 -05:00
Jack Nagel
5ab16295e5
Fix getting filesystem mounts
2014-07-09 17:04:52 -05:00
Jack Nagel
44254aa9cf
Remove redundant "which git" guards
...
There is always a git executable on PATH due to the git wrapper in
Library/Contributions/cmd. The wrapper will notify the user if there is
not a real git installed.
2014-07-06 14:10:52 -05:00
Jack Nagel
2d505754e7
Use Formula tap methods instead of matching the path
2014-07-06 13:52:04 -05:00
Jack Nagel
2d83c08592
Make tap_ref match similar code in update
2014-07-06 13:12:01 -05:00
Jack Nagel
f8fb74ff76
Escape paths in regexps
2014-07-06 11:25:56 -05:00
Jack Nagel
2d8a3ac35a
Use popen wrapper
...
Closes Homebrew/homebrew#30678 .
2014-07-05 15:41:22 -05:00
Mike McQuaid
9c5943d97a
bottle: use revision to find bottle block too.
2014-07-03 22:33:20 +01:00
Jack Nagel
330e18bb17
Use predicate methods instead of inspecting the tags array
2014-07-01 21:57:30 -05:00
Jack Nagel
804872fc94
Use sort_by in missing deps doctor check
2014-07-01 20:11:55 -05:00
Jack Nagel
6a1ad36fbd
Use sort_by in PrettyListing
2014-07-01 13:33:49 -05:00
Jack Nagel
4c05d411f3
Add a method for getting the repo HEAD
2014-06-30 19:18:28 -05:00
Jack Nagel
7cd31377a4
Convert update report to use composition
2014-06-27 21:58:15 -05:00
Jack Nagel
346fa5098f
Simplify valid_formula_location? method
2014-06-27 21:58:15 -05:00
Jack Nagel
85b6953816
Pass strings, not keg objects, to exec
2014-06-26 14:15:58 -05:00
Jack Nagel
51326e0b63
Extend with a module instead of aliasing on the singleton class
2014-06-25 11:19:00 -05:00
Mike McQuaid
49658cd46b
brew-versions: move to Contributions.
...
Eventually we'll move Contributions to a tap too.
Closes Homebrew/homebrew#30298 .
2014-06-25 09:35:37 +01:00
Jack Nagel
3d69e5ab7b
Rename Keg#fname to Keg#name
2014-06-24 19:09:09 -05:00
Jack Nagel
def6b1eaf7
Use Keg#uninstall to clean up kegs
2014-06-24 09:56:37 -05:00
Jack Nagel
76e86891e4
Remove opt link in Keg#uninstall
2014-06-23 22:34:41 -05:00
Jack Nagel
de24d73172
Use Keg#uninstall to uninstall kegs
2014-06-23 22:34:41 -05:00
Jack Nagel
3dbcba0c03
Call original backtick using super
2014-06-23 18:50:55 -05:00
Jack Nagel
8d12684efe
Pass repository path into the updater
2014-06-23 18:41:50 -05:00
Jack Nagel
4d9d01893e
Move deprecated Formula class methods to compat
...
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Vladimír Kriška
70d0035d37
Show file contents instead of commits
...
Closes Homebrew/homebrew#30324 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-06-21 09:14:35 -07:00
Jack Nagel
f0e13ee97b
Use multiple argument form of system
2014-06-20 18:37:24 -05:00
Mike McQuaid
1c176348ca
doctor: add caveats to avoid scaring people.
...
Sporadically people ask to whitelist doctor warnings or file issues when
there's nothing actually wrong. Help reassure such people with a
friendly message.
Closes Homebrew/homebrew#30230 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-20 11:14:35 +01:00
Jack Nagel
4f8be5bb66
Remove obsolete doctor check
...
Both build environments remove MACOSX_DEPLOYMENT_TARGET by default.
2014-06-19 19:32:37 -05:00
Jack Nagel
d9c586e201
Remove unnecessary string evals from doctor
2014-06-19 19:32:37 -05:00
Jack Nagel
c4cdd2b7ac
Use .each, not .all? to enumerate formulae
2014-06-19 19:15:40 -05:00
Jack Nagel
09e483c946
Fix typo
2014-06-19 19:15:40 -05:00
Jack Nagel
83b9043c8e
Remove more unused requires
2014-06-19 19:15:35 -05:00
Jack Nagel
88aaa36bec
Remove unused require
2014-06-19 17:55:04 -05:00
Jack Nagel
b87f9b37d6
Pull requires out of methods
2014-06-19 17:55:04 -05:00
Jack Nagel
21ffc89a8e
Use rack accessor instead of building pathname manually
2014-06-19 13:27:19 -05:00
Jack Nagel
10a1952d2c
Only "extend self" once on the Homebrew module
2014-06-19 13:10:36 -05:00
Jack Nagel
2afad083ee
Stop hiding exceptions completely in brew test
2014-06-18 23:33:31 -05:00
Jack Nagel
2122620d71
Fix brew test
when conflicting minitest gems are installed
2014-06-18 23:20:56 -05:00
Jack Nagel
55950bec59
bottle: cd to the repository before committing
2014-06-18 19:31:18 -05:00