Skip to content

Config checker #55

@metux

Description

@metux

What is the problem you are trying to solve

Current yaml config allows for lots of subtle mistype errors that are hard to track. Thus would be nice having a checker tool that looks for the most common errors.

Describe the solution you like

important checks / common errors:

  • per-feature settings:
    • look for ==xxx" instead of =feature/)=[y|n]
    • look for misspelled features
    • look for misspelled feature values (depending on feature variable type: eg. bool may only be "y" or "n"
  • feature settings
    • check for default, eg. bool may only be "y"/"n", not "true"/"false"
  • potentially missing c/flags, c/libs (might actually be intended)
  • references to empty variables caused by misspelling (ie. referenced var is missing, but some w/ slightly different name exists)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions