Jack Nagel
04d0cea01c
Directory, not folder
2013-05-23 23:33:36 -05:00
Jack Nagel
8b98e83347
doctor: reorganize check_for_macgpg2
2013-05-23 23:28:16 -05:00
Jack Nagel
187b9c9d59
doctor: simplify trailing slash checks
2013-05-23 23:07:20 -05:00
Jack Nagel
6a020239d1
doctor: extract helper from stray file checks
2013-05-23 22:57:00 -05:00
Misty De Meo
8559725645
MacOS::Xcode.latest_version: add Tiger
2013-05-23 18:44:50 -05:00
Adam Vandenberg
aec45a6ee6
correct an indent
2013-05-23 12:50:31 -07:00
Jack Nagel
1194880cf2
doctor: fix check_for_broken_symlinks
...
Fixes Homebrew/homebrew#20000 .
2013-05-23 11:28:16 -05:00
Adam Vandenberg
46d2b2165a
Allow brew log on deleted formulae.
...
Closes Homebrew/homebrew#19995 .
2013-05-23 09:21:33 -07:00
Jack Nagel
9212e1b1ee
Clarify API token env var
2013-05-23 10:03:08 -05:00
Jack Nagel
42c02a894d
doctor: remove stale OS version check
...
Closes Homebrew/homebrew#19959 .
2013-05-22 23:33:22 -05:00
Jack Nagel
dd280cc0b1
MacOS.version in case statement doesn't work with ranges
2013-05-22 22:59:38 -05:00
Jack Nagel
3755b33a97
Refactor Xcode/CLT version checks
2013-05-22 22:30:38 -05:00
Jack Nagel
b2ff6e934b
Use implicit begin
2013-05-22 19:58:11 -05:00
Jack Nagel
b24f8e2c9e
Hoist requires out of methods
2013-05-22 19:53:05 -05:00
Daniel Lee Harple
471502bc06
Remove unnecessary rescue-all exception handling
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22 19:53:05 -05:00
Daniel Lee Harple
08388b149e
Added support for a GitHub Personal API Access token
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22 19:53:05 -05:00
Daniel Lee Harple
0fa5c47d7f
Check GitHub API rate limit instead of silently failing
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22 19:53:04 -05:00
Daniel Lee Harple
222f96d37b
Pass a User-Agent when fetching data from the GitHub API
...
See <http://developer.github.com/v3/#user-agent-required >.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22 19:53:01 -05:00
Jack Nagel
0bf35a05a9
Favor equality check over nil check
2013-05-22 19:42:43 -05:00
Jack Nagel
da2b5cf5ab
Extract name repair logic from fix_install_names
2013-05-22 11:40:57 -05:00
Jack Nagel
2488cfa55a
Factor out MacOS.locate("install_name_tool") calls
2013-05-22 11:11:32 -05:00
Misty De Meo
a69552a57d
unpack: s/allready/already/
2013-05-22 10:03:22 -05:00
Jack Nagel
0147ac70c6
Fix CompilerSelector tests on systems that have gcc 4.0
2013-05-21 22:44:23 -05:00
Jack Nagel
0e81c4de9c
Formula: move pin methods somewhere less intrusive
2013-05-21 22:41:21 -05:00
Misty De Meo
6e3cb9f735
Add gcc 4.0 to CompilerSelector compiler queue
2013-05-20 23:25:15 -05:00
Misty De Meo
4fdbb2d685
CompilerSelector: raise when no compatible compiler
...
This replaces the old behaviour of falling back to the original
compiler with no messaging.
Fixes Homebrew/homebrew#19170 .
Fixes mistydemeo/tigerbrew#45 .
2013-05-20 23:25:15 -05:00
Jack Nagel
c9ce32d0f1
Simplify implementation of ARGV.flag? and .switch?
2013-05-20 22:34:54 -05:00
Jack Nagel
863d2b253a
Add test for ARGV.flag?
2013-05-20 22:34:53 -05:00
Jack Nagel
007d174f43
build: use ARGV.interactive? instead of .flag?
2013-05-20 22:34:53 -05:00
Jack Nagel
92b6bcb77d
link: extract keg-only check into a helper method
2013-05-20 21:55:01 -05:00
Misty De Meo
5d48f46178
MacOS::Version: add :tiger
2013-05-20 18:41:49 -05:00
Jack Nagel
bf935a1fa5
Version: dup @version in #to_s
2013-05-19 20:51:25 -05:00
Jack Nagel
cd35fc3bbd
brew-switch: simplify implementation
2013-05-19 20:25:11 -05:00
Jack Nagel
6fa64da7f3
brew-dirty: simplify implementation
2013-05-19 20:22:46 -05:00
Jack Nagel
26b301c348
brew-leaves: use Formula.installed
2013-05-19 18:47:56 -05:00
Troels Thomsen
ebedd3d57f
brew-leaves: resolve dependency graph for installed formulae only
...
Closes Homebrew/homebrew#19870 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-19 18:41:49 -05:00
Jack Nagel
4276d03fe4
Fix set_cpu_flags invocations in ENV.fortran
...
Fixes Homebrew/homebrew#19013 .
Fixes Homebrew/homebrew#19862 .
Fixes Homebrew/homebrew#19921 .
2013-05-19 11:18:53 -05:00
Jack Nagel
40dedcec70
upgrade: fix typo
2013-05-18 22:11:19 -05:00
Jack Nagel
a10cda77be
upgrade: use a method rather than a boolean flag
2013-05-18 22:09:15 -05:00
Jack Nagel
26a076eef5
upgrade: tighten installed precondition
2013-05-18 22:09:15 -05:00
Jack Nagel
3687cbc21b
Remove gsutil
...
This is now available from PyPI, and the github tarball does not contain
all of the necessary dependencies, so remove it and recommend "pip
install gsutil".
Closes Homebrew/homebrew#19874 .
Closes Homebrew/homebrew#19895 .
2013-05-18 20:27:15 -05:00
Jack Nagel
277f3d3c30
Stop running "prune" as part of "cleanup"
...
Rationale: "prune" is slow, does not need to be run as often as
"cleanup", and is potentially destructive to things like empty
directories that Homebrew did not create. Thus we should let users run
`brew prune` only when they wish to, while still being able to use `brew
cleanup`.
Closes Homebrew/homebrew#19863 .
2013-05-18 20:22:24 -05:00
Jack Nagel
a3312d24a3
Use subdirs to avoid checking for .DS_Store
2013-05-16 17:48:12 -05:00
Jack Nagel
460e805592
Formula: remove specs accessor
...
This information is only used by the downloader, no need to expose it.
2013-05-16 15:33:31 -05:00
Jack Nagel
65775e4318
CurlDownloadStrategy: remove "tarball_path" accessor
...
This information is already exposed as "cached_location", which is
common to all download strategies.
2013-05-16 15:26:25 -05:00
Jack Nagel
e8997c8a5a
linkapps: deal only with kegs, not formulae
...
Fixes Homebrew/homebrew#19873 .
2013-05-16 14:57:29 -05:00
Jack Nagel
2d8496129c
Formula#fetch: always return the cached path
...
This allows us to remove some type checks that were protecting against
potential nils.
2013-05-16 14:06:26 -05:00
Jack Nagel
daef74aa27
Adjust semantics of Formula#fetch
...
It doesn't really make logical sense that this method returns both the
fetched path (or sometimes nil!) and the downloader, so just return the
path (again, or nil!) and callers that want the downloader can ask for
it separately.
2013-05-16 14:06:26 -05:00
Jack Nagel
a6f9a1c4a3
fetch: rename 'tarball' to 'download'
2013-05-16 14:06:26 -05:00
Jack Nagel
db0c93dbae
fetch: use concat rather than << and flatten
2013-05-16 14:06:25 -05:00