Automatically upgrade timezones

NEW
Unassigned

Status

Calendar
Internal Components
P3
normal
6 years ago
3 years ago

People

(Reporter: Fallen, Unassigned)

Tracking

Details

(Whiteboard: [timezone])

(Reporter)

Description

6 years ago
Upgrading timezones is a pain. It would be nice if we could automate this.

We would have a builder that checks for new timezone data automatically, does the required changes, pushes changes and maybe even produce a new timezones extension to be uploaded to ftp.mozilla.org. This requires taking care of the following steps:

* Write python buildbot code to:
  - Poll http://www.iana.org/time-zones for new timezone versions
  - Set up a build environment that can do the upgrade
  - Go through the upgrade process
  - Push the changes to some (all?) of the trees
* Talk to the iana.org if its ok to poll their site for updates and at
  what interval
* Write JS (?) code to figure out which timezones were merely renamed and 
  which are new
* Either manually upload the timezones extension once in a while, or automate 
  uploading new extension versions to addons.mozilla.org.

The renaming is what you currently see in the timezone updates process as "take over" vs. "create alias". It seems that sometimes timezones are merely renamed which means the older timezone should resolve to the newer timezone. In other cases, new timezones are being created.

If someone wants to tackle this problem, I'd suggest filing dependent bugs to take care of the above issues.
Whiteboard: [timezone]
(Reporter)

Updated

4 years ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.