Jack Nagel
f4ae1c9e1b
Hide the options data structure better
2014-07-31 19:59:09 -05:00
Jack Nagel
b160cc9bb6
Handle tap file renames that remove a file from the formula directory
2014-07-31 15:58:03 -05:00
Jack Nagel
ba4a4e4103
Limit exposure of the options data structures
2014-07-29 21:54:32 -05:00
Jack Nagel
5216dd54b3
Remove patch hacks from unpack
2014-07-29 16:22:07 -05:00
Jack Nagel
dc2080bd9f
Remove patch hacks from audit
2014-07-29 16:22:06 -05:00
Adam Vandenberg
bb2c9b7ba4
audit 'def test'
...
Closes Homebrew/homebrew#31120
2014-07-27 15:10:15 -07:00
Jack Nagel
87850d00cd
Remove obsolete hacks from updater report
2014-07-26 20:11:53 -05:00
Jack Nagel
2b90995c3e
Only populate the report with formula paths
2014-07-26 20:11:53 -05:00
Jack Nagel
197a12c900
Switch from backticks to Utils.popen_read
2014-07-26 20:11:53 -05:00
Jack Nagel
802775078c
Separate reading and parsing the diff
2014-07-26 20:11:53 -05:00
Jack Nagel
6baf357f8c
update: remove unused rename detection
...
Right now this code only produces false positives. When we have real
support for renames, we can implement it more carefully.
Closes Homebrew/homebrew#31126 .
2014-07-25 12:28:05 -05:00
Jack Nagel
2cf116464d
update: simplify diff parsing
2014-07-25 12:25:58 -05:00
Jack Nagel
7078af8218
Pass the string directly to the output method
2014-07-19 23:50:59 -05:00
Jack Nagel
d2aeadb1cd
Pass array to puts instead of iterating over it
2014-07-19 23:36:02 -05:00
Jack Nagel
c18eea6a17
Default to stdout since other code calls this method
2014-07-19 23:28:56 -05:00
Jack Nagel
74ad97ce7f
Remove intermediate method
2014-07-19 22:55:49 -05:00
Jack Nagel
010bd2783e
Allow verbose config to be written to any IO object
2014-07-19 22:33:59 -05:00
Jack Nagel
c0579443f2
Don't mess with stdout when writing build config to a file
2014-07-19 22:33:00 -05:00
Jack Nagel
6f02314cba
Add a factory method that accepts a formula object
2014-07-18 15:15:12 -05:00
Jack Nagel
49a97c280a
Ask the filename object for the prefix
2014-07-18 15:15:12 -05:00
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