feat: Calendar Import#51925
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Import from pipe:
Import from file and override existing:
Checklist