Make import work again.
ClosedPublic

Authored by knauss on Nov 25 2016, 6:25 PM.

Details

Summary

Feature added to detect if a event is already imported and skip this event.

Test Plan

test import with a file Here a test session:

$konsolekalendar --list-calendars

7 - (Read only) Open Invitations
8 - (Read only) Declined Invitations
9 - Persönlicher Kalender

$konsolekalendar --import /tmp/test.ics --calendar 9
Calendar /tmp/test.ics successfully imported

$ konsolekalendar --import /tmp/test.ics --calendar 9 --dry-run --verbose
Insert Event skipped, because uid "KOrganizer-1943585507.454" is already known. <Verbose>
Insert Event skipped, because uid "KOrganizer-949295754.111" is already known. <Verbose>
Insert Event skipped, because uid "KOrganizer-135574846.1006" is already known. <Verbose>
Calendar /tmp/test.ics successfully imported

Diff Detail

Repository
R198 Akonadi Calendar Tools
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
knauss updated this revision to Diff 8523.Nov 25 2016, 6:25 PM
knauss retitled this revision from to Make import work again..
knauss updated this object.
knauss edited the test plan for this revision. (Show Details)
knauss added a reviewer: smartins.
Restricted Application added a project: KDE PIM. · View Herald TranscriptNov 25 2016, 6:25 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
knauss updated this object.Nov 25 2016, 6:29 PM
knauss edited the test plan for this revision. (Show Details)
knauss added a reviewer: KDE PIM.
lueck added a subscriber: lueck.Nov 25 2016, 6:53 PM
This revision was automatically updated to reflect the committed changes.