Skip to content

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 ​

sh
relgap registry test <tool|file.yaml> <from>..[<to>] [flags]

Arguments ​

ArgumentRequiredRepeatable
tool|file.yamlyesno
from>..[<toyesno

Flags ​

FlagDescriptionTypeDefaultValuesConfig keyNotes
--guesssearch GitHub for a tool no registry knows and use the exact name match with the most starsbool

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 ​

CodeMeaning
0The command finished. With --fail-on, nothing matched.
1The command failed: a read, a write, a child process or a check failed.
2Wrong usage: an unknown command or flag, a bad value or argument, an invalid config file, or a prompt with no terminal.
4Credentials were missing or rejected for every source the command needed.
130Interrupted by Ctrl-C (SIGINT) or a cancelled context.

All codes are listed on the exit codes page.

Examples ​

sh
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