Skip to main content

Module migrate

Module migrate 

Source
Expand description

The one bounded migration of a schema 1 configuration into the schema 2 domains, over the authored text, so every comment survives.

Schema 1 kept the technology, the forge, and the trunk under [project], the checkout mode, the style, and every opt-in under [landing], and the line prefix under [setup]. Schema 2 states each under the domain that owns it. The migration moves each value with the decor it carried, so a comment the operator wrote travels with its line, renames the two checkout-mode values, and states the reporting policy the older landing carried implicitly.

A comment the template itself wrote is refreshed rather than carried: a key whose vocabulary moved would otherwise stand beside a sentence describing the key it replaced. The template’s own comments are the ones marked # P:, # N:, and # F:, and only those are replaced.

SATISFIES project-profile:a-schema-one-configuration-migrates-in-place

Functions§

to_schema_2
A schema 1 configuration’s text as schema 2, or the text unchanged where it already states schema 2.