ssbc / ssb-config

standard configuration for ssb
MIT License
23 stars 18 forks source link

defaults should be flat (?) #39

Closed dominictarr closed 5 years ago

dominictarr commented 5 years ago

There have been some compliaints (was it @ahdinosaur?) about the degree to which things depend on ssb-config. I think one thing here is that default settings live here, creating an awkward peer dependency. One idea is move all the config into the modules that need them. say, those plugins hold a default-config.json file.

hmm, but caps are an awkward case - because currently they are set in under the caps object, all caps together, not with their related settings. Maybe this is better? or maybe caps should be handled specially? It might make more sense to just have a single cap (actually that ship has already sailed) that is then hmac'd by each purpose. or maybe have that + an particular caps can be overridden?

thought train was triggered by: default peerInviteCap https://github.com/ssbc/ssb-peer-invites/pull/7

stale[bot] commented 5 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?