relgap registry test
Digests the range once per source of the tool's entry and once with all of them, and prints for each: the versions it found notes for, its entry counts and the documents they came from. Entries below --min-confidence count too.
<tool> resolves as in 'relgap resolve'. A path to a .yaml file runs that entry on its own, after the checks 'relgap registry lint' makes, so a new entry can be tried before it's embedded.
A source that fails is listed with its error and the command exits 1. A source without notes in the range isn't an error: an upgrade guide only has notes where a new release line starts.
Usage
relgap registry test <tool|file.yaml> <from>..[<to>] [flags]Arguments
| Argument | Required | Repeatable |
|---|---|---|
tool|file.yaml | yes | no |
from>..[<to | yes | no |
Flags
| Flag | Description | Type | Default | Values | Config key | Notes |
|---|---|---|---|---|---|---|
--guess | search GitHub for a tool no registry knows and use the exact name match with the most stars | bool |
The global flags work with every command.
Output formats
--format accepts tty, plain, json. Without it, the format is tty when stdout is a terminal and plain otherwise. Formats are described on the global flags page.
Exit codes
| Code | Meaning |
|---|---|
| 0 | The command finished. With --fail-on, nothing matched. |
| 1 | The command failed: a read, a write, a child process or a check failed. |
| 2 | Wrong usage: an unknown command or flag, a bad value or argument, an invalid config file, or a prompt with no terminal. |
| 4 | Credentials were missing or rejected for every source the command needed. |
| 130 | Interrupted by Ctrl-C (SIGINT) or a cancelled context. |
All codes are listed on the exit codes page.
Examples
relgap registry test kubectl 1.36.0..1.37.2
relgap registry test registry/argocd.yaml 3.5.0..3.6.1
relgap registry test python 3.13.5..3.14.0 --format json