CHECK_COMPAT(1)

πŸ“¦ version 3.0.1.2, in arch rolling, ubuntu resolute

πŸ’– CHECK_COMPAT β€” the check_compat era πŸ’–

okay bestie, so this is section 1 of the manual, and we're about to find out if ur conf2 YAML files are actually compatible or just pretending 🫢


✨ NAME ✨

check_compat β€” sniffs out incompatible configurations in conf2 module YAML files πŸ•΅οΈβ™€οΈπŸ’…


🌸 SYNOPSIS 🌸

check_compat -o OUTPUT_FILE [-h]

that's it. that's the whole vibe. one required thing, one optional thing. slay.


πŸ¦‹ DESCRIPTION πŸ¦‹

So like, this program scans conf2 module YAML files to find configurations that are, um, not compatible with each other. Not me being the compatibility police 😭

It runs validation checks against conf2 module specifications and then dumps all the issues it found into the results file you told it to use. iconic behaviour honestly.


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” shows u the help message and then exits. the classic "wait what does this do" move πŸ’–
  • -o OUTPUT_FILE, --output OUTPUT_FILE β€” tells it where to put the validation results. this one is REQUIRED, bestie, no skipping it 🚨

πŸ‘‘ OPERATION πŸ‘‘

Here's the little routine it does, step by step, main character energy only:

  1. Scans the current working directory and relevant system paths πŸ”
  2. Identifies conf2 module YAML configuration files πŸ“‚
  3. Validates configurations against compatibility rules βœ…
  4. Writes detected issues to the specified output file πŸ“

🌈 OUTPUT FORMAT 🌈

The output file is giving:

  • List of incompatible configurations πŸ’€
  • File paths where issues were detected πŸ“
  • Specific configuration keys causing incompatibilities πŸ”‘
  • Severity level for each issue ⚠️

⭐ EXIT STATUS ⭐

  • 0 β€” Success (no incompatible configurations found) πŸŽ‰ clean, no notes, we love to see it
  • 1 β€” Validation errors detected 😭 something's incompatible, the drama
  • 2 β€” Execution error (invalid parameters or system issues) 🚨 like, it couldn't even run properly

🧚 EXAMPLES 🧚

Basic usage:

check_compat -o validation_results.txt

Check exit status:

$ check_compat -o report.log
$ echo $?
1  # indicates issues found

see that 1? yeah that means issues were found. the vibe check failed fr fr πŸ˜”


πŸ”₯ SEE ALSO πŸ”₯

conf2(1), yamllint(1)

go read those too, iykyk πŸ’œ


πŸ’… DIAGNOSTICS πŸ’…

The output file will contain stuff like this:

ERROR: Incompatible setting detected in /etc/conf2/app.yaml
Key: security.encryption_level
Current value: legacy
Required: modern
okay so lowkey this is the moment of truth β€” it literally tells u the file, the key, what u have, and what u need. no guessing required 🫢

🌸 AUTHOR 🌸

UKUI Quality Assurance Team β€” shoutout to them, they're doing the lord's work πŸ‘‘


and that's the whole page, babe! this was v1.0, dated 2025-07-24, from the CHECK_COMPAT(1) manual β€” Configuration Validation section. now go forth and validate those YAMLs πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from