| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Only `ONE_DIR=0` has any effect. As the actual feature is now dependent upon the `/var/mail-state` location existing. It is advised not mounting anything there instead if wanting to avoid runtime state consolidation.
This is more search friendly / organized to find references to all DMS volumes.
|
Just some thoughts on the lint failure as I didn't expect this (feel free to ignore this comment):
# 0 for missing final newline, 1 for present:
$ tail -c 1 docs/content/config/environment.md | wc -l
0We already have that prevented by a recent PR for user config parsing (where the last report was related to VSCode defaults), and the ECLint check config catches it here in PRs. Perhaps a git pre-commit hook could better prevent it (I haven't checked if that's implicit, or requires the contributor to use an editor plugin like for .editorconfig), there doesn't seem to be an equivalent .gitattributes feature like we do for preventing CRLF line-endings. I'm wondering if there's any value in highlighting that default setting for VSCode in our docs (with required configuration change) 🤔 VSCode otherwise expects a blank line (a separate setting enabled by default optionally also renders it as a separate blank line visually): |
Sorry, something went wrong.
VSCode by default excludes this if the last line rendered is removed (rendered as a separate blank line). A separate setting can enforce adding the final newline upon save regardless.
|
I have Insert Final Newline set to true, but I didn't know about Render Final Newline (which is set to dimmed for me by default). IMO "files.trimTrailingWhitespace": trueis useful as well. |
Sorry, something went wrong.
There was a problem hiding this comment.
I like the first commit in particular; it always bothered me how we only document the volumes in the FAQ 👍🏼
Sorry, something went wrong.
|
I'll leave this a little bit longer for @casperklein to possibly chime in since I recall ONE_DIR discussions with him in the past too. |
Sorry, something went wrong.
|
Short and sweet:
I am also using this in VSCode: "files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
|
Sorry, something went wrong.
I can't think of any issues this PR introduces in this regard; it would be a problem if someone mounted a volume to the paths we specify in our docs but then sets ONE_DIR=0, which makes no sense really. IMO this is fine to go into v14.0.0, but I'll leave it up to you :) |
Sorry, something went wrong.
|
Documentation preview for this PR is ready! 🎉 Built with commit: 41359fe |
Sorry, something went wrong.
PR - docker-mailserver/docker-mailserver#3840 Signed-off-by: Aldo Maria Vizcaino <aldo.vizcaino87@gmail.com>
PR - docker-mailserver/docker-mailserver#3840 Signed-off-by: Aldo Maria Vizcaino <aldo.vizcaino87@gmail.com>
| Back | FazBrowse Home | New Git URL |
Description
I don't see this as a breaking change given the logic we have for it.
I've explained DMS Volumes several times in past issues (example), so that should be a helpful addition to reference to link users to instead 👍
Type of change
Checklist: