-authkey -data configurable via cerca.toml?
There was some confusion around not being able to configure the -authkey/-allowlist/-data via the configuration file and only by the command-line? It's a bit unhandy when writing up a systemd unit file and having to enter configuration twice for running cerca. Can those two options be put into the cerca.toml also? See https://github.com/cblgh/cerca/issues/71#issue-2510267809 for the example unit service file.
hm, mayhaps a new config section:
[[settings]]
which could contain the various cli flags that aren't yet covered. however, the values from the cli flags should have a higher precedence than the values specified in the config => if both a cli flag and the corresponding key is set in [[settings]], then we use the cli flag's value
Agreed, sounds like a plan!
Picking this one next then 🤘
:fire:
possible inspo https://github.com/ssbc/go-ssb/pull/138 - feel free to use or ignore :>
Oh wait a sec, we're due a merge conflict if I wire up config support for an option that is going away shortly in https://github.com/cblgh/cerca/issues/75. I'll dive into this after invites get merged 👍
feature flag potential afaiu https://github.com/cblgh/cerca/pull/92
kinda! i think one section could be normal flags, like --authkey, while another section toggles functionality on and off. this latter is what i think of with a "feature flag" while the first section would be more of a, uhh, runtime configuration?
OK, nice, adding to my december adventure stack 😌 i'm very tight on time and deep in another code cave, so please someone else feel free to pick it up in the meantime!
I feel like this is really the final thing to make deploying cerca much easier easier. along with all the latest changes, it's really cool to see the progress!
OK, nice, adding to my december adventure stack 😌 i'm very tight on time and deep in another code cave, so please someone else feel free to pick it up in the meantime!
ayy there's no rush! we're cruising in a no burnout zone here. we'll see if i stall out on the other things i've had in mind and implement a repeat of my go-ssb env/flag/config bznz. if not, then well, the context is documented here for later! :)
Done in #117.