Skip to content

openregs consolidate

Apply an amending act to a base Expression and write the point-in-time text.

Apply an amending act’s operations to the Expression in , producing a new Expression of the same Work addressed at the amendment’s effective date - the date the amending act’s own Expression IRI carries. The result is written into the same canon, and the Expression it supersedes has its valid_to set to the day before. Where the regulator publishes its own consolidated text (—publisher-text), every unit that agrees with it is marked publisher_verified; everything else is computed, with a confidence.

openregs consolidate [-h] --amendment <path> [--publisher-text <path>] [--lock <path>]
[--language <code>]
<base>
Argument
<base>canon Expression directory of the act being amended (required)
Option
--amendment <path>the amending act, in any format a mapper owns or already in Akoma Ntoso (required)
--publisher-text <path>the regulator’s own consolidated text for the same point in time, to verify against; units are computed when there is no such file at this path
--lock <path>the provenance ledger pinning the amending act’s payload; default: <canon-root>/../SOURCES.lock
--language <code>language whose instruction wording to read (default: eng) (default eng)

Rendered from openregs/openregs@cbe9615:tooling/openregs/cli/main.py