ssbc / ssb-config

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

separate out logic to set config defaults #26

Closed ahdinosaur closed 5 years ago

ahdinosaur commented 5 years ago

the use case is i want to try and setup PeachCloud services to follow Linux best practices with regards to where config (and other) files are located, so i want ssb-config without rc.

ahdinosaur commented 5 years ago

also happy if this pull request is not merged until i get the PeachCloud bits and boops working and i confirm this is the approach i want to take.

mixmix commented 5 years ago

this is a nice refactor @ahdinosaur I APPROVE this PR :heart:

I've got a pr open. If it ends up merging I'll get this merged and publish a new version which includes both

dominictarr commented 5 years ago

instead of click "approve" and leaving someone else to merge, please just merge and release. @christianbundy @mixmix

mixmix commented 5 years ago

I agree @dominictarr this is still in my head. As I said I was gonna merge-release in combo with other things. I've got this one covered - here's the merge here : https://github.com/ssbc/ssb-config/pull/30

dominictarr commented 5 years ago

@ahdinosaur btw, which "best practices" are you talking about? a .<name>rc file is good enough for bash and x. how can you get more conventionally unix than that?

christianbundy commented 5 years ago

Maybe XDG Base Directory Specification?