Page MenuHomeDevCentral

Reformat documentation blocks
ClosedPublic

Authored by dereckson on Feb 26 2020, 02:15.
Tags
None
Referenced Files
F34989907: D2261.id5679.diff
Sun, Jul 5, 20:04
F34980285: D2261.id5680.diff
Sun, Jul 5, 16:49
F34979948: D2261.id.diff
Sun, Jul 5, 16:04
Unknown Object (File)
Fri, Jul 3, 07:55
Unknown Object (File)
Fri, Jul 3, 03:32
Unknown Object (File)
Thu, Jul 2, 13:54
Unknown Object (File)
Thu, Jul 2, 13:47
Unknown Object (File)
Thu, Jul 2, 04:25
Subscribers
None

Details

Summary

This change normalizes the documentation blocks both among Salt
and deployed scripts.

Context

At some point, style of all the blocks have changed from this style:

#   -------------------------------------------------------------
#   Container
#   -------------------------------------------------------------

to this one:

#   -------------------------------------------------------------
#   Container
#   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Reformat utility

The reformat script is intended to be used as reformat <file>.
That would a good linter/autofixer.

To convert all the repository, the following commands have been used:
git ls-files | xargs -n 1 utils/reformat.py

Test Plan

Proofread blocks, convert all this repo

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Skipped
Unit
No Test Coverage
Branch
reformat
Build Status
Buildable 3499
Build 3748: arc lint + arc unit