- new module kiosk: Manifest, Marshal, Parse, Derive, Generate, Write, Check, StaleError - plugin:manifest [dir] with --check, --pretend, --name, --description - docs: kiosk README, root table row, plugins/marketplace.md, scaffolding row
24 lines
1.0 KiB
Go
24 lines
1.0 KiB
Go
// Package kiosk reads and writes plugin manifests (plugin.yaml) and holds
|
|
// the plugin registry contract shared by the summer tool, the registry
|
|
// server and the admin.
|
|
//
|
|
// A plugin.yaml is generated from the plugin's own sources by summer
|
|
// plugin:manifest: the ID and required plugins from plugin.go, the module
|
|
// path and version minimums from go.mod, the name and description from the
|
|
// README. It is committed next to plugin.go and never edited by hand; Check
|
|
// and CheckT report a stale copy.
|
|
package kiosk
|
|
|
|
const (
|
|
// FileName is the manifest file name, one per plugin package directory.
|
|
FileName = "plugin.yaml"
|
|
// SchemaVersion is the newest plugin.yaml schema this package reads
|
|
// and the one it writes.
|
|
SchemaVersion = 1
|
|
// FrameworkModule is the framework's module path; its go.mod require
|
|
// is a plugin's framework minimum.
|
|
FrameworkModule = "git.golem15.com/golem15/summercms"
|
|
// Header is the comment line every generated plugin.yaml starts with.
|
|
Header = "# Generated by summer plugin:manifest. Do not edit; rerun the command."
|
|
)
|