Starting with Unicode 15.1, the “source of truth” for not-yet-released versions of most of the data files is in https://github.com/unicode-org/unicodetools/tree/main/unicodetools/data/ucd/dev and parallel .../uca/dev etc. folders.
First: Files with a special process.
List of these files (see https://www.unicode.org/Public/UCD/latest/ucd/):
Process:
The various ReadMe.txt files are checked into the unicodetools repo. They are templatized, and the publication scripts below replace variables with the Unicode and emoji versions, copyright year, and publication date (date when the script was run).
Changes are made in a GitHub pull request.
Pull request cycle:
One difference here: Multiple stages, generating charts along the way. Initial draft versions of eg annotations for candidates, which is in addition to the current data for the next version of Unicode. Once they get code points, they go into the regular files. The emoji tools also read annotation data from CLDR and from the candidates file, and use the CLDR emoji collation data (and interpolates the candidates data).
Another difference: The charts are not normative; they get updated out of cycle, for example with new vendor images.
https://github.com/unicode-org/unicodetools/tree/main/unicodetools/data/emoji/dev
Certain snapshots of the .../dev/ files are copied into https://www.unicode.org/Public/draft/ for Unicode alpha, beta, and final releases, and more as appropriate.
Make sure to publish exactly the intended set of files. Skip the NamesList.txt and Unihan data files (see above), and skip any others that are only for internal use.
For the alpha review, publish (at least) the UCD and emoji files, and the charts.
Review/edit the pub/*.sh scripts and advance the version numbers and copyright years.
Run the pub/copy-alpha-to-draft.sh script from an up-to-date repo workspace. The script copies the set of the .../dev/ data files for an alpha snapshot from a unicodetools workspace to a target folder with the layout of https://www.unicode.org/Public/draft/ .
Send the resulting zip file to Rick for posting to https://www.unicode.org/Public/draft/ . Ask Rick to add other files that are not tracked in the unicodetools repo:
Note: No version/delta infixes in names of data files. We simply use the “draft” folder and the file-internal time stamps for versioning.
For the beta review, publish all of the data files, and the charts.
Run the pub/copy-beta-to-draft.sh script from an up-to-date repo workspace. The script copies the set of the .../dev/ data files for a beta snapshot from a unicodetools workspace to a target folder with the layout of https://www.unicode.org/Public/draft/ .
Send the resulting zip file to Rick for posting to https://www.unicode.org/Public/draft/ . Ask Rick to add other files that are not tracked in the unicodetools repo:
After the last UTC meeting for the release, collect all of the data file updates (mostly from recently opened action items).
When complete, publish the draft files once more via the beta script. Verify the final set of files in the draft folder.
Run the pub/copy-final.sh script from an up-to-date repo workspace.
Send the resulting zip file to Rick for posting to https://www.unicode.org/Public/ (not .../Public/draft/). Ask Rick to add other files that are not tracked in the unicodetools repo:
This script works much like the beta script, except it:
When the data files are supposed to be final, about a week or two before the release:
Verify once more that the unicodetools repo .../dev/ files match the released/published files.
Create a release tag in the repo. Example, from four days before Unicode 15.1 was released: https://github.com/unicode-org/unicodetools/releases/tag/final-15.1-20230908
Copy a snapshot of the unicodetools repo .../dev/ files to a versioned unicodetools folder; for example: .../unicodetools/data/ucd/16.0.0/ . (We no longer append a “-Update” suffix to the folder name.) List: emoji, idna, security, uca, ucd, ucdxml Watch for different naming conventions: emoji versions use only two fields, not three.
Edit the pub/*.sh scripts and advance the version numbers.
Change the Unicode Tools code as necessary for the start of work on the next version. Settings.java lastVersion & latestVersion and more.
Example, Unicode 15.1→16.0: https://github.com/unicode-org/unicodetools/pull/539
Declare “main” to be open for the next version.