pkgmgr:manifest
pkgmgr:manifest@0.0.0
A document is written as one of manifestPkgmgr.
manifestPkgmgr
Extends catalogManifest.
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
schema | version | Yes | The version of this document's schema that this document was written under -- granted by the meta-schema to every definition named in metadata.documentRoots, never declared | |
pkg | string | Yes | What this catalog's content is: an open identifier. build, schema and repo-adapter are the ones dev-tool reads, and a catalog reached in one of those roles, directly or as an upstream, must say so or is refused. Any other value, such as platform, is unconstrained. It is an identifier, never a location: the content root is always the directory holding this manifest. | |
artifact | string | No | What an artifact is called inside a version's directory, for a catalog whose entries are files | |
version | versionShape one of major, major.minor, major.minor.patch | No | How a version renders into a directory name and an index key. Absent, the reader's own default answers. | |
index | enum one of single, per-package | No | "single" | How the package index is kept. single, the default, is one .pkgmgr/pkgs.yml naming every package and each one's stored latest. per-package is one .pkgmgr/pkgs/<namespace>/<name>.yml per package with latest left out and worked out from the versions present on read, for a catalog several people release into through merged branches: two releases of different packages then touch no common file, so their pull requests merge without a conflict nobody meant. |
Used by
The versions of each application and library holding this build.