buzz/ics2owncloud.py

Deleted events don't stay in OC / Don't wipe calendar beforehand?

Opened this issue · 1 comments

Hi, and thanks a lot for this wonderful utility - even if it's just meant as a workaround until the functionality becomes a first-class member in OC. By the way, IIUC it could be ics2caldav - there's nothing OC-specific, right?

My suggestion is actually a counter-request to #1 and #7, and would make this ics2owncloud independently useful even if remote calendars will be integrated in OC at some point. I subscribe to some calendars where I do want to keep the history locally, despite the fact that the feed only shows future events. E.g., I want to be shown the holidays from former years although my feed only shows the current and future years; or I want to keep a list of former talks and meetings in our institute; or I want to keep "verbatim" copies of shared calendars where other parties might delete or change history.

Do you think it's feasible to make the wipe optional?

Additional kudos if only future events could be wiped separately and replaced by the current remote content, with the following rationale: if announcements change or are cancelled entirely (rarely the case for holidays, entirely possible for talks), the future should be updated accordingly; but past events could be kept.

Cheers!

buzz commented

Hey, thanks for your interest in this script. Please feel free to create a PR to implement these features.

I called the script ics2owncloud because I created it to work specifically with OwnCloud. I'm not sure if it would work with other CalDAV servers.