aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/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-28whitelisting additional SentinelOne dylib patternLouis Bergelson
it seems like SentinelOne is now using dylibs that include a number, possibly randomized in some way this causes brew doctor to give a warning, but it should probably be ignored like the previous versions of the sentinel dylib updating diagnostic.rb to include a new pattern to ignore dylibs of the form sentinel-*.dylib
2017-11-17diagnostic: fix paths usage.Mike McQuaid
- Don't allow taking an argument. This doesn't work and never has as it caches the result regardless of the argument. - Don't rely on the PATH to check for external commands.
2017-10-24Remove usless comments.Markus Reiter
2017-10-20diagnostic: handle APFS returning hash orderDominyk Tiller
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-18Merge pull request #3229 from BenMusch/check-for-master-no-refactorMike McQuaid
doctor: Check for branch of core tap (take 2)
2017-10-14diagnostic: pass explicit sort to handle APFSDominyk Tiller
2017-10-08Clean up code style and remove `.rubocop_todo.yml`.Markus Reiter
2017-10-01diagnostic: remove unnecessary blank line.Mike McQuaid
2017-09-28Fix regex styleMike McQuaid
2017-09-27Merge branch 'master' into check-for-master-no-refactorBen Muschol
2017-09-27Implement changesBen Muschol
2017-09-24Rubocop: automatic rule fixes.Mike McQuaid
2017-09-18Revert "Add check for HEAD ref in diagnostics"ilovezfs
2017-09-18Revert "diagnostic: don't check CI core branch."ilovezfs
This reverts commit cb5b14307ca4640e1ba68cfd28e7fef34a3b771b.
2017-09-18Revert "diagnostic: also don't check Jenkins core branch."ilovezfs
This reverts commit db41f9d1182ff8c4c3b42b458e38d5c58b496ffb.
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