diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-21 15:38:56 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-21 15:38:56 -0400 |
| commit | c9dcbdfc44af270ceeb2aa08c2ef77623c96a426 (patch) | |
| tree | 0d00abef88056cf6a93026532bf8a60d05179a98 /scripts/calendar_sync_api.py | |
| parent | 61c2247550d28e0bbd0301692e0318238c66c73a (diff) | |
| download | dotemacs-c9dcbdfc44af270ceeb2aa08c2ef77623c96a426.tar.gz dotemacs-c9dcbdfc44af270ceeb2aa08c2ef77623c96a426.zip | |
feat(calendar-sync): resolve .ics feed URLs from auth-source
A calendar's .ics feed URL is a secret token, so I'd rather not keep it in a plaintext config file. A calendar can now name a :secret-host, and calendar-sync--calendar-url looks the URL up in auth-source (~/.authinfo.gpg) at sync time. Inline :url still works and wins when both are set, so existing configs are unaffected.
I added 7 tests covering the explicit-url, string-secret, function-secret, precedence, and no-match paths, and switched the .example template to the :secret-host shape.
Diffstat (limited to 'scripts/calendar_sync_api.py')
0 files changed, 0 insertions, 0 deletions
