Repository navigation
Enhance password comment in config.example.yml - #1229
Conversation
oxzi
left a comment
There was a problem hiding this comment.
Thanks for creating this PR.
I am unsure about having this comment in only one place when it addresses a limitation (or footgun) of YAML. How about putting the examples in single quotes instead? Or adding a general note at the top and/or in the docs?
Would have been too obvious 😅 |
Thanks for the fast reply. However, I am still a bit unhappy about the change as it explicitly only handles So, how about a warning note at the beginning of the docs - maybe after the last paragraph of the Configuration section before the Database Configuration subsection starts? I could imagine something like:
This way, the information would be generic, as there are multiple potentially affected fields; even multiple password fields. |
|
Removed the previous hints and added a caution box at the beginning of the database configuration section. |
oxzi
left a comment
There was a problem hiding this comment.
Thanks again!
Please add yourself to the AUTHORS file and squash all your commits into one. Then, it's good for me :)
|
Sorry @log1-c, but in my previous suggested changes leading |
Is that mandatory? Because until now that was never requested.
tbh, I have no idea how to do that. The Github interface does not seem to offer such an option. |
Added note about wrapping password in single quotes for special characters.
Depends. It is mostly there to acknowledge our contributors.
No problem. I did it for you and force-pushed it to your PR branch. |
oxzi
left a comment
There was a problem hiding this comment.
Thanks again and please excuse the back-and-forth here in the PR discussion.
|
Happy to help :)
No worries, usual refinement process I'd say 👍 |
Updated comment for database password to include guidance on handling special characters.
Took me quite a while to figure out, because the resulting error when starting the service is not very helpful in that case