-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map TW/CalDAV entry/end <-> CREATED/COMPLETED #86
Map TW/CalDAV entry/end <-> CREATED/COMPLETED #86
Conversation
I've marked it as draft because I haven't tested syncing "the other way" (CalDAV -> Taskwarrior), and because I wondered if I'd need to write something in syncall/taskwarrior/taskwarrior_side.py (specifically, |
I've tried testing this using I'm a bit hesitant to merge this since it might be easy in the future to introduce regressions (i.e., I wont' be able to test / reproduce it). I'll keep this open though until I have a better way of testing it. |
Grepping for CREATED and COMPLETED in https://github.com/Kozea/Radicale:
So maybe CREATED is handled, but I'm pretty sure COMPLETED isn't. |
I installed Radicale, created a task list in its web UI and used Evolution as a client to create and edit tasks. One task, stored in
And based on the above test, Radicle definitely handles COMPLETED. |
This change adds synchronization of the 'entry' and 'end' properties between Taskwarrior and CalDAV 'CREATED' and 'COMPLETED' properties. This is for people with long history of tasks, where preserving the original create / complete timestamps is valuable.
8df5dc7
to
2fe0225
Compare
2fe0225
to
afe2789
Compare
Hi @bjornfor , I've made a small change in caldav_utils in order to also process the Other than that it works great on my end in both ways TW <> Caldav |
afe2789
to
26d758e
Compare
Merged it! |
@bergercookie: Thanks! And a happy new year to you too! |
Description
This change adds synchronization of the 'entry' and 'end' properties
between Taskwarrior and CalDAV 'CREATED' and 'COMPLETED' properties.
This is for people with long history of tasks, where preserving the
original create / complete timestamps is valuable.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
I have run it against my Taskwarrior and Nextcloud (CalDAV) setup.
Only one-way sync from Taskwarrior to CalDAV was tested (I'm migrating away from Taskwarrior).
Checklist: