vdirsyncer icon indicating copy to clipboard operation
vdirsyncer copied to clipboard

Different exit status on ”sync” depending on whether any data has been updated

Open dilyanpalauzov opened this issue 7 years ago • 1 comments

I want to sync with a remote read-only calendar over CalDAV and when the data changed, combine all calendar objects into one and render the objects int HTML. To my undestanding storage type singlefile is slow, in particular it is slower than doing cat of all files.

Please make “vdirsyncer sync” return different exit code, depending on whether some dara was updated. I want to concatenade the calendar object files, only when this operation has added value.

dilyanpalauzov avatar Oct 18 '18 16:10 dilyanpalauzov

The systemd unit files would need updated to understand that the new non-zero exit code is not a failure.

mathstuf avatar Oct 29 '18 22:10 mathstuf