Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config checker #55

Open
metux opened this issue Nov 23, 2023 · 0 comments
Open

Config checker #55

metux opened this issue Nov 23, 2023 · 0 comments
Labels
kind/feature Feature Request

Comments

@metux
Copy link
Owner

metux commented Nov 23, 2023

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

@metux metux added the kind/feature Feature Request label Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant