[CalendarServer-dev] [Calendar and Contacts Server] UpdatingTimezones added

Calendar and Contacts Server trac at macosforge.org
Tue Aug 14 14:47:19 PDT 2012


Added page "UpdatingTimezones" by glyph at apple.com from 17.224.22.98*
Page URL: <http://trac.calendarserver.org/wiki/UpdatingTimezones>
Content:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
The process for upgrading the timezone information in the Calendar Server repository is as follows:

  1. Create a new directory, "$NEWDIR", for the Olson data and our conversion of it.
  1. [http://www.iana.org/time-zones Download the latest Olson data.]
  1. Extract the archive to the new directory renaming the extracted directory to "tzdata".
  1. Run [http://svn.mulberrymail.com/repos/PyCalendar/branches/server/src/zonal/tzconvert.py the tzconvert tool] from the 'server' branch of the `PyCalendar` directory that Calendar Server's `./run -s` will check out for you:  `src/zonal/tzconvert.py --prodid "-//calendarserver.org//Zonal//EN" --root "$NEWDIR"`
  1. That will create a `"$NEWDIR/zoneinfo"` directory.
  1. `ditto "$NEWDIR/zoneinfo" "CalendarServer/twistedcaldav/zoneinfo"` (there may be files to delete in the destination: TODO, update this step to use `rsync --delete` or similar)
  1. `CalendarServer/bin/calendarserver_manage_timezones --update`
  1. Update `twistedcaldav/zoneinfo/version.txt` with info about the Olson version used
  1. `svn commit` the changes after review


-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server

This is an automated message. Someone at / added your email
address to be notified of changes on UpdatingTimezones. If it was not you, please
report to .


More information about the calendarserver-dev mailing list