Page MenuHomeDevCentral

Reformat documentation blocks
ClosedPublic

Authored by dereckson on Feb 26 2020, 02:15.
Tags
None
Referenced Files
F42499383: D2261.id5681.diff
Sat, Aug 8, 05:32
F42499201: D2261.id5680.diff
Sat, Aug 8, 05:31
F42476552: D2261.diff
Sat, Aug 8, 03:28
Unknown Object (File)
Sat, Aug 1, 09:42
Unknown Object (File)
Sat, Aug 1, 07:36
Unknown Object (File)
Fri, Jul 31, 22:38
Unknown Object (File)
Sat, Jul 25, 15:34
Unknown Object (File)
Sat, Jul 25, 09:15
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 3498
Build 3747: arc lint + arc unit