Page MenuHomeDevCentral

Reformat documentation blocks
ClosedPublic

Authored by dereckson on Feb 26 2020, 02:15.
Tags
None
Referenced Files
F45296203: D2261.id5679.diff
Fri, Aug 21, 14:02
F45296174: D2261.id5680.diff
Fri, Aug 21, 14:02
F45288951: D2261.diff
Fri, Aug 21, 12:54
F45180857: D2261.id.diff
Thu, Aug 20, 16:43
Unknown Object (File)
Mon, Aug 17, 03:34
Unknown Object (File)
Sun, Aug 16, 13:48
Unknown Object (File)
Sun, Aug 16, 13:46
Unknown Object (File)
Sun, Aug 16, 04:43
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