papi-web-org / papi-web

Papi-web
7 stars 3 forks source link

Allowing other configuration formats? #8

Closed Amaras closed 4 months ago

Amaras commented 11 months ago

I propose allowing expert users to use a format they could be more comfortable with.

The main trouble I have with INI files is the lack of a formal speciication, and as such, I recommend using a format with a formal specification, such as YAML or TOML, both of which have either a well-known library or an stdlib module associated with its parsing.

This would imply writing and maintaining two different parsers, as well as the documentation for both or more formats (if we so decide, although most likely only the physical structure of the configuration file would change), so the workload would probably increase.

This is definitely not a priority for now, but could help with flexibility.

pascalaubry commented 6 months ago

IMHO everything should eventually be stored in the database so using text formats will not be needed anymore. @Amaras Close if OK with this.

Amaras commented 6 months ago

Text formats are still the basis of our setup, so we'll see if we need more config formats, especially until we have a config builder.

Amaras commented 4 months ago

After careful consideration, I agree we don't need to work on it right now, although I might reopen it some time in the future.