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 | a485fc6b1b9da8198b501ac4b72f397ec11f4790 (patch) | |
| tree | c5953a5fe02993830b344e8b41de4989c00608d9 /scripts/calendar_sync_api.py | |
| parent | 68bbeb2fab607b7cb1842d7b3ae27741ffc14630 (diff) | |
| download | dotemacs-a485fc6b1b9da8198b501ac4b72f397ec11f4790.tar.gz dotemacs-a485fc6b1b9da8198b501ac4b72f397ec11f4790.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
