Commit Graph

79 Commits

Author SHA1 Message Date
Alex Neben
2ecfe13b62 SERVER-70672 Merge enterprise repo into 10gen/mongo
GitOrigin-RevId: ae07dc005cf0004d01e86458f68cd0b9687e6602
2024-03-06 03:25:13 +00:00
Huayu Ouyang
a5da6271d5 SERVER-79274 Fix race where FCV is uninitialized in between FCV checks 2023-11-08 05:40:38 +00:00
Alex Neben
13f208e8c4 SERVER-76751 Pinning all python deps with poetry 2023-09-05 16:19:06 +00:00
Alex Neben
209ce30150 SERVER-72262 Bump Python minimum version to 3.9/3.10 2023-08-02 21:39:07 +00:00
Steve Gross
babf160654 SERVER-76796 Enable more lint warnings and fix them 2023-07-16 01:54:51 +00:00
auto-revert-processor
8837a2dfe2 Revert "SERVER-76796 Enable more lint warnings and fix them"
This reverts commit 7e0887b55d.
2023-07-13 20:31:43 +00:00
Steve Gross
7e0887b55d SERVER-76796 Enable more lint warnings and fix them 2023-07-13 15:07:11 +00:00
stevegrossmongodb
373aff474e SERVER-76796 Upgrade several linters 2023-07-03 15:11:25 +00:00
Juan Gu
8b9114b67f SERVER-71735 Rename simplecpplint.py to mongolint.py 2023-06-24 00:04:43 +00:00
Juan Gu
598dc9fc7c SERVER-78008 Remove _check_for_c_stdlib_headers check from simplecpplint.py 2023-06-22 02:22:13 +00:00
Juan Gu
34d372dd0b SERVER-71743 Move polyfill lint to clang-tidy 2023-06-21 15:24:01 +00:00
Juan Gu
77727c372b SERVER-78007 Move rand check to clang-tidy 2023-06-15 00:51:49 +00:00
Juan Gu
7657d17d39 Revert "SERVER-71743 Move polyfill lint to clang-tidy"
This reverts commit 053876ef08.
2023-06-13 22:36:43 +00:00
Juan Gu
053876ef08 SERVER-71743 Move polyfill lint to clang-tidy 2023-06-13 16:03:41 +00:00
Juan Gu
d981535c05 SERVER-71741 Move macro definition leaks check to clang-tidy 2023-06-05 20:24:28 +00:00
Juan Gu
c0423f3ab1 SERVER-71770 Move CollectionShardingRuntime into clang tidy 2023-05-26 22:40:39 +00:00
Juan Gu
889119d007 SERVER-71746 Move mongo config header lint to clang-tidy 2023-05-16 02:13:03 +00:00
Juan Gu
7dd905d905 SERVER-71745 Move unstructured log lint to clang-tidy 2023-04-27 21:26:00 +00:00
Alexander Neben
5ac6f19876 SERVER-76270 Moved lint_fuzzer_sanity to python 2023-04-26 18:41:57 +00:00
Jiawei Yang
6b0141d155 SERVER-66587 rename isEnabledAndIgnoreFCV to isEnabledAndIgnoreFCVUnsafe 2023-04-05 00:35:47 +00:00
Juan Gu
28c4056019 SERVER-71744 Move atomic, mutex and nonmongo assert to clang-tidy 2023-03-28 01:06:44 +00:00
Juan Gu
ecb455872f SERVER-71736 Move tracing support lint to clang-tidy 2023-03-25 00:09:04 +00:00
Juan Gu
2488882313 SERVER-71742 Move volatile keyword lint to clang-tidy 2023-02-23 23:17:58 +00:00
Juan Gu
17d7b26f35 SERVER-71737 Move boost optional requirement lint to clang-tidy 2023-02-18 05:31:04 +00:00
Juan Gu
f5ce056efc SERVER-71747 Move mongo ctype lint to clang tidy 2023-02-17 02:28:44 +00:00
Daniel Moody
1557c2169f SERVER-72873 add header brackets tidy check. 2023-02-12 09:03:48 +00:00
Alexander Neben
495f532dc7 SERVER-71734 Removed uninterruptable lock guard from simplecpplint 2023-02-10 05:11:59 +00:00
Juan Gu
dd85f9436f SERVER-71734 Use clang-tidy to prevent new instances of UninteruptibleLockGuard 2023-02-08 00:35:06 +00:00
Daniel Moody
4ecc81d9cc SERVER-73047 add mongo tidy check unittests 2023-01-23 23:50:18 +00:00
Daniel Moody
f295f411cf SERVER-72935 switch c stdlib headers to cpp compat stdlib headers 2023-01-20 23:56:24 +00:00
Jordi Serra Torrens
8c9d2a0169 SERVER-69445 Implement the CollectionSnapshot(s) infrastructure to back CollectionPtr 2023-01-19 16:00:56 +00:00
Billy Donahue
730905254c SERVER-72498 lint against rand and srand
Annotate legacy srand calls with NOLINT to pass new linter
2023-01-04 19:44:30 +00:00
Andrew Morrow
7657e615d2 SERVER-62994 Use v4 toolchain for everything except clang format
It has been a pleasure working here and quite the wild ride.

