UTS #46
- Setup
- Make sure Settings.latestVersion is set right. (If you've already done this for the UCD, no problem).
- Delete all the bin files to make sure that the unicode tools get the release versions of the data. (See Building Unicode Tools)
- Run GenerateIdna.java
- It will generate {Generated}/idna/{version}/IdnaMappingTable.txt
The data for the last 4 columns (h, i, j, k) of Table 4 IDNA Comparisons for the UTR are listed at the bottom of the console output.Fix Table 4 (h, i, j, k) with that data, and check into the repo.
Diff with the previous version, and make sure everything is understood, then check into the repo.- :construction: TODO(markusicu): Obsolete?
The results will be in https://www.unicode.org/draft/Public/idna/{version}/ IdnaMappingTable.txt
- Now run GenerateIdnaTest.java, in order to generate the test file.
- It will generate {Generated}/idna/{version}/IdnaTestV2.txt
- Diff with the previous version, and make sure everything is understood, then check into the repo.
- :construction: TODO(markusicu): Obsolete?
The results will be in https://www.unicode.org/draft/Public/idna/{version}/ IdnaTestV2.txt
- Edit the ReadMe.txt if necessary.
- Fix the copyright date
- Add or remove “draft” in front of “data files”, according to the status of the data.
- Run TestIdna.java as a JUnit test.
To push to production
- Diff the old and new files, and sanity check.
- Copy the files