-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
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