sourcenetwork / defradb

DefraDB is a Peer-to-Peer Edge Database. It's the core data storage system for the Source Network Ecosystem, built with IPFS/IPLD, LibP2P, CRDTs, and Semantic open web properties.
268 stars 37 forks source link

Config: minimalistic configuration #434

Open orpheuslummis opened 2 years ago

orpheuslummis commented 2 years ago

As mentionned by Andy:

thought: I do like very minimalist config files, in my opinion it would be nicer if only non-default options appear here instead of writing out (and having to read as a dev/admin) every single available option. I'm not suggesting that you do this now, but maybe something to consider in the future. E.g. if you were to run defra init --logging-level=debug the .config file would only contain:

logging:
  level: debug
(potentially with comments etc) 
orpheuslummis commented 2 years ago

Required parameters should be indicated

fredcarle commented 2 years ago

I like minimalistic config files too 👍

orpheuslummis commented 1 year ago

https://github.com/sourcenetwork/SIPs/discussions/7