-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New CalDAV description format (#112)
* Change CalDAV description format Old mappings: - TW `annotations`, `uuid` <-> Caldav `DESCRIPTION` When a TW item is converted to caldav item, the `annotations` and `uuid` of TW item are encoded into the following format, and stored in `DESCRIPTION` of caldav. ```plaintext IMPORTED FROM TASKWARRIOR * Annotation 1: first annotation * Annotation 2: second annotation * Annotation 3: third annotation * uuid: 12345678-123-1234-1234-1234567890ab ``` New mappings: - TW `uuid` <-> Caldav `X-SYNCALL-TW-UUID` - TW `annotations` <-> Caldav `DESCRIPTION` (each annotation <-> a line in description) In this new mappings, the `uuid` of TW item will be mapped to a non-standard iCalendar field `X-SYNCALL-TW-UUID`, allowed by RFC 5545. The `annotation` of TW item will be mapped to `DESCRIPTION` of caldav item. Each line in `DESCRIPTION` is corresponding to an annotation. * Reduce complexity in tw_caldav_utils to appease ruff --------- Co-authored-by: Nikos Koukis <[email protected]>
- Loading branch information
1 parent
a2aff68
commit 246df85
Showing
5 changed files
with
43 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters