1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-01 03:47:23 +03:00

Generate TZ.h from zoneinfo (#9084)

* Generate TZ.h from zoneinfo

Using tzdata pypi package that ships zoneinfo blobs
Can't use raw data package from IANA, need it built first
Minor tweaks to Espurna script that generated .md

More data than the original, not limited to ZONE/...
Zoneinfo source can be overwritten using path args, if needed
(but, probably not needed, since it would always be preferable to pull the latest version)

Also, allow to override certain names and tz strings independent
of tzdata values (resolves #9007)
This commit is contained in:
Max Prokhorov
2024-02-11 20:51:35 +03:00
committed by GitHub
parent 9217458353
commit c96dc26792
4 changed files with 364 additions and 134 deletions

View File

@ -111,8 +111,8 @@ The following points assume work in a direct clone of the repository, and not in
* [platform.txt](https://github.com/esp8266/Arduino/blob/master/platform.txt) and [package.json](https://github.com/esp8266/Arduino/blob/master/package.json): update `version` to the release E.g. `3.0.0`,
* [cores/esp8266/TZ.h](https://github.com/esp8266/Arduino/blob/master/cores/esp8266/TZ.h): import the latest database with the following shell command:\
`$ cd tools; sh TZupdate.sh`
* [cores/esp8266/TZ.h](https://github.com/esp8266/Arduino/blob/master/cores/esp8266/TZ.h): import the latest database:\
`$ pip install -U tzdata; python tools/format_tzdata.py --output cores/esp8266/TZ.h`
* Update SSL/TLS certificates and public keys in examples:\
`$ cd tools; sh certsUpdate.sh`
@ -173,7 +173,7 @@ The following points assume work in a direct clone of the repository, and not in
* [platform.txt](https://github.com/esp8266/Arduino/blob/master/platform.txt)
* [package.json](https://github.com/esp8266/Arduino/blob/master/package.json)
* [TZ.h](https://github.com/esp8266/Arduino/blob/master/cores/esp8266/TZ.h) (<= `cd tools; sh ./TZupdate.sh`)
* [TZ.h](https://github.com/esp8266/Arduino/blob/master/cores/esp8266/TZ.h) (<= `pip install -U tzdata; python tools/format_tzdata.py --output cores/esp8266/TZ.h`)
* Certificates (<= `cd tools; sh certsUpdate.sh`)
- [ ] 5. Wait until the release notes have been checked by other maintainers (can be changed afterwards anyway)