catalog-validate

command
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command catalog-validate checks a directory of catalog YAML manifests. It runs the graph linter (catalogvalidate.ValidateGraph) and plans the tree the way a first boot seed does (apply.CheckDocs). With --curation it also runs a published catalog's curation checks (app/catalogvalidate/curation): the named rules, every Model's spec.family and spec.productLine against families.yaml, and featured.yaml against the featured labels.

Usage:

catalog-validate [--strict] [--curation [--skip <name>...] [--families <path>] [--featured <path>]] <dir>
catalog-validate --list
catalog-validate --write-featured [--featured <path>] <dir>

families.yaml and featured.yaml default to the catalog repo root, one level above dir. A missing featured.yaml skips the featured check.

Exit codes:

0  no errors (warnings may be present unless --strict)
1  at least one error
2  internal failure (couldn't load, etc.)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL