Skip to content
Discussion options

You must be logged in to vote

Fixed in #122.

I originally thought the previous behavior (updating secrets in their source file) was the correct approach - it seemed logical that if a secret came from a parent config, updating it should update that parent. But after reading through this discussion and reflecting on it, I agree that behavior was confusing and unexpected.

The hierarchical config model should work like CSS or other layered config systems - child configs override parent configs, they don't modify them. When you run fnox set SECRET value from a child directory, you expect it to affect your local config, not silently reach up and modify a parent directory's config.

The fix makes fnox set always write to the …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by theutz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants