Skip to content

feat: Calendar Import#51925

Merged
SebastianKrupinski merged 1 commit into
masterfrom
feat/issue-563-calendar-import
Aug 27, 2025
Merged

feat: Calendar Import#51925
SebastianKrupinski merged 1 commit into
masterfrom
feat/issue-563-calendar-import

Conversation

@SebastianKrupinski

@SebastianKrupinski SebastianKrupinski commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

Summary

This adds the ability to import calendars

Split of #49995

OCC Import

Command: calendar:import
Arguments:
uid - mandatory
cid - mandatory
format - optional defaults to ical (ical, xcal, jcal)
filepath - optional defaults to stdin
--supersede - optional (force override of existing)
--show-created - optional (show uid of created objects)
--show-updated - optional (show uid of updated objects)
--show-skipped - optional (show uid of skipped objects)
--show-errors - optional (show uid of objects with errors)
--errors (int) - optional - how to handle errors (0 - continue, 1 - fail)
--validation (int) - optional - how to handle item validation (0 - no validation, 1 - validate and skip on issue, 2 - validate and fail on issue)

Import from file:

calendar:import user1 personal ical /tmp/personal.ics

Import from pipe:

cat /tmp/personal.ics | calendar:import user1 personal ical

Import from file and override existing:

calendar:import user1 personal ical /tmp/personal.ics --supersede

Checklist

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement feature: caldav Related to CalDAV internals

Projects

Development

Successfully merging this pull request may close these issues.

7 participants