(Offline) Calendar synchronization

I use thunderbird and radicale on my Laptop without other network.
Connecting my SFOS phone with USB cable and choose “internet sharing”.
Now I open thunderbird with a script:
#! /bin/bash
python3 -m radicale --storage-filesystem-folder=~/.var/lib/radicale/collections &
thunderbird &
SFOS can sync with radicale over ssh.

@dcaliste based on your branch I updated the code to use the new logging style and it compiles and syncs.
I have not tested the quality of the sync - but it connects from the PC and runs without errors.

The next step is to look into the PIM parts contacts, calendar, todo, notes and see what works and what not and if correct backends are used.

Some parts are working, but there are issues with timestamp and with deleted items.
It needs work … anyone willing to help, let me know.

As it was about calendar, here are two tests

  1. edit one item and remove one item on the phone
  2. edit one item and add a new one on the PC
Changes applied during synchronization:
+---------------|-----------------------|-----------------------|-CON-+
|               |         LOCAL         |        REMOTE         | FLI |
|        Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|      calendar |  0  |  1  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
|      two-way, 0 KB sent by client, 0 KB received                    |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|          todo |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
|          two-way, 0 KB sent by client, 0 KB received                |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|       start Sun 12 Dec 2021 02:23:02 PM CET, duration 0:08min       |
|               synchronization completed successfully                |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
Changes applied during synchronization:
+---------------|-----------------------|-----------------------|-CON-+
|               |         LOCAL         |        REMOTE         | FLI |
|        Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|      calendar |  0  |  0  |  0  |  0  |  1  |  1  |  0  |  0  |  0  |
|      two-way, 0 KB sent by client, 0 KB received                    |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|          todo |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
|          two-way, 0 KB sent by client, 0 KB received                |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|       start Sun 12 Dec 2021 02:25:48 PM CET, duration 0:07min       |
|               synchronization completed successfully                |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
1 Like

I installed radicale on my Pi. But problem - I see “My Calendar” when setting up CalDAV account. But it doesn´t appear in Calendar app under Manage Calendars. Sync is not working event setup run well, with no errors.