f78f71a74c
Minor refactors & comment revision
2020-01-01 23:52:02 -05:00
7a348f8784
Refactor how we indent straight's progress output
...
More work up front, less work in the trenches.
2020-01-01 19:34:30 -05:00
4f676bd218
Refactor autoload generator bootstrappers
2020-01-01 13:31:40 -05:00
4a53f0818d
Don't insert autoloads literally #2281
...
It causes encoding issues.
2020-01-01 03:02:05 -05:00
a5fc782e76
cli/upgrade: fix wrong-type-arg string force file error #2277
...
Due to a vestigial call to the old doom-cli-reload-package-autoloads
2019-12-31 03:38:47 -05:00
7c968a8b11
Fix #2278 : autoload gen skipping disabled autodefs
...
If a ;;;###if module cookie returned nil for a file, it should still
allow autodefs to be scraped from it, which wasn't happening before this
fix.
An autodef's guarantee is that it will always be defined, whether or not
the containing module is enabled.
2019-12-30 23:19:56 -05:00
a4653f475b
Print filename instead of absolute paths for purged ELPA packages
2019-12-30 17:28:31 -05:00
0b1ab39a00
Refactor doom-cli--generate-autoloads
2019-12-30 17:06:49 -05:00
497a6a206e
Fix 'wrong-number-of-arguments autoload 9' error in autoloads
...
This error was caused by over-aggressive replacement of load-file-name
in autoloads files.
Instances of "load-file-name" would be replaced with a quoted file-path,
even in strings and comments, which would break surrounding strings and
docstrings.
Mentioned in hlissner/doom-emacs@f8ff505
2019-12-30 15:52:38 -05:00
908bd4b945
Remove FORCE-P argument for doom-cli-reload-autoloads
...
We weren't using them anyway.
2019-12-30 06:44:16 -05:00
f8ff50565e
Refactor autoload generator
...
- Halves LOC
- Adopts functional paradigm where possible.
- Reduces the filesize of autoloads files by ~10-20%
- Speeds up autoloads generation by ~20%
2019-12-29 22:20:48 -05:00
8d3954257e
Refactor 'doom purge' & fix elpa purging
...
Wasn't picking up ELPA packages.
2019-12-28 14:02:07 -05:00
6396cbf6cd
Refactor 'doom build'
2019-12-28 14:01:36 -05:00
2f540f8c45
Remove vestigial references to doom--finalize-straight
2019-12-27 03:30:03 -05:00
550c9bda74
cli/packages: implement commit pinning support
...
This is step 2 toward version pinning and rollback.
Next step is to actually pin packages.
Step 1 was 125561eb0
2019-12-25 14:02:43 -05:00
b53703d527
General comment revision & reformatting
2019-12-21 15:01:05 -05:00
6d40f30a0a
Fix 'doom compile' error when compiling templates
2019-12-20 05:01:44 -05:00
18d8ea22f6
cli/install: add templates for {config,packages}.el
2019-12-19 23:32:58 -05:00
2afbbe392c
Remove dotenv-mode package
...
Pruning packages that aren't strictly necessary.
2019-12-19 22:05:55 -05:00
8dd647b9bd
Make 'doom update' Skip local packages
...
i.e. packages with a user-specified :local-repo
2019-12-14 20:50:16 -05:00
7e0c093bcf
cli/upgrade: fix dirty worktree detection
2019-12-13 14:53:52 -05:00
dc8b3dd57d
Slight reformatting of 'doom refresh' & 'doom compile' output
2019-12-08 00:57:10 -05:00
cd158c5656
cli/install: fix missing autoloads error #2157
2019-12-06 13:24:14 -05:00
8809bbc33d
cli/test: fix startup error in bootstrapper
2019-12-05 20:46:47 -05:00
d525b5502b
Update tests with new arg for doom-initialize
2019-12-05 19:50:38 -05:00
341e8b3531
cli/help: only show aliases if there are any
2019-12-05 19:34:09 -05:00
1c402950af
Display command aliases from 'doom help CMD'
2019-12-05 14:59:47 -05:00
d232ba241f
Remove 'doom autoloads'
...
It's redundant with doom refresh
2019-12-05 14:54:49 -05:00
153fbbc466
cli/upgrade: print git fetch log on successful upgrade
2019-12-02 20:22:01 -05:00
24506f15bf
cli/env: fix doom-env-ignored-vars not being ignored
...
And add HOME to ignored vars.
2019-12-02 20:22:00 -05:00
a0d94e0db7
cli/upgrade: fix -y/--yes for 'doom upgrade'
...
Otherwise, 'doom upgrade' throws 'Unrecognized switch "-y"' error after
updating Doom.
2019-12-02 20:22:00 -05:00
886fa36ac8
Improve 'doom purge' progress output
2019-11-25 02:18:01 -05:00
570894e1c8
cli/upgrade: 'doom refresh' after upgrading, before updating
...
Fixes an issue where uninitialized packages aren't installed when 'doom
update' tries to update them.
2019-11-24 19:38:49 -05:00
d37ebee2f8
Print progress to same line on 'doom update'
...
Experimental.
2019-11-24 16:50:46 -05:00
26c8f5c6ef
Bytecompiler bytecompiler, won't you shut up
2019-11-23 01:21:25 -05:00
803da8b3b9
Fix #2104 : prevent double-package-init on 'doom refresh'
...
'Could not find package emacsmirror-mirror in recipe repositories'
error, which shouldn't happen since emacsmirror-mirror is a recipe repo.
2019-11-23 01:21:25 -05:00
9d9b6e514c
Refactor autoloads generater
2019-11-23 01:21:24 -05:00
4351474bf3
Add "X updated" notice after package is updated
...
To make it clearer what package was just updated after spewing a lot of
git log output.
2019-11-22 16:15:06 -05:00
c9ae1f0a30
cli/env: ignore GPG_TTY & TERM envvars
2019-11-22 16:14:05 -05:00
88eb9d1d61
Don't bind noninteractive while building autoloads
...
See raxod502/straight.el#431
2019-11-22 13:52:07 -05:00
d474223a99
cli/upgrade: don't use removed -f switch
2019-11-16 21:04:08 -05:00
82c0fb6fc7
cli/doctor: ensure modules are fully loaded
2019-11-12 15:24:02 -05:00
c297d091bd
Fix void-function doom-initialize-packages on 'doom upgrade'
2019-11-10 23:43:05 -05:00
8d112fdca8
Prevent void-variable errors on 'doom upgrade'
...
If Doom is up-to-date, certain Doom package state doesn't get
initialized for the 'doom update' that occurs directly after, causing
these errors.
2019-11-10 20:15:25 -05:00
4ceb09c219
cli/upgrade: don't double-update packages
...
And don't initialize too much of Doom before updating it.
2019-11-10 16:44:53 -05:00
829e1762b1
cli/doctor: fix vestigial variable references
2019-11-10 04:56:55 -05:00
e252ee61e7
cli/doctor: fix HOME project root detection
2019-11-10 01:39:30 -05:00
962459e8ba
cli/doctor: fix cache filesize checks
...
Closes #2041
2019-11-10 01:35:21 -05:00
6c31968a46
cli/doctor: fix font checks
2019-11-09 20:32:48 -05:00
5c3f7d648d
cli/doctor: fix void-variable font-dest error
...
...when a font is missing.
2019-11-09 20:28:40 -05:00