dev-tool:release-markers
dev-tool:release-markers@0.0.0
markerState
One of marked, untagged, unreleased, unchanged, moved.
projectMarker
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
checkout | string | Yes | The repository's checkout, as a path from the root; . is the root. | |
project | string | Yes | The project its manifest names. | |
version | string | Yes | The version its manifest states, whole, marker included. | |
tag | string | Yes | The release tag this version would have been published under, <project>@<major>.<minor>.<patch>. | |
state | markerState one of marked, untagged, unreleased, unchanged, moved | Yes | marked when the version carries a marker, so the project says it has moved and nothing is compared. untagged when no tag for the version is in the checkout's history, so there is no release to compare against. unchanged when the tracked content is the tagged release's. moved when it is not and the version is unmarked, which is what project list --modified lists, project list --validate refuses and project mark is handed to mark. | |
pinned | list[string] | No | [] | Each development reference this project pins at a version while no release of it is in its history: a module dependency in its manifest.yml, a vendoredLibraries or vendoredSchemas entry in its .dev-tool/config.yml, or an externalSchemas id in a tracked schema document, command config or app declaration, as <file>: <where> <coordinate>. A development reference floats and a release is what writes a version, so project list --validate refuses each one, and project mark rewrites none. Empty once the project has a release. |
projectMarkerReport
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
projects | list[projectMarker] | No | [] | Each project: this repository's, then that of each checkout .gitmodules pins that holds a manifest, in checkout order. From project list, every one read, or under --modified the moved ones; from project mark, each one it marked, stating its marked version. |
documentMarker
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
checkout | string | Yes | The checkout of the project tracking the document; . is the root. | |
path | string | Yes | The document, as a path from that checkout. | |
version | string | Yes | The version the document states, whole, marker included. | |
tag | string | Yes | The release tag of the project tracking it, which it is compared against. | |
state | markerState one of marked, untagged, unreleased, unchanged, moved | Yes | marked when the version carries a marker, so nothing is compared. untagged when the project has no release in its history. unreleased when the release holds no copy of the document at this version -- new since, or bumped past it. unchanged when the working tree's copy is the release's. moved when it is not and the version is unmarked, which is what list --modified lists, list --validate refuses and mark is handed to mark. |
commandMarker
Extends documentMarker.
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
checkout | string | Yes | The checkout of the project tracking the document; . is the root. | |
path | string | Yes | The document, as a path from that checkout. | |
version | string | Yes | The version the document states, whole, marker included. | |
tag | string | Yes | The release tag of the project tracking it, which it is compared against. | |
state | markerState one of marked, untagged, unreleased, unchanged, moved | Yes | marked when the version carries a marker, so nothing is compared. untagged when the project has no release in its history. unreleased when the release holds no copy of the document at this version -- new since, or bumped past it. unchanged when the working tree's copy is the release's. moved when it is not and the version is unmarked, which is what list --modified lists, list --validate refuses and mark is handed to mark. | |
coordinate | pinnedCoordinate | No | The address command gen registers the config under in its repository's .command catalog, its version unmarked. Absent for a config no registry holds. | |
audience | enum one of public, internal | No | Who the command is released to: the last audience stated on the way to it, from its own registry entry outward to its application's manifest module, and internal where none states one. Absent for a config no application runs. |
schemaMarkerReport
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
documents | list[documentMarker] | No | [] | Each exported schema document, by checkout and then path. From schema list, every one read, or under --modified the moved ones; from schema mark, each one it marked, stating its marked version. |
commandMarkerReport
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
documents | list[commandMarker] | No | [] | Each command config, by checkout and then path. From command list, every one read, or under --modified the moved ones; from command mark, each one it marked, stating its marked version. |
Used by
The versions of each application and library holding this build.