scientific-python.org icon indicating copy to clipboard operation
scientific-python.org copied to clipboard

Submitting one-off events to the calendar

Open InessaPawson opened this issue 3 years ago • 8 comments

Some of the NumPy Newcomers’ Hours have no agenda, and to some of them, we invite guest speakers. In such cases, we have a custom/modified entry in our Google calendar. What would be the best way to submit this info to the new .ics calendar?

InessaPawson avatar Mar 28 '22 04:03 InessaPawson

Easiest may be to expand those to individual events in the yaml, and to then set a recurring event for future events. The calendars get synced to Google every 12 hours or so, so changes you make will be reflected to subscribers.

stefanv avatar Mar 29 '22 22:03 stefanv

@stefanv I’m a little concerned that the yaml file will grow too large over time. I’ve submitted a PR: https://github.com/scientific-python/scientific-python.org/pull/235 Is this what you had in mind?

InessaPawson avatar Apr 06 '22 03:04 InessaPawson

If projects are planning to do this often it might indeed become a problem. We could have a bot to handle this at some point, removing things for us with rules like: if event over since x months, delete.

tupui avatar Apr 06 '22 13:04 tupui

This missing feature for one-off meetings/cancellations came up as an issue now for the holiday season cancellations.

The calendar currently says "CANCELLED" for all affected future numpy/scipy meetings, too, all the while the past meetings have been removed from being listed.

bsipocz avatar Dec 20 '22 18:12 bsipocz

We can implement this using exdate

stefanv avatar Dec 20 '22 18:12 stefanv

Oops, I see now. It's actually just the one SciPy meeting that is canceled but still it shouldn't show up in the main calendar page.

melissawm avatar Dec 21 '22 00:12 melissawm

I checked earlier today and the except_on is already available, so we should probably use that.

stefanv avatar Dec 21 '22 01:12 stefanv

We had a similar challenge and my colleague @fkr created a small python script to change the content of a reoccuring event. Maybe this one helps you to achieve the same: https://github.com/SovereignCloudStack/calendar/blob/main/communitycall.py

itrich avatar Feb 01 '23 07:02 itrich