From bbee17d77439e2c1455221bebe74125606b04df9 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jan 25 2021 13:08:48 +0000 Subject: Initial commit --- diff --git a/README.md b/README.md new file mode 100644 index 0000000..142aa94 --- /dev/null +++ b/README.md @@ -0,0 +1,60 @@ +# package-calendars + +A proof of concept data about upstream release schedules of Fedora packages. + +Each calendar has a yaml config file in the `calendars` directory. +The yaml has several options. + +- `ical_url`: mandatory URL of the iCal +- `package_names`: list if names of Fedora packages this calendar applies to +- `package_name_regex`: a regular expression to match Fedora package names + +Either `package_name_regex` or at least one name in `package_names` needs to be set. +Calendars without packages are considered invalid. +If both `package_name_regex` and `package_names` is set, +the affected packages are considered as union. + +Package names always mean the component (SRPM) name. + +In case you want more fields, let us know. +However any metadata about the calendars should be loaded from the iCals themselves. + +## Examples + +A calendar for a single package: + +```yaml +ical_url: https://github.com/fedora-python/python-release-schedule-ical/raw/master/python-releases.ics +package_names: +- python3.10 +``` + +A calendar for multiple packages: + +```yaml +ical_url: https://github.com/fedora-python/python-release-schedule-ical/raw/master/python-releases.ics +package_names: +- python3.8 +- python3.9 +- python3.10 +``` + +A calendar for multiple packages matching a regular expression: + +``` +ical_url: https://github.com/fedora-python/python-release-schedule-ical/raw/master/python-releases.ics +package_name_regex: ^python3\.\d+$ +``` + +A calendar that combines both: + +``` +ical_url: https://github.com/fedora-python/python-release-schedule-ical/raw/master/python-releases.ics +package_name_regex: ^python3\.\d+$ +package_names: +- python3 +``` + +## Copyright + +The data here is placed in the public domain or under the CC0-1.0-Universal license, whichever is more permissive. \ No newline at end of file diff --git a/calendars/python-release-schedules.yaml b/calendars/python-release-schedules.yaml new file mode 100644 index 0000000..d984654 --- /dev/null +++ b/calendars/python-release-schedules.yaml @@ -0,0 +1,8 @@ +ical_url: https://github.com/fedora-python/python-release-schedule-ical/raw/master/python-releases.ics +package_names: +- python3 +- python3.6 +- python3.7 +- python3.8 +- python3.9 +package_name_regex: ^python3\.\d\d$