Commit Graph

39 Commits

Author SHA1 Message Date
Juan Gu 855dfadef0 SERVER-94077 Use isort in Ruff configs (#27865)
GitOrigin-RevId: e793d662774ccd3ab6c3f356c2287cf1f7ff9805
2024-10-10 19:33:49 +00:00
Steve McClure b4b23946cd SERVER-90570: Enable formatting checks for buildscripts directory, excluding idl (#22254)
GitOrigin-RevId: 9d997a9f44cd43a8dec7c2a17fa2dbcd875e92f6
2024-05-16 22:07:36 +00:00
Billy Donahue 982db36aae SERVER-54031 Include .py and .idl files in the errorcodes.py scan 2021-03-06 13:29:10 +00:00
Andrew Morrow 93cfea46d9 SERVER-44549 Remove the mobile storage engine
mode change 100644 => 100755 buildscripts/evergreen_task_timeout.py
 delete mode 100644 buildscripts/resmokeconfig/suites/disk_mobile.yml
 delete mode 100644 src/mongo/db/storage/mobile/SConscript
 delete mode 100644 src/mongo/db/storage/mobile/mobile_index.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_index.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_index_test.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_init.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_kv_engine.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_kv_engine.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_kv_engine_test.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_options.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_options.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_options.idl
 delete mode 100644 src/mongo/db/storage/mobile/mobile_options_mongod.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_record_store.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_record_store.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_record_store_test.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_recovery_unit.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_recovery_unit.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_session.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_session.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_session_pool.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_session_pool.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_sqlite_statement.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_sqlite_statement.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_util.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_util.h
 delete mode 100755 src/third_party/scripts/sqlite_get_sources.sh
 delete mode 100644 src/third_party/shim_sqlite.cpp
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/SConscript
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/patches/gethostuuid.patch
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/shell.c
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/sqlite3.c
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/sqlite3.h
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/sqlite3ext.h
2020-02-03 17:38:53 +00:00
Mathew Robinson 02f3b3a204 SERVER-42702 $PYTHON should not be used in build signature 2020-01-16 23:04:43 +00:00
Mathew Robinson 14c4a6e663 SERVER-41038 Guarantee that git describe returns the same number of digits regardless of version 2019-05-07 13:54:44 -04:00
Mathew Robinson f4feba485b SERVER-40542 Remove references to pip2 2019-04-10 11:42:47 -04:00
Mathew Robinson 8dd6d47557 SERVER-32295 Support Python 3 2019-04-08 14:08:49 -04:00
Jonathan Abrahams c50c68fef1 SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy 2018-04-05 14:41:58 -04:00
Jonathan Abrahams 36148ad8bb SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
Jonathan Abrahams 98eb87fdad SERVER-18394 Remove smoke.py and unused modules from buildscripts/ directory 2018-03-09 13:25:11 -05:00
Kim Tao 3b9872cc7f SERVER-30055 Exclude sqlite third party from the linter 2017-07-12 14:17:49 -04:00
Daniel Gottlieb 7733be17af SERVER-11095: Have getAllSourceFiles follow symlinks inside the modules directory 2017-01-12 16:57:46 -05:00
Ramon Fernandez 1653251f73 SERVER-25814 Do not lint the vendored gotools 2016-08-26 16:58:13 -04:00
Jason Carey e749ffad9b SERVER-18531 Integrate SpiderMonkey
Provides SpiderMonkey 38.0.1esr as a JS engine for mongo and mongod.
2015-07-14 16:15:54 -04:00
Jonathan Reams 2ce0a91ec6 SERVER-17782 SERVER-17329 Improve versioning and add distsrc to SCons 2015-05-21 14:15:43 -04:00
Benety Goh 7e3f93197f SERVER-13686 V8 3.25 scripting engine. Disabled by default. Enable using SCons flag js-engine=v8-3.25 2014-05-01 09:35:46 -04:00
Benety Goh 0279986672 SERVER-9608 updated shouldKill() to detect and terminate mongod process using same data directory 2013-11-26 14:09:02 -05:00
Gary Murakami 42255e2d5a SERVER-9486 git submodule scons build issue fix
If you add mongo to a parent project via "git submodule add", you need these fixes to build mongo.

Signed-off-by: Matt Kangas <matt.kangas@10gen.com>
2013-06-11 17:47:02 -04:00
Eliot Horowitz 814807af7f can pass a list of files to lint.py 2012-10-16 10:35:38 -04:00
Eliot Horowitz c444625527 move lint code to its own directory 2012-10-15 18:07:07 -04:00
Dan Crosta 455986e93d smoke.py: run cleanbb before each test phase 2012-07-10 11:40:48 -04:00
Eliot Horowitz 9b42753b04 some md5 helpers 2012-05-11 01:26:33 -04:00
Dan Crosta 5c8053463a buildlogger: make everything unicode 2012-04-12 17:36:24 -04:00
Andy Schwerin 245468533a SERVER-5140: Short-circuit smoke_python_name() if the running python interpreter is new enough.
This version is for the master branch.

There's no reason to search for another version of the python interpreter if the
running version is at least the minimum supported version, and this stops a build
hang.
2012-03-22 16:32:56 -04:00
Dan Crosta 51e9b45d89 SERVER-5057 safely invoke smoke.py from SConscript.smoke
this correctly handles arguments with spaces, quotes, etc
2012-02-23 17:32:02 -05:00
Eliot Horowitz 2ebabdfbf4 Revert "BUILDBOT-58: use s3tool to do s3-related work (and remove old, unused s3 scripts)"
This reverts commit fc7cac2239.
2012-02-18 01:55:34 -05:00
Dan Crosta 84034bdf98 avoid killing the smoke.py (which invokes cleanbb) from cleanbb 2012-02-17 00:06:50 -05:00
Dan Crosta fc7cac2239 BUILDBOT-58: use s3tool to do s3-related work (and remove old, unused s3 scripts) 2012-02-16 21:51:26 -05:00
Dan Crosta 31991afed8 ALL smoke.py invocations are done through smoke_command()
This function returns a string command with fully qualified paths to a
valid (>= 2.5) Python interpreter and to the smoke.py file.
2012-02-16 21:49:02 -05:00
Eliot Horowitz cbc4f28938 some cleaning 2010-09-03 11:58:53 -04:00
Mike Dirolf 306b9cbaa7 just renaming some things in smoke.py to be more consistent - no functional changes 2010-08-26 16:01:46 -04:00
Eliot Horowitz 4b50326dbc cleaning and error code stuff 2010-07-19 15:37:19 -04:00
Eliot Horowitz db6337a8e8 seperate package for c++ client 2010-05-23 23:30:52 -04:00
Eliot Horowitz f91cd9eda7 trying to make build work 2010-05-14 23:57:55 -04:00
Eliot Horowitz bb4dc1d191 try to fix build 2010-05-14 23:37:29 -04:00
Richard Kreuter b7feb6af29 Fixups in smoke.py, utils.py SERVER-253 2010-05-14 17:01:51 -04:00
Eliot Horowitz 5d44f01b1f wait longer but smarter for mongod to stasrt 2010-02-11 17:17:36 -05:00
Eliot Horowitz f8273464b7 bb files 2010-02-04 10:21:36 -05:00