Commit Graph

47 Commits

Author SHA1 Message Date
944e243c5d bin/doom-doctor POSIX compliance 2019-06-03 21:17:53 +10:00
89b20d71ce doom-doctor: prevent errors we don't care about 2019-05-05 14:21:44 -04:00
6b69eaa397 Minor refactors across the board 2019-04-26 17:42:44 -04:00
9bea168cc1 Rewrite doom-doctor
- Use message library instead of reinventing the wheel
- Fix -d/--debug support for `bin/doom doctor`
- Add indent and autofill support to print! and format!
- Add doom-message-backend for forcing format! to use a specific backend
- Phase out anaphoric when! macro in doctor scripts, it was hardly used
2019-04-24 18:16:05 -04:00
0caf0abcbb Major refactor of the Doctor
- Reorganize tests into logical groups
- Report Doom initialization with more granularity
- Make better use of whitespace and indentation in output
- Use backquotes for quoting symbols in pcase (for backward
  compatibility)
- Initialize Doom completely and manually (less maintanence headache and
  more certain to work across Doom updates).
2019-04-19 13:31:27 -04:00
6afc8e5563 Add stale elc check to doctor
And short-circuit internal checks if Doom fails to load.
2019-04-17 18:38:02 -04:00
20a63a35ab Reformat doctor output & add DOOMDIR check
- Will now warn you if both .doom.d and .config/doom exists.
- Include branch and last commit date in doctor/info, next to Doom
  version.
- Issues in Doom core are now indented.
2019-04-16 20:57:03 -04:00
f37b1342a2 Don't show hostname in doom info or doctor output
It doesn't help me, and some folks may not want it publicized.
2019-04-16 20:57:03 -04:00
54d180b376 Ensure user-emacs-directory in doctor
Also allow it to be customized with EMACSDIR envvar
2019-04-15 03:47:24 -04:00
ddfcc4299c bin/doom-doctor: minor refactor
Also allow Doom init errors to be debugged.
2019-03-28 02:01:38 -04:00
acf67244ca Improve doom doctor
+ Bump Emacs version check to 25.3
+ Fix doctor reporting missing packages that are user-disabled
+ Add Doom core checks for over-sized cache files (a possible cause of
  freezes/hangs)
+ Emit a backtrace from module doctor script errors
+ Fix doom doctor not respecting DEBUG envvar
2019-03-16 23:59:50 -04:00
f7326a2c40 Update doom doctor for new init process
For changes made in 31bcac9a
2018-09-09 09:58:19 -04:00
8b8c7c7411 doom-doctor: use ~ instead of HOME envvar 2018-07-05 01:32:38 +02:00
ca5ff92192 Fix void-variable: package errors in doom doctor
Reported by @zaiste
2018-06-27 12:02:21 +02:00
81753150a7 doctor: don't regard disabled/ignored packages
And refactor error handling.
2018-06-26 18:58:07 +02:00
eb254afd51 Fix doom doctor
Update doom loader to reflect recent changes.
2018-06-13 20:10:37 +02:00
01d1a814f9 Refactor doom-initialize functions
Removes doom-module-table; which was inflexible (though more stable). It
prevented you from putting your doom! block in anywhere but
~/.doom.d/init.el.

It is replaced (somewhat) by (doom-modules).
2018-06-10 17:30:26 +02:00
242a28ddc9 doctor: initialize more state for more accurate tests #603 2018-05-25 19:59:56 +02:00
7cfab92f7c bin/doom-doctor: refactor bash bootstrapper 2018-05-24 16:39:08 +02:00
8ea0f34270 doctor: update doom bootstrap logic & fix error on built-in packages 2018-05-21 18:34:33 +02:00
2e7831b8a4 doctor: reduce output for cert test 2018-05-21 18:34:33 +02:00
6a08128194 doctor: make feedback more informative 2018-05-21 18:34:33 +02:00
ddadb79952 Reduce noise from doom doctor
And fix not-enough-arguments error from format.
2018-05-21 01:38:17 +02:00
7851e9e3b4 doctor: pluralize issue count at the end
It's features like these that separate us from animals.
2018-05-20 12:18:16 +02:00
6aaa13d05e doctor: update Doom initialization 2018-05-20 12:18:16 +02:00
85ee9ce459 Refactor doom module API
+ Consolidate the CATEGORY -> MODULE terminology
+ Rename functions to make their function easier to understand
  + Rename doom-module-expand-file => doom-module-path
  + Rename doom-module-find-path => doom-module-locate-path
2018-05-20 00:03:57 +02:00
56a6d1faa3 Doctor: include origin in syntax error message 2018-05-16 00:11:14 +02:00
dbeb7c639a Update doom doctor 2018-05-14 21:08:16 +02:00
e9a325039d doctor: doom-initialize before loading Doom 2018-05-07 19:26:31 +02:00
aef9724324 Add doom*shut-up advisor to core-lib 2018-04-23 00:03:28 -04:00
a616f00670 Fix wrong-type-argument stringp error from doom doctor 2018-04-13 16:34:51 -04:00
5d3f247a7f doctor: add warning for dual private configs 2018-04-04 06:47:42 -04:00
82bead5ae4 Refactor & fix doom-doctor module checkups 2018-03-20 21:12:35 -04:00
74c8b1d113 Rewrite doctor; move warn! blocks out in doctor.el files 2018-03-12 13:32:01 -04:00
f09e23982d Remove debug output from make doctor (replaced by make info) 2018-02-10 17:32:39 -05:00
c550851500 doom-doctor: minor refactor 2017-12-31 17:49:15 -05:00
574a783f7f doctor: refactor & check $SHELL 2017-12-29 15:07:41 -05:00
c3c5de93c7 doctor: rewrite TLS heuristics
Fixes "peculiar error" in #175, #285, #288
2017-12-20 19:52:09 -05:00
bd1a4e31f6 doctor: log! => section! 2017-12-20 19:51:33 -05:00
211977e28a doom--module-pairs => doom-module-pairs 2017-11-08 22:51:55 +01:00
5f166d9297 Add --quick to Emacs batch calls (experimental) 2017-11-07 13:09:24 +01:00
bc358bbc7e Remove default font detection from doom-doctor 2017-11-05 01:16:35 +01:00
4e7d3c6c06 Add GNUTLS feature detection to doom doctor #175 2017-09-13 00:11:02 +02:00
6cb14cd961 bin/doom-doctor: refactor + speed up tls checks 2017-08-05 13:19:51 +02:00
b65718691f Improve font detection (+ all-the-icons fonts) #167
make doctor will now complain if it can't find any of the fonts that
Doom uses, and offer help on how to install them.
2017-08-05 13:18:45 +02:00
7233d6f19a bin/doom-doctor: load doom more comprehensively 2017-08-05 13:17:48 +02:00
c8e138ff51 Rename bin/doctor => bin/doom-doctor 2017-07-09 22:48:54 +02:00