This page describes the process of opening the Survey Tool for a DDL submission phase. A DDL submission phase is a form of Extended Submission.

In this example, the main branch of CLDR is on version 50 (that is, development towards version 50), while the Survey Tool will be opening for version 51.

During the period between DDL opening and the normal shakedown for v51, the Survey Tool is open only for DDL (non-TC) locales.

The Survey Tool is set to v51 during this time so that there is a seamless transition when the regular v51 phase opens.

When this process may begin

This process may begin as soon as v49 (in this example) has been released, and that main is already in place for v50. It’s important that main already be set for v50 so that the experience will be as close as possible to v50 production.

Pre-communication

New DDL Branch

This new branch doesn’t need the normal SBRS steps for a “new version” yet. That is, don’t update GEN_VERSION, or the DTD versions, or ToolConstants.java. Version 50 hasn’t shipped (yet), so our tooling would be confused if the code was set to version 51. For example, the tooling would attempt to checkout version 50 from git.

What goes where

Backporting and cherry picking should be minimal:

Survey Tool: Configuring and Opening

Configuration

# Note that all versions are MAJOR NUMBERS ONLY.
# This is important, because it marks which version last had votes.
CLDR_LASTVOTEVERSION=49
# CLDR_OLDVERSION does not seem to be used productively. We may revisit it. It does signal
# the situation accurately, and could be used for documentation or instructions.
CLDR_OLDVERSION=50
# The new version: which table the votes end up in
CLDR_NEWVERSION=51
# The general phase of the Survey Tool will remain READONLY.
# Only DDL locales will be open, others remain closed.
CLDR_PHASE=READONLY
# DDL locales (Non-TC) enter SUBMIT phase.
CLDR_EXTENDED_PHASE=SUBMIT
# Inform users
CLDR_HEADER=CLDR v61 is open for DDL only

Testing

Smoketest cannot be used to test the DDL branch, because smoketest only builds from main. To test, use the cldr-staging server with appropriate configuration changes, from a ddl/v50 commit.

Note, smoketest will continue to reflect the v50 development in progress.

Push to Production

Following a successful test on cldr-staging, that same commit may be pushed directly to production.

Communication

DDL-WG Delegation

From v50 ship to v51 shakedown

Mergeback

Note: When to choose a cherry pick or merge? It depends on the kinds of changes that are made, and it is up to the maintainer of the DDL branch to determine which route is easiest.

Note: No vetted data will get committed. There’s no vxml process at this point, because vetting has not closed.

Pre-test of v51 shakedown

When everything has been merged back from the ddl/v51 branch to main, it is time to test again.

Temporary closure

Survey Tool will need to be closed temporarily before shakedown. Having done the testing mentioned above, the closure need only be long enough to change the overall phase to SUBMIT, update the message, and push a commit from main to production.

v51 shakedown

Shakedown is effected by cldr.properties as follows, keeping the version settings the same:

CLDR_PHASE=SUBMIT
# CLDR_EXTENDED_PHASE is not used in this state, it may be commented out.
#CLDR_EXTENDED_PHASE=..

In v51 shakedown, ALL locales, including DDL are opened, and the process continues as normal.

Post communication