Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9171

Add a dist/ script that detects files with no newline at the end.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT11.0.0, 6.1.0-rc0
    • None
    • 2
    • Storage - Ra 2022-05-16

    Description

      WiredTiger has a suite of scripts in the dist/ directory of the codebase which validate our source files for common issue, e.g. spelling, line length etc.

      WiredTiger style maintains that a file must have a newline at the end of it. Currently we don't have a script that checks this. We should add one.

      Scope:

      • Add a script to dist/ that checks for files without newlines at the end. If there is another script that already does something similar consider adding this check to that script.
      • Add that script to s_all/.
      • Test that it works correctly.

      Attachments

        Activity

          People

            ruby.chen@mongodb.com Ruby Chen
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: