aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac/diagnostic.rb
AgeCommit message (Collapse)Author
2017-12-08Remove some unset/checked environment checksMike McQuaid
These will be redundant once environment filtering is on by default in #3529.
2017-11-27More environment filtering fixesMike McQuaid
- Make `brew pull` pass through Git environment variables - Whitelist all `TRAVIS_` variables.
2017-11-17diagnostic: check if Xcode needs CLT installed.Mike McQuaid
Require the CLT on all but the latest version of macOS to avoid the continuous workarounds for SDK weirdness.
2017-11-13environment filtering: pass through TRAVIS vars.Mike McQuaid
We use these internally so let's map them to `HOMEBREW_` variables.
2017-11-07os/mac/diagnostic: fix XQuartz message.Mike McQuaid
Fixes #3434.
2017-11-05diagnostic: simplify version checks.Mike McQuaid
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-09-21Upgrade vendored Ruby to 2.3.3.Mike McQuaid
Use this version whenever 2.3.3 isn't installed. Also, remove the Linux portable Ruby for now until it's built to be the same version.
2017-09-15os/mac/diagnostic: allow custom Ruby for devs.Mike McQuaid
This avoids `brew doctor` warnings on High Sierra but in general this is a good idea for future versions and to allow Homebrew developers to test things out with different versions of Ruby.
2017-06-12Autocorrect Rubocop Style/SpecialGlobalVars.Mike McQuaid
2017-06-06Fix undefined variable ruby_versionconstXife
2017-05-27diagnostic: move some more macOS doctor checks.Mike McQuaid
Move some `brew doctor` checks that are pretty macOS specific so they are only run on macOS.
2017-04-22More deprecations.Mike McQuaid
Deprecate more methods. Internal APIs have been verified to be unused elsewhere and removed. External APIs have had deprecation methods added. Existing deprecations have been either upgraded to produce warnings or no longer deprecated and the reasoning documented.
2017-04-02diagnostic: also ignore outdated CLT on Travis CI.Mike McQuaid
2017-02-19diagnostic: strip trailing whitespace.Mike McQuaid
2017-02-17diagnostic: fix typo.Mike McQuaid
2017-02-17diagnostic: detail TRAVIS opt-out reasoning.Mike McQuaid
2017-02-17Revert "Skip Xcode outdated check on CircleCI"Mike McQuaid
2017-02-10diagnostic: Add CircleCI to Env checkDanielle Tomlinson
2016-12-19Remove Xcode prerelease warnings.Mike McQuaid
At this point we probably do want to know about issues that crop up in betas so we can fix them before the new version of Xcode is released. Additionally, this doesn't really work well any more with our new tag-based workflow as it means we need to cut a new tag immediately after a new Xcode is released.
2016-12-18Never trigger too old CLT check on <10.7.Mike McQuaid
While we fake a CLT for these versions they never shipped with the CLT so cannot update it.
2016-11-26diagnostic: silence outdated Travis Xcode warning.Mike McQuaid
This doesn't add any value and stops us from testing `brew doctor` and others from running `brew doctor` on Travis CI.
2016-11-12diagnostic: skip xcode-select check with no Xcode.Mike McQuaid
Skip the `xcode-select` configuration check if there's no CLT or Xcode installed as in that case neither will be used. Fixes #1055.
2016-11-10Merge pull request #1381 from adzenith/patch-1Mike McQuaid
`brew doctor` recommends using cask to upgrade XQuartz
2016-11-09`brew doctor` recommends using cask to upgrade XQuartzNikolaus Wittenstein
Also changes exceptions.rb to use Formatter.url
2016-11-05diagnostic: add build error checks.Mike McQuaid
2016-11-05diagnostic: only make minimum Xcode/CLT version checks fatal.Mike McQuaid
Also: freeze the relevant arrays.
2016-11-05os/mac/diagnostic: split some unless conditions.Mike McQuaid
2016-11-05diagnostic: add checks for minimum Xcode/CLT versions.Mike McQuaid
2016-10-02*/diagnostic: tweak messaging.Mike McQuaid
Update some messaging based on recent user confusion and the `/usr/local/Homebrew` and Ruby 2 migrations.
2016-09-23diagnostic: limit fatal dev tools check to SierraDominyk Tiller
2016-09-23diagnostic: make using outdated dev tools fatalDominyk Tiller
A smarter form of https://github.com/Homebrew/brew/commit/559cea7fa9d7f9f2557f2523092687dec45c5316. Travis users can't force Travis to update 10.11 to Xcode 8, so this was murdering builds left, right & centre. Fixes https://github.com/Homebrew/brew/issues/1096 whilst still retaining the point of the original commit. Also offers developers an opt-out so if we need to test something on 10.11 with Xcode 7.x we can, etc.
2016-09-22Revert "diagnostic: make using outdated development tools fatal"Dominyk Tiller
This reverts commit a124680b189f50ebeb550845e3c0efd34db66247. Will need to be smarter than this, since people can't force Travis to update. I'm losing count of the amount of times Travis has forced a change of plans around Homebrew this year. Closes https://github.com/Homebrew/brew/issues/1096.
2016-09-22diagnostic: make using outdated development tools fatalDominyk Tiller
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-16Warn when using Xcode 8 without CLT on 10.11Misty De Meo
2016-09-10diagnostic: tweak check_xcode_up_to_date messagingDominyk Tiller
2016-09-07Merge pull request #833 from DomT4/death_by_xcodeMike McQuaid
xcode: die unless Xcode/CLT up-to-date on prerelease macOS
2016-09-07Refactor MacOS check_development_tools usage.Mike McQuaid
Better use the abstraction layer so e.g. Linux could have similarly fatal checks for these things.
2016-08-30diagnostic: add strict_development_tools_checksDominyk Tiller
2016-08-10resolve conflict in diagnostic.rbGreg Nisbet
2016-07-27diagnostic: port to generic layer.Mike McQuaid
2016-07-17mac/diagnostic: add check_for_prerelease_xcodeDominyk Tiller
Closes #524. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-16Unify Version.create usageVlad Shablinsky
Substitue each Version.new and HeadVersion.new with Version.create to unify Version and HeadVersion instantiation among core code. Note that this does not relate to Mac::OS::Version class.
2016-07-06extend/os/mac/diagnostic: remove redundant methodMartin Afanasjew
Remove an exact duplicate from further up in the same file. (It was accidentally added in 8a582f2bd976ce7044c3b2dc6eef701f94b9ace5.)
2016-07-06extend/os/mac/diagnostic: fix indentationMartin Afanasjew
2016-07-06doctor: fix undefined method `include?' for nil:NilClassXu Cheng
Closes https://github.com/Homebrew/homebrew-core/issues/2758
2016-07-06doctor: check for beta XQuartz releasesMisty De Meo
Beta versions of XQuartz have address sanitization enabled, which breaks some software at runtime, including wine. Closes Homebrew/homebrew-core#2481. Closes #459. Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-07-04diagnostic: more porting to generic OS. (#449)Mike McQuaid
2016-06-14diagnostic: prod unsupported OS users to file PRs. (#365)Mike McQuaid
They may not but it's nice to be a bit more explicit.