Follow the house shell conventions
Constants UPPER_SNAKE, mutable locals PascalCase, braced expansions throughout, per Development/Coding conventions in the vault.
This commit is contained in:
@@ -55,3 +55,9 @@ Short notes on things that were not obvious. Prune stale ones.
|
||||
holding `DD_ROLLBACK_IMAGE`, `DD_ROLLBACK_REVISION`, `DD_ROLLBACK_CAPTURED_AT`.
|
||||
`cd-deploy` writes the same format in the same place, so an operator following
|
||||
the manual note can recover from an automated deploy.
|
||||
|
||||
- **Shell naming follows the vault's `Development/Coding conventions`:**
|
||||
constants `UPPER_SNAKE`, mutable locals `PascalCase`, every expansion braced
|
||||
(`"${Name}"`). When bulk-renaming with a regex, exclude comments and message
|
||||
strings — an earlier pass turned "cd-status" into "cd-Status" and
|
||||
"revision label" into "Revision label" inside user-facing text.
|
||||
|
||||
Reference in New Issue
Block a user