Skip to content
Registry StackDocsv0.38.0

bregctl package command reference

View as Markdown

Build a deterministic production-profile package from a tested candidate.

This page is generated from the public Clap command tree for Registry Stack source version 0.38.0 and catalog SHA-256 cd13c658f65af295f9df3c6db86dc045ac06e9e040afc1f5f5b27c3184ab653d. Hidden implementation commands are omitted.

Build a deterministic production-profile package from a tested candidate. The package is the promotable unit bregctl apply activates: it is built from a project bregctl test passed, so it needs that run’s —test-receipt. caseworkctl package is a different verb that writes a Casework project’s checked policy to its own package.

bregctl package [OPTIONS] --test-receipt <ABSOLUTE_FILE> --output <DIRECTORY> <PROJECT>
ConditionRequirement
--reviewed-migrations <DIRECTORY> is present--baseline-package <ABSOLUTE_DIRECTORY> is required.
ArgumentAlways requiredDefaultValuesEnvironmentDescription
<PROJECT>Yesn/an/an/aBase Registry Engine project directory. A symbolic link at any component of this path is refused.
OptionAlways requiredDefaultValuesEnvironmentDescription
--baseline-package <ABSOLUTE_DIRECTORY>Non/an/an/aAbsolute directory of the chain tip package a successor follows. The same package directory is named in every environment. A symbolic link at any component of this path is refused.
--reviewed-migrations <DIRECTORY>Non/an/an/aDirectory containing reviewed migration descriptors and evidence in package layout. Used identically by test and package; requires a baseline package. A symbolic link at any component of this path is refused.
--schema-fingerprint <SHA256>Non/an/an/aExact managed-catalog SHA-256 produced by the reviewed PostgreSQL rehearsal. Read from the schema-test receipt when it is not supplied
--test-receipt <ABSOLUTE_FILE>Yesn/an/an/aCanonical receipt from a successful schema test of this exact candidate. A symbolic link at any component of this path is refused.
--output <DIRECTORY>Yesn/an/an/aNew build directory that receives the schema-test receipt and the published package/. A symbolic link at any component of this path is refused.
--revision <TEXT>Non/an/an/aOne printable line recorded in the published package as REVISION
--format <FORMAT>Nohumanhuman, jsonn/aEmit the selected command’s report in this format
-h, --helpNon/an/an/aPrint help (see a summary with ‘-h’)

Run npm run generate from docs/site after changing a public command, argument, option, default, environment binding, or help description.