Infra: generate an iCalendar file of the release dates#4704
Infra: generate an iCalendar file of the release dates#4704hugovk wants to merge 2 commits intopython:mainfrom
Conversation
|
It would be useful indeed. Thanks. |
| pytest-cov | ||
|
|
||
| # For python-releases.ical | ||
| icalendar |
There was a problem hiding this comment.
Obligatory “supply chain” security question: do we trust icalendar maintainers and their operational security?
This could be tasty vector for running code on core dev boxes.
cc @sethmlarson
Maybe consider generating “manually”? iCal is a simple, stable text-based format.
There was a problem hiding this comment.
@encukou I would recommend generating the ICS file manually within the code instead of relying on a library. The format is quite simple, especially for the use-case we need :)
There was a problem hiding this comment.
I've proposed a simpler alternative at #4705 following this suggestion.
A
|
Closed in favour of #4705. |
Now we have all the Python release dates in a single file (https://github.com/python/peps/blob/main/release_management/python-releases.toml) and generate some JSON files from it (#4702, #4331), it's easy to generate other useful files as well.
One useful file is an iCalendar
.icsfile that can be imported to calendars.The Fedora Python team are generating one at https://github.com/fedora-python/python-release-schedule-ical through scraping the PEP HTML files. I'm using this and have found it extremely useful. If we generate one here, they could retire that repo if they like.
Differences between the two:
[email protected]. I used a similar pattern, but added a hyphen to avoid conflicts:[email protected]cc @hroncok @hrnciar from Fedora Python, would this be useful for you?
📚 Documentation preview 📚: https://pep-previews--4704.org.readthedocs.build/