#348 grab the release date automatically
Closed: Fixed None Opened 11 years ago by shaiton.

We need to improve our build process for fedoraproject.org, by getting the release date (alpha, beta..) automatically and not any more hard written in data/content/index.html and static/js/..

It could be parsed from http://fedorapeople.org/groups/schedule/ (http://jreznik.fedorapeople.org/schedules/f-18/f-18-key-tasks.html for f18).

Get in touch with shaiton if you want to work on this.


Schedules (beginning from F19) are now hosted on the schedule group site. The key milestones are available in f-xx-key.ics, I can easily provide it in xml format (I hope;-) or any format you ask for.

Ok, jreznik added the following file to parse:
http://fedorapeople.org/groups/schedule/f-19/f-19-key-milestones.tjx

We have to parse it, then cache it and finally use it :)

I parsed and cached it, adding a new section to get-fedora.html with commit d135d01. To manage the dates more easily for other purposes the script creates three small text files.

Pushed on stg to see it, we could also change the icon there to a nicer one, perhaps with a calendar? If yes we should ask our design friends :)

If we want to merge it to production one day we have first to add the i18n for the dates...to have the right format for every country.

I've uploaded a new Script for the Release Schedule, see rev 3b5134e and test it locally in get.fp.o.

It's shorter (and simplified) and avoids downloading the .tjx file to our server. We still need to replace the genshi string (XInclude) to import the data to the html file (doing it with Python).\
Finally we have to insert the right i18n to have the right date format, accordingly to every single country.

Genshi strings replaced with python variables, commit 66e0ea8. Still need the i18n for the right date format.

Closing, this is done and we are using it in the release schedule and on pre-release pages.

Login to comment on this ticket.

Metadata