aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/diagnostic.rb
AgeCommit message (Collapse)Author
2017-08-26Revert "Add check for HEAD ref in diagnostics"ilovezfs
2017-08-26Revert "diagnostic: don't check CI core branch."ilovezfs
This reverts commit cb5b14307ca4640e1ba68cfd28e7fef34a3b771b.
2017-08-26Revert "diagnostic: also don't check Jenkins core branch."ilovezfs
This reverts commit db41f9d1182ff8c4c3b42b458e38d5c58b496ffb.
2017-08-26diagnostic: also don't check Jenkins core branch.Mike McQuaid
2017-08-26diagnostic: don't check CI core branch.Mike McQuaid
2017-08-26Prefer if over unless, simplify messagingBen Muschol
2017-08-25Fix method nameBen Muschol
2017-08-25Add check for HEAD ref in diagnosticsBen Muschol
2017-07-20diagnostic: use ENV[]Mike McQuaid
2017-07-20Update source check to match styleJustin Baugh
2017-07-20Address rubocop issuesJustin Baugh
2017-07-20Add warning to doctor if HOMEBREW_BUILD_FROM_SOURCE is set.Justin Baugh
2017-06-22diagnostic: Update whitelisted dylib used by Symantec (again)Wang Boyu
2017-06-22diagnostic: Update whitelisted dylib used by SymantecWang Boyu
2017-06-17diagnostic: quiet some CI whining.Mike McQuaid
We want to be able to symlink Homebrew/test-bot to Homebrew/core on Linux for CI speed.
2017-06-14diagnostic: Fix suggested git remote commandsBaptiste Fontaine
2017-06-10Autocorrect Rubocop Style/PerlBackrefs.Mike McQuaid
2017-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-06-01Revert "Fix operator spacing."ilovezfs
2017-05-31Fix operator spacing.Markus Reiter
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-05-18Merge pull request #2537 from reitermarkus/pathname-to_strMarkus Reiter
Remove `to_s` from some `Pathname`s.
2017-05-13More environment filtering tweaksMike McQuaid
- only document HOMEBREW_* variables in the manpage (although still read from all the original environment variables). - resort manpage environment variables in alphabetical order - check the original path for trailing slashes
2017-05-08Remove `to_s` from some `Pathname`s.Markus Reiter
2017-04-30Use `PATH#select`.Markus Reiter
2017-04-30Make `PATH` enumerable.Markus Reiter
2017-04-30Use `PATH` where possible.Markus Reiter
2017-04-23Merge pull request #2524 from MikeMcQuaid/more-env-filtering-fixesMike McQuaid
Hide sensitive tokens from install/test/post.
2017-04-22Hide sensitive tokens from install/test/post.Mike McQuaid
Hide these tokens to avoid malicious subprocesses e.g. sending them over the network. Also, support using these tokens with environment filtering and clear `HOMEBREW_PATH` from subprocesses to stop them sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s PATH for e.g. `brew doctor` etc.
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-03-28diagnostic: also accept trailing / on git urls.Mike McQuaid
2017-03-28Merge pull request #2413 from JCount/increase-minimum-git-versionMike McQuaid
diagnostic: increase minimum git version to 1.8.5
2017-03-28diagnostic: increase minimum git version to 1.8.5JCount
older versions do not support the 'git -C <path>' option
2017-03-26diagnostic: check homebrew/core git remote.Mike McQuaid
Check the remote for homebrew/core as well as homebrew/brew as we've seen a few cases (e.g. #2387) where it was misconfigured. While we're here, tweak the messaging to tell people what to do and how to do so with a single command.
2017-03-14secure urls + remove -k from in-doc curl commandViktor Szakats
2016-12-25Merge pull request #1676 from MikeMcQuaid/doctor-tap-repo-bad-ruby-filesMike McQuaid
diagnostic: check for bad tap files.
2016-12-13diagnostic: check for bad tap files.Mike McQuaid
Check for Ruby files in taps that are outside of the detected `Formula` directory for a tap but inside one of the other potential directories. This usually indicates a formula has been added in the wrong directory in a tap and is used to fail CI in this case.
2016-12-13diagnostic: check for multiple Cellars.Mike McQuaid
And tell people to delete the HOMEBREW_REPOSITORY one. The HOMEBREW_PREFIX one is preferable for bottling.
2016-11-26diagnostic: silence a Jenkins doctor warning.Mike McQuaid
Allow our Jenkins CI testing for Homebrew/brew to live outside of `/usr/local` without complaint (as it's not using any binary packages anyway).
2016-11-25Revert "Merge pull request #1562 from woodruffw/check-admin-group"Mike McQuaid
This reverts commit 7f13b37b903564e2a64cea982d6b84d1aa6b800b, reversing changes made to 62e0ecdaafbc6779205908c7ab191c884473afd6.
2016-11-25Revert "Merge pull request #1567 from cesarandreu/fix-diagnostic-conditonal"Mike McQuaid
This reverts commit 89c3348923c3450d8d32f1252abd53209b39c288, reversing changes made to 7f13b37b903564e2a64cea982d6b84d1aa6b800b.
2016-11-25Fix early exit condition for check_for_member_of_admin_groupCesar Andreu
2016-11-24diagnostic: check if the user is a member of the admin group.William Woodruff
Non-administrative users are unable to run `brew linkapps` (and possibly other commands) under normal circumstances.
2016-11-13Rename single line block parameters to `acc/elem`.Markus Reiter
2016-11-11Check the lock directory is writable.Mike McQuaid
And, if it isn't, print more helpful debugging messages. Fixes #1456.
2016-11-11Merge pull request #1082 from alyssais/uninstall_dependancy_errorMike McQuaid
uninstall: refuse when dependents still installed
2016-11-06Merge remote-tracking branch 'origin/master' into HEADMike McQuaid
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-04diagnostics: whitelist dylib installed by SentinelOneJosh Hagins