Registry obi on forge.metabarcoding.org, KIT_LANG=en, CeCILL-2.1. Skeleton generated by crate-kit adopt-kit.sh, plus docs/pilot-risks.md (Gitea risks to test on a throwaway crate before any publication).
29 lines
1.3 KiB
Markdown
29 lines
1.3 KiB
Markdown
# obi-kit
|
|
|
|
Extension kit of `crate-kit` for the obi cluster: registry (`obi`), forge (`https://forge.metabarcoding.org`) and the default document language (`KIT_LANG ?= en`). It is the entry point of the cluster: it includes `crate-kit` and delegates to it. The usage guide
|
|
for an extension kit is in `../crate-kit/README.md` (section "Writing an extension kit").
|
|
|
|
## Usage
|
|
|
|
Each crate declares `KIT_SRC ?= ../obi-kit` (`make adopt CRATE=../xxx` writes it). The cluster targets are
|
|
run here (`make help`); those of a crate, in the crate.
|
|
|
|
## Contents
|
|
|
|
- `Makefile`: cluster targets (delegated to `crate-kit`), `ci`, `jjrelease`.
|
|
- `tools/kit-assemble.sh`, `tools/kit-copy.sh`: set the overlay and call those of `crate-kit`.
|
|
- `overlay/kit/org.mk`: registry, forge, token file. `overlay/kit/VERSION`: extension version.
|
|
- `overlay/templates/`: reserved for crate kinds; none is defined (no plugin kind, no catalog).
|
|
- `secrets/`: forge token (`secrets/forge-token`, one line; rights: packages, repository, wiki, releases), gitignored,
|
|
mode 0600, never committed. `FORGETOKEN` in the environment overrides it.
|
|
- `tests/`: `make test`.
|
|
|
|
## Release
|
|
|
|
`make jjrelease`: identical to that of `crate-kit` (version, notes in `ReleaseNotes/`, push of `main`,
|
|
tag; the CI creates the release and attaches the archive of `overlay/`).
|
|
|
|
## License
|
|
|
|
CeCILL-2.1 (see `LICENSE`).
|