plcc2fbc fetches operator lifecycle data from the Red Hat Product Life Cycle Center (PLCC) API, validates and filters PLCC data, and converts it into File-Based Catalog (FBC) blobs.
Download latest generated FBC file: fbc-latest.yaml
make buildbin/plcc2fbc [flags] <output-path>| Flag | Description |
|---|---|
-o, --output <format> |
Output format: json, json-pretty, or yaml (default: json) |
-p, --package <names> |
Comma-separated package names to include (default: all) |
-l, --log <file> |
Write validation/filtering report to <file> (default: stderr) |
-i, --input <file> |
Read PLCC JSON input from <file> instead of fetching from API |
--dump-plcc |
Dump filtered PLCC JSON instead of generating FBC |
--permissive |
Keep packages that fail PLCC validation instead of filtering them out; also downgrades missing -p packages from error (exit 3) to warning |
--validators <list> |
Comma-separated validators to run: labels (e.g. REQ-DATE-03) or groups (all, syntax, semantic, catalog). Default: all |
--list-validators |
List available validators and exit |
--split |
Write each package to <dir>/<package>/lifecycle.{json,yaml}; positional arg is a directory |
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Fatal error (invalid flags, I/O failure, etc.) |
| 2 | No FBC data generated (all packages filtered out) |
| 3 | Requested packages (-p) not found in PLCC data (without --permissive) |
make generate-fbcWrites fbc-samples/fbc-YYMMDD.yaml and updates fbc-samples/fbc-latest.yaml.