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

turn environment config into toml files #459

Open
2 tasks
ctheune opened this issue May 29, 2024 · 1 comment
Open
2 tasks

turn environment config into toml files #459

ctheune opened this issue May 29, 2024 · 1 comment

Comments

@ctheune
Copy link
Member

ctheune commented May 29, 2024

Should be a relatively simple replacement and will help embedding structured config more easily and would get rid of most type conversion issues.

Long term we want this to be different anyway, but this is a low hanging next step.

  • automatic migration step .cfg -> .toml
  • how does this interact with secrets / embedded secrets?
@elikoga
Copy link
Member

elikoga commented May 29, 2024

Do we want this to completely replace the old configparser/configupdater format, so automatic migration step .cfg -> .toml is part of a ./batou migrate?

Also: What updating library to use?

In python 3.11 there is https://docs.python.org/3/library/tomllib.html, but there also is https://github.com/python-poetry/tomlkit with more support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants