docs: style fix - #2652
Conversation
🚀 CCache Statistics
📊 Detailed StatisticsopenEuler (aarch64)openEuler (x86_64)RHEL (aarch64/gnu15)RHEL (x86_64/gnu15)RHEL (x86_64/intel)🤖 Generated from workflow run |
Test Results 29 files 29 suites 54s ⏱️ Results for commit d2a5769. ♻️ This comment has been updated with latest results. |
|
I've actually gotten in the habit of typing out these in full when doing this on the CLI (auto-completion). However, are you just normalizing them all to not have .service? (if so, regardless of the style, normalizing them is the way to go. @adrianreber any thoughts on going with .service over removing? |
|
To be honest it doesn't matter if it have |
Consistency is nice. Not sure what is better. Having |
4b3df32 to
ebe0190
Compare
|
Fixes implemented, |
|
A friendly reminder that this PR had no activity for 30 days. |
ebe0190 to
5855d58
Compare
A few code blocks run a comment line directly against the previous command, while every other comment in the same block is preceded by a blank line. Add the missing blank lines for consistent rendering: - network/infiniband/head-node.md.j2 (Start up NetworkManager) - scheduler/slurm/install.md.j2 (Setup default cgroups file) - customize/memlimits.md.j2 (Update memlock settings on compute) - customize/nhc.md.j2 (execute every five minutes) Cosmetic only. Signed-off-by: Vinícius Ferrão <ferrao@versatushpc.com.br> Sponsored-by: VersatusHPC
The guides were inconsistent: most systemctl call sites used the bare unit name while a handful spelled out .service, sometimes both ways within the same file (nfs.md.j2, time.md.j2). Normalize on the explicit .service suffix, which is also what is needed for the other unit types the recipes already reference (.socket, .target). Units that are not services keep their own suffix, and `journalctl -u` in the OpenCHAMI quadlet tip is aligned with the systemctl calls next to it. tests/ci/integration-test.sh matches `systemctl restart rsyslog` with sed to append `|| true`; the pattern is updated so it keeps matching. Cosmetic only -- verified with `make script` + `make check` (shellcheck). Signed-off-by: Vinícius Ferrão <ferrao@versatushpc.com.br> Sponsored-by: VersatusHPC
5855d58 to
d2a5769
Compare
This PR normalizes
systemctlcalls in the install guides to always spell out.service, and adds line spacing to some code snippets.The guides were inconsistent: most call sites used the bare unit name while a handful spelled out
.service, sometimes both ways within the same file (nfs.md.j2,time.md.j2). Per the discussion below, this now normalizes towards.servicerather than away from it, which also matches the other unit types the recipes already reference (.socket,.target).Non-service units keep their own suffix.
tests/ci/integration-test.shmatchessystemctl restart rsyslogwithsedto append|| true, so that pattern is updated to keep matching.Spacing change keeps the pattern of: