You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PDX Tech Calendar
An idea for dealing with some duplicates when we import sources.
This catches only some low-lying fruit, and even there has some
problems.
But I'd be interested in understanding whether it's acceptable.
If an imported event has a UID at its source, we save it as
source_uid.
When later importing an event, see if we already have an event with
that source_uid; we import it only if (at the source) it has a LAST-
MODIFIED time that is later than the Calagator event.updated_at?
I know this isn't perfect,[A] but I think it's an 80% solution.
--Joe
[A] Here's an example problem:
1. We import the event.
2. The event is changed at the source, e.g., it is rescheduled.
3. Someone edits the event in Calagator, e.g., corrects a typo in the
description.
4. We attempt to re-import the event.
My proposal will loose the corrected time.