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

Schema-Checking for Configuration File #27

Closed
pgierz opened this issue Aug 1, 2024 · 0 comments · Fixed by #28 or #34
Closed

Schema-Checking for Configuration File #27

pgierz opened this issue Aug 1, 2024 · 0 comments · Fixed by #28 or #34
Assignees
Milestone

Comments

@pgierz
Copy link
Member

pgierz commented Aug 1, 2024

The config file (aka user runscript, user script, whatever), should undergo a sanity check when loading to avoid erroneous entries and potentially confusing error tracebacks. I would recommend leveraging the cerberus library for this.

From the documentation:

CERBERUS, n. The watch-dog of Hades, whose duty it was to guard the entrance; everybody, sooner or later, had to go there, and nobody wanted to carry off the entrance. - Ambrose Bierce, The Devil’s Dictionary

Given that CMORization is one of those "the devil is in the details" tasks, I feel like this is an appropriate library to use 😉

@pgierz pgierz self-assigned this Aug 1, 2024
@pgierz pgierz added this to the Beta Release milestone Aug 1, 2024
@pgierz pgierz linked a pull request Sep 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant