Many programs and services generate icalendar files which are not quite correct. The most common fault is a lack of a UID property (which is mandatory). While vdirsyncer includes workarounds to operate on these, they are not optimal and carry some risk in the long term. The previous implementation included a ‘repair’ command, that fixes items in-place. The new implementation should carry over this feature.
Generally, the scope of this is to fix entries with no UID and other issue with an obvious fix.
Still unsure whether this needs to be vdirsyncer itself or another tool that uses vparser.
This is milestone 16
Probably best to implement this after https://todo.sr.ht/~whynothugo/vdirsyncer-rs/64
A relevant scenario: https://github.com/pimutils/vdirsyncer/issues/1140
The server exposes the same identical entry under different hrefs. We should be able to identify these identical copies and keep just one.
Also remove invalid characters from UIDs.
Repair command implemented in f8193b5e2405cef1f6656c3960fecd6a0403190c
Handles missing UIDs for now.