Plugin index format#

A plugin index is a git repository that lists plugins and their releases. kevin plugin index add adds one. See Publishing a plugin to add a plugin to an index.

Layout#

kevin-index.yaml
plugins/
  <name>/
    plugin.yaml
    versions/
      <version>.yaml

kevin-index.yaml must contain layout: 1. kevin rejects a repository without it, or with another layout number.

plugin.yaml#

FieldRequiredDescription
nameyesPlugin name. Lowercase letters, digits, and hyphens.
summaryyesOne line, shown by kevin plugin search.
homepagenoURL.
maintainernoPerson or organization.
signersnoSigners that kevin plugin index install adds to the user’s trust store, and that must sign version files from a version_source.
version_sourcenoURL of a git repository that holds this plugin’s versions/ directory, instead of this repository. Requires signers.

Signers#

FieldSchemeDescription
schemebothminisign or sigstore.
keyminisignContent of the minisign public key file.
identitysigstoreCertificate identity, such as an email or a GitHub Actions workflow URI.
issuersigstoreOIDC issuer URL.

Version files#

One file for each release, at plugins/<name>/versions/<version>.yaml.

FieldRequiredDescription
versionyesSemantic version, such as 1.4.0 or 1.4.0-rc1. Must match the file name.
sourceyesThe same fields as a plugins: entry in the environment file: one of oci, file, or http, with optional signing and checksum. cmd is not allowed.

version_source repositories#

A version_source repository has the same layout, with kevin-index.yaml and plugins/<name>/versions/. Each version file needs a signature file next to it, from a signer in the index’s plugin.yaml:

SchemeSignature file
minisign<version>.yaml.minisig
sigstore<version>.yaml.sigstore.json

kevin skips a version file without a valid signature, and reports it.

Latest version#

The latest version is the highest version with no pre-release suffix. If every version has a suffix, the latest is the highest of those.