fix(vdirsyncer): metasync before each sync so new calendars get their color #41

Merged
jmz merged 1 commit from feat/vdirsyncer-metasync into master 2026-11-18 15:33:20 +00:00
Owner

The vdirsyncer launch agent ran only vdirsyncer sync, which copies events but not calendar metadata. Color and displayname need vdirsyncer metasync. So a calendar created after the first setup arrived on the Mac with no color file. On 2026-11-18 that was "Work (Swissblock)", the PA's mirror of the Swissblock Google calendar, and kal crashed drawing it (fixed separately in public/kal #8).

Change: exec vdirsyncer sync → vdirsyncer metasync; exec vdirsyncer sync. ; keeps the sync running even if metasync reports a metadata conflict.

On chezmoi apply, run_onchange_after_enable-user-services.sh re-bootstraps ch.swiss-yield.vdirsyncer, so the new command takes effect without a manual launchctl.

Unsigned commit: jmz OK'd it for this change (no gpg-agent in the session).

🤖 Generated with Claude Code

The vdirsyncer launch agent ran only `vdirsyncer sync`, which copies events but not calendar metadata. Color and displayname need `vdirsyncer metasync`. So a calendar created after the first setup arrived on the Mac with no `color` file. On 2026-11-18 that was "Work (Swissblock)", the PA's mirror of the Swissblock Google calendar, and kal crashed drawing it (fixed separately in public/kal #8). Change: `exec vdirsyncer sync` → `vdirsyncer metasync; exec vdirsyncer sync`. `;` keeps the sync running even if metasync reports a metadata conflict. On `chezmoi apply`, `run_onchange_after_enable-user-services.sh` re-bootstraps `ch.swiss-yield.vdirsyncer`, so the new command takes effect without a manual `launchctl`. Unsigned commit: jmz OK'd it for this change (no gpg-agent in the session). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
`vdirsyncer sync` copies events only; color and displayname come with
`vdirsyncer metasync`. The launch agent ran only `sync`, so a calendar created
after the first setup (Work (Swissblock), the PA's work mirror, 2026-11-18)
arrived without a color file, and kal crashed drawing it (public/kal #8).
Run metasync first; `;` keeps the sync running even if metasync reports a
conflict.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jmz merged commit 201d2d9afe into master 2026-11-18 15:33:20 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/dotfiles-public!41
No description provided.