Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76437

Add a "large file" check to the commit queue

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform
    • Fully Compatible
    • 3

      Sometimes, large files can be accidentally checked into the mongo repo. These files are things like build artifacts or log files that really do not belong in the repository and just add clutter.

      We should add a new task to the commit queue that functions in a similar way to the TODO checker. This new task would check all the files that are being added/changed as part of the commit and fail if any are too large.

      AC:

      • New task is added to the commit queue
      • This new task checks all changed files for size
        • Fails if any file is over 10MB in size
        • Have the check ignore all files in the src/third_party directory

      From Max, this might be useful

      https://stackoverflow.com/questions/10622179/how-to-find-identify-large-commits-in-git-history/42544963#42544963

            Assignee:
            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            Reporter:
            jeff.zambory@mongodb.com Jeffrey Zambory
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: