diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-19 18:33:15 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-19 18:33:15 -0400 |
| commit | 8911d161f7ef38f8a1b03fba6316b71da1011174 (patch) | |
| tree | 70074f921d5bf0d815e85bd8673789bd8124a939 /scripts | |
| parent | 47a42a329a5ae61f7971ed8aebd36ce1d4c3a96b (diff) | |
| download | dotemacs-8911d161f7ef38f8a1b03fba6316b71da1011174.tar.gz dotemacs-8911d161f7ef38f8a1b03fba6316b71da1011174.zip | |
fix(calendar-sync): drop declined events from synced output
The sync parsed PARTSTAT into a :STATUS: declined property but kept
the event. Meetings I'd declined still landed in dcal.org / gcal.org
and showed on the agenda. I added a pure --filter-declined helper
called inside --parse-ics after event collection, plus the
calendar-sync-skip-declined defvar (default t) so it can be flipped
off without code changes.
The .ics feed and the Calendar API can disagree on PARTSTAT. OOO
auto-declines sometimes only write API-side, so a few declined
events may still slip through. I'm calling this out because the
filter looks absolute from the agenda but isn't.
Tests cover Normal/Boundary/Error (11 cases). Full suite is green.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
