History log of /system/timezone/update-tzdata.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ad7e81c00260b6dcb9d9ecf2c3c8aa161f555059 15-Jun-2017 Neil Fuller <nfuller@google.com> Extend update-tzdata.py to create distro files

update-tzdata.py now generates distro files into
system/timezone/output_data/distro by using
create-distro.py.

Addition of the resulting generated distro file (that
matches the other input / output files) currently
checked in.

This commit also contains the following changes:
1) Changed TimeZoneDistroBuilder to set a timestamp on
each entry in the distro .zip to make the file more
deterministic (enabling the file to be regenerated without
creating a diff).
2) Minor import fixes for .py files

Bug: 31008728
Test: Ran update-tzdata.py and confirmed the output of existing
files is unchanged.

Change-Id: I28e559c62527a7a6b7c90838fa67d764e39d3b6f
/system/timezone/update-tzdata.py
fa89b0369c51916b0cda5e4456f134ec50be3eba 14-Jun-2017 Neil Fuller <nfuller@google.com> Extend update-tzdata.py to generate ICU overlay

Extend update-tzdata.py to generate ICU overlay time zone
.dat file (a .dat file that just contains time zone data and can be
used to extend a full .dat). Delete createIcuUpdateResources.sh
since this replaces that script.

Tested with:

Ran update-tzdata.py, compared resulting
system/timezone/output_data/icu_overlay/icu_tzdata.dat file with output from
./createIcuUpdateResources.sh $ANDROID_BUILD_TOP/system/timezone/input_data/iana/tzdata2017b.tar.gz 58

Bug: 31008728
Test: See above
Change-Id: If92062c2ec6a16b12affe61b4cd9bcf8f6861afd
/system/timezone/update-tzdata.py
35467e1256656196572e77251683e349d8f1055a 12-Jun-2017 Neil Fuller <nfuller@google.com> Move the time zone system image files

Move the time zone system image files from bionic/libc/zoneinfo
to system/timezone.

Bug: 31008728
Bug: 36882778
Test: make -j30 droid / boot device
Merged-In: I5dfe18a51090ba33ccd46018562f4f37aafc6a2a
Change-Id: I5dfe18a51090ba33ccd46018562f4f37aafc6a2a
/system/timezone/update-tzdata.py
56166d33b6f3f7d96aef742fc0a52e961fd3cacf 12-Jun-2017 Neil Fuller <nfuller@google.com> Split time zone scripts: download and update

Split time zone scripts to produce separate download and update
scripts. An initial copy of IANA's tzdata2017b file is checked
in here (this matches the current version of the data found in
bionic / external/icu).

Added copyright headers and a license / notice file for
the IANA files.

Check in a copy of bionic/libc/zoneinfo/tzlookup.xml to serve
as an "input file". The update-tzdata.py copies it exactly to
bionic as an "output" file.

There will be a follow-up change to move the output files
(tzdata and tzlookup.xml) from bionic to an "output data"
directory, removing the need to reference bionic for time
zone data files at all.

Bug: 31008728
Test: Deleted tzdata2017b.tar.gz, ran ./download-iana-data.py
Test: Ran ./update-tzdata.py and checked the output
Test: diff \
$ANDROID_BUILD_TOP/system/timezone/input_data/android/tzlookup.xml \
$ANDROID_BUILD_TOP/bionic/libc/zoneinfo/tzlookup.xml

Change-Id: I2d3e42a6c3efe10f2340c042f29462720443aa4a
/system/timezone/update-tzdata.py
86e72c5e93b6f4ef2f0d15e65e90b0a26d105ea0 12-Jun-2017 Neil Fuller <nfuller@google.com> Move time zone related scripts from external/icu

Move time zone related scripts from external/icu with
minor changes to account for path differences.

Bug: 31008728
Test: Ran ./update-tzdata.py
Change-Id: Ib79b759f4abd38fae41b222025fff86532efefb1
/system/timezone/update-tzdata.py