Good luck everyone.
2022-12-13 23:03:13 +00:00
Yu Jin Kang Park
fe588e79d9 SERVER-68867 Add simplecpplint check for UninterruptibleLockGuard 2022-11-25 11:33:03 +00:00
Trevor Guidry
48a77e1d99 SERVER-68924 make pylinter output correct fix command and allow absolute paths 2022-11-04 20:42:00 +00:00
Jordi Serra Torrens
dc15e9c5fd SERVER-70047 Add linter rule that checks CollectionSharingRuntime is not used outside sharding code 2022-09-29 10:06:35 +00:00
Alexander Neben
97ac02fa50 SERVER-68593 Disable low value python warnings 2022-09-02 22:55:09 +00:00
Billy Donahue
32f33cb29b SERVER-66202 linter for undef MONGO_LOGV2_DEFAULT_COMPONENT 2022-05-06 23:17:43 +00:00
Robert Guo
a3a87f936f SERVER-65672 upgrade python packages to support 3.10 2022-04-24 02:12:33 +00:00
Mark Benvenuto
638812d97b SERVER-64430 Fix cpplint regex error for stdx::mutex 2022-04-20 19:01:16 +00:00
Amirsaman Memaripour
3f951c777d SERVER-59700 Add programming support for tracepoints 2022-01-07 17:20:56 +00:00
Robert Guo
4002c5b76f SERVER-60633 burn_in_tests should respect multiversion tags 2021-10-14 13:07:29 +00:00
Billy Donahue
6ff19433eb SERVER-60022 global std::optional -> boost::optional 2021-09-21 00:07:27 +00:00
David Bradford
1b9f63cdaf SERVER-50595: Don't require evergreen.py for local lint runs 2021-04-23 17:16:03 +00:00
Billy Donahue
3022c66b2a SERVER-55281 lint for newline violations 2021-03-25 00:44:22 +00:00
David Bradford
a22cbaba06 SERVER-54861: Update pylint to 2.7.2 2021-03-01 23:46:55 +00:00
Billy Donahue
c8a02bacb3 SERVER-54475 Add SSPL to shim files. Refactor sspl check.
simplecpplint.py
    Improve license check
    Clearer exception handling
    Fix process exit code (success:0, lintFail:1, internalError:2)

Add '-present' year range suffix to copyright notice in a few c++ files.
2021-02-12 20:58:51 +00:00
Billy Donahue
ff37b70553 SERVER-50917 util/ctype.h to replace <cctype> & <ctype.h> funcs 2020-10-13 19:30:17 +00:00
Jason Chan
3a6bde797e SERVER-50706 Add fromConfigServer parameter to allow transitioning a shard server from lastLTS FCV to lastContinuousFCV 2020-09-24 16:30:58 +00:00
Lingzhi Deng
728b9b3039 SERVER-49520: Add linter rule for generic FCV references 2020-09-02 04:09:13 +00:00