aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2012-06-26doctor: check for ~/.pydistutils.cfgsamueljohn
Closes Homebrew/homebrew#12363. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-26config: omit Xcode path for CLT-only systemsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-26Clean up --config outputJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-25brew-upgrade: Respect --ignore-dependencies flagCharlie Sharpsteen
Passing `--ignore-dependencies` to `brew upgrade` will now have the desired effect.
2012-06-24Core change: XCode only install, with CLT or bothsamueljohn
Allow XCode without the Command Line Tools to work with homebrew, so it's not necessary to register an Apple Dev ID and/or go to the XCode prefs and download the CLT. Yay! Further, this commit allows to use the CLT solely (without the need for XCode). Saves quite some megs. (Some furmulae require xcodebuild) Of course XCode together with the CLT is still fine and has been tested on 10.7 and 10.6 with Xcode 4 and Xcode 3. Only on Lion or above, tell the user about the options, which are - Xcode without CLT - CLT without Xcode - both (ok, it's not directly stated, but implicit) So if no Xcode is found and we are on Lion or above, we don't fail but check for the CLTs now. For older Macs, the old message that Xcode is needed and the installer should be run is still displayed. If the CLT are not found but Xcode is, then we print out about the experimental status of this setup. Closes Homebrew/homebrew#10510. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-23doctor: rewrite Volume class to fix issue with google update engineTim Oram
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-19doctor: skip missing_deps when no Cellar existsMisty De Meo
Another fix for Homebrew/homebrew#5188.
2012-06-19doctor: skip outdated_homebrew check when no gitMisty De Meo
2012-06-19doctor: don't warn about recent MacGPG2 versionsMisty De Meo
Fixes Homebrew/homebrew#12238.
2012-06-19doctor: skip Cellar test if Cellar doesn't existMisty De Meo
Fixes Homebrew/homebrew#5188 (again).
2012-06-17audit: prefer ARGV.build_head? to inspecting 'version'Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17audit: prefer modifying ENV to using env or exportJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17audit: catch unnecessary 'ENV.foo' interpolationJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17doctor: Mono-specific warning for pkg-configMisty De Meo
Mono installs its own pkg-config symlink into /usr/bin/pkg-config, which breaks non-Mono builds. Provide a specific warning. Closes Homebrew/homebrew#12859.
2012-06-12Fix doctor's use of missing.Adam Vandenberg
`brew doctor` shelled to `brew missing` and parsed the results. When VERBOSE was true, this caused an error as extra, unexpected output is generated. Make missing an internal command, and give it a programmatic interface.
2012-06-12Use which method in doctorJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-06Use sha1 as the default checksum for new formulaeAdam Vandenberg
See: https://github.com/mxcl/homebrew/pull/12587
2012-06-03doctor: improve outdated Homebrew checkJack Nagel
We now skip the outdated check if our local origin/master tracking branch matches the origin remote's current master. This prevents false positives when we are actually up-to-date but the latest commit is over 24 hours old. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-01Replace /usr/bin/ruby with full Framework pathMisty De Meo
Rationale: some users insist on replacing the /usr/bin/ruby symlink to point to another ruby on their system, which may break homebrew. Use the full Framework path instead, which is less likely to be tampered with. This also reorganizes the brew --config checks to reflect the different path. Fixes Homebrew/homebrew#12009. Closes Homebrew/homebrew#12333. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-05-22create: update cmake calls in templateJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15audit: fix broken deps checkJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-13doctor: rework check_pkg_config_pathsJack Nagel
pkg-config can give us this information a colon-separated list; use that. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-13Use 'which' helper method moreJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-11doctor: report if a path element is invalidMisty De Meo
Under certain circumstances, an invalid path element would cause File.expand_path to bail out. Catch mistakes and report them, then continue instead. Fixes Homebrew/homebrew#12154
2012-05-07Unify 'which' and which_s' utility methodsJack Nagel
'which' only returns a Pathname or nil, and doesn't care about anything sent to stderr, so just silence it by default and combine the two methods. Closes Homebrew/homebrew#12115. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-07audit: don't count printed URLs as problemsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-07audit: check MacPorts patch URLsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-05Honor build options and bottles when upgradingNicolas Despres
Fixes Homebrew/homebrew#11552. Closes Homebrew/homebrew#11777. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-30brew tap: allow dashes in GitHub usernamesMisty De Meo
2012-04-30Add ofail command and fix bottle command output.Mike McQuaid
2012-04-30Cleanup old bottles.Mike McQuaid
2012-04-29audit: reduce false-positivesAdam Vandenberg
2012-04-28doctor: add another path to the macgpg2 checkAdam Vandenberg
2012-04-20test: improve "formula not installed" error textJack Nagel
Closes Homebrew/homebrew#11779. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-17Don't attempt to walk nonexistent directoriesJack Nagel
Fixes Homebrew/homebrew#11298. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-15info: handle git:// URLs in origin remoteMaurice Kelly
The URL being constructed is only able to extract the correct username when git@ or https:// URLs are found as the origin remote. This change allows git:// to be used as well. Signed-off-by: Maurice Kelly <osv-github@chatswood.org.uk> Closes Homebrew/homebrew#11670. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-11deps: fix --tree for new depsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-11brew doctor: add check for outdated compilersMisty De Meo
A common source of build problems on Xcode 4.3+ is outdated compilers, usually when a user has installed over top of an old version and hasn't installed the CLT. Since the compilers from the previous Xcode are still around, brew doctor wouldn't complain. This adds a hash containing a list of the canonical compiler versions for supported versions of Xcode, and adds a check against that to determine whether a given installation has any compilers which are out of date. Closes Homebrew/homebrew#11518. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-04-09doctor: be specific about libiconv files detectedMisty De Meo
Closes Homebrew/homebrew#11417.
2012-04-08doctor: skip Cellar checks if Cellar doesn't existMisty De Meo
Attempting to call certain methods on the Cellar before it exists, such as realpath, would cause brew doctor to throw unnecessary "file does not exist" errors. This was fixed once before, but new tests have been added since without the appropriate checks. cf. 0d28bc78d71590c8e8a5961d8d10e3d7d9b8822d Fixes Homebrew/homebrew#5188 (again).
2012-04-06info: output correct URL for tapped dupesJack Nagel
Tapped formulae that dupe those in core now display the correct URL when invoked like `brew info homebrew/dupes/openssl`. This also fixes the broken `brew info` test. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-05Use GitHub API 3 in `brew search`Max Howell
2012-04-03doctor: fix typosRory O’Kane
Closes Homebrew/homebrew#11418. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-02fetch: don't display cached location twiceJack Nagel
The download strategy will print the cached location if we've already fetched it, so avoid printing redundant information. Also just "puts" it instead of using a second `ohai` line. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-03Version bottles.Mike McQuaid
2012-03-29info: always indicate if a keg is linkedJack Nagel
We mark the linked keg with an asterisk when multiple kegs exist, but not when there is only a single keg. Start marking even in this case, giving consistent behavior and a reliable indicate of the link status. Fixes Homebrew/homebrew#11300. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-29Exit with bad exit code on command failures.Mike McQuaid
2012-03-29brew-bottle doesn't need to specify filenames now.Mike McQuaid
2012-03-25Search Homebrew/gamesMax Howell
2012-03-24Fix typo in --config.rbJack Nagel
Closes Homebrew/homebrew#11183. Signed-off-by: Jack Nagel <jacknagel@gmail.com>