-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update existing ICS with re-import? #730
Comments
Yup, I noticed this. See https://github.com/insanum/gcalcli/pull/712/files#r1731770966. IMO it should prompt for whether to update existing event after "import" reports it as a duplicate (probably invoking "insert" in that case, or maybe trying to do more of a "patch" on the existing event), and then respect a flag like |
In the meantime, what is the best workaround? I guess you could delete the event and then re-import with legacy-import? Is there something else that makes more sense? |
IDK if there's a great workaround for your case besides waiting for a new version. =/ If it were me in a pinch, I'd probably try to fork the ics file to split out the problematic VEVENT objects into their own file and then import --use-legacy-import that one. That might actually be another nice layer of fallback to have in gcalcli too, to always dump a tmp ics file with any events it skipped importing so you can conveniently retry after any failure scenario. |
Quality-of-life improvement for scenarios like #730 so that it's easier to retry failed events with different settings (--use-legacy-import etc).
Few updates here as I'm getting closer to a 4.5 release milestone:
I probably won't stall the 4.5 release on figuring out The Whole Story for 2 and 3, but 1 is done now and that'll give us nice trivial workaround in the 4.5 release. |
K, forking off the more nuanced parts of this fix into #784 and marking this part as Fixed. It's now possible to re-import to update events but manual and clunky. |
The latest code will refuse to re-import an ICS where the UID for the event already exists in Google.
But what if the appointment info has changed -- is there a way to update the Google event based on the new information in the ICS?
I thought this was made possible with PR #712 but maybe I'm misunderstanding it.
Is there any elegant solution here short of using the legacy import switch?
One approach might be to use
edit
but I'm looking to script this, not have it execute interactively.Note that if you've deleted the item via gcalcli, gcalcli still sees it as a duplicate and refuses to re-import.
The text was updated successfully, but these errors were encountered: