Changes between Version 15 and Version 16 of RFC4


Ignore:
Timestamp:
Mar 29, 2017, 6:40:31 PM (7 years ago)
Author:
mloskot
Comment:

Clarify no-style-auto-fix policy

Legend:

Unmodified
Added
Removed
Modified
  • RFC4

    v15 v16  
    3838The `clang-format` is straightforward to run and can support development workflow as standalone tool or as one of many editor integrations or other bespoke utilities (eg. `git cl format` [Chromium]).
    3939
    40 Although no means to enforce the default formatting style are proposed, currently used CI services (eg. Travis CI) may be employed as a post-commit safety valve - a clang-format lint failure as a compile break (eg. [https://github.com/mongodb/mongo/blob/master/buildscripts/clang_format.py clang_format.py] build script used by MongoDB).
     40No automation of code reformatting is proposed. It would be treating the symptomps, no cause: developers not following the code formatting standard.
     41
     42Although no means to enforce the default formatting style are proposed, currently used CI services (eg. Travis CI) may be employed as a post-commit safety valve - a clang-format lint failure as a compile break (eg. [https://github.com/mongodb/mongo/blob/master/buildscripts/clang_format.py clang_format.py] build script used by MongoDB). Alternatively, a gatekeeper may be installed in SVN/Git, rejecting commits with code not conforming to the code formatting style.
    4143
    4244== Code Formatting Rules ==