Published artifact catalog¶
The published artifact catalog is the control plane's record of every release. Each release records a published version of a block: its identity, the archive it was built from, its capsule, and its publication status. Projects import blocks from the catalog, and the catalog is how you see what has been published.
Reading it¶
xratu get packages
xratu get package acme.billing-manifest 1.2.0
xratu get package-tags acme.billing-manifest
xratu get packages lists the releases in the current workspace. xratu get
package reads one release by its release version or its tag, and
xratu get package-tags lists which release each tag names.
What a release records¶
| Field | Holds |
|---|---|
package_id |
The package name |
version |
The release version, derived from the content: sha256-9c8dc1d987eca109 |
manifest_id, manifest_version |
The block manifest published with it |
artifact_digest |
The package's bundle digest |
capsules |
The capsule release record |
status |
publication_requested, published or failed |
created_at, updated_at |
When the release was recorded and last changed |
A release is published once the data plane has confirmed the archive in your
registry.
Releases and tags¶
The release version is fixed by the package's content and never changes. A tag,
such as 1.2.0, is the version you gave the block, and it points at a release.
Publishing again under the same tag points it at the new release. See
Version pinning.
Scope¶
The catalog is kept per workspace, and a project imports across its organization: resolving an import searches the releases of every workspace in the project's organization, and prefers a release from the project's own workspace. See Browsing and reuse.