db-contrib-tool
The db-contrib-tool - a collection of tooling to support repro environments.
Description
The command line tool with various subcommands:
setup-repro-env- README.md
- downloads and installs:
- particular MongoDB versions
- debug symbols
- artifacts (including resmoke, python scripts etc)
- python venv for resmoke, python scripts etc
setup-mongot-repro-env- README.md
- Downloads and installs particular Mongot versions into install directory.
symbolize- README.md
- Symbolizes stacktraces from recent
mongodandmongosbinaries compiled in Evergreen, including patch builds, mainline builds, and release/production builds. - Requires authenticating to an internal MongoDB symbol mapping service.
Dependencies
- Python 3.9 or later (python3 from the MongoDB Toolchain is highly recommended)
Installation
Make sure dependencies are installed. Use pipx to install db-contrib-tool that will be available globally on your machine:
python3 -m pip install pipx
python3 -m pipx ensurepath
Installing db-contrib-tool:
python3 -m pipx install db-contrib-tool
Upgrading db-contrib-tool:
python3 -m pipx upgrade db-contrib-tool
In case of installation errors, some of them may be related to pipx and could be fixed by re-installing pipx.
Removing pipx completely (WARNING! This will delete everything that is installed and managed by pipx):
python3 -m pip uninstall pipx
rm -rf ~/.local/pipx # in case you're using the default pipx home directory
Now you can try to install again from scratch.
Usage
Print out help message:
db-contrib-tool --help
Download and install the v8.0 mongo binary:
db-contrib-tool setup-repro-env 8.0
Download other accompanying artifacts with flags:
db-contrib-tool setup-repro-env 8.0 \
--downloadSymbols \
--downloadArtifacts \
--downloadPythonVenv
Download latest binary from the 10gen/mongo master branch:
db-contrib-tool setup-repro-env master
There are more ways to specify binary versions - see setup_repro_env/README.md.
Contributing
See ./CONTRIBUTING.md on details for development on this project.
Metadata
Release files for db-contrib-tool 2.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| db_contrib_tool-2.4.6.tar.gz | 57.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| db_contrib_tool-2.4.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 130.9 kB
Release files / db_contrib_tool-2.4.6.tar.gz
| Download URL | db_contrib_tool-2.4.6.tar.gz |
|---|---|
| Size | 57.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f78b0d48125afceabd2d71c71a9df4af3bc8589e1fa8d615f3a95510bf64a066
|
|
BLAKE2b-256 checksum How to use checksums |
96ff229c72eaf9c7baa7c86c77d04141896f4f8d9759c959661b7acd7d549c67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.13.15 Linux/5.4.0-1009-aws
|
Release files / db_contrib_tool-2.4.6-py3-none-any.whl
| Download URL | db_contrib_tool-2.4.6-py3-none-any.whl |
|---|---|
| Size | 73.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8629e8ac02806acfbb6e2b728361cf3b9e0b110c3b8dc1bc5cc61bfc896d77cc
|
|
BLAKE2b-256 checksum How to use checksums |
bd16ab073419fbf13f3394b730bd0c39dde6fc370faf4ab168ee6cc15890596f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.13.15 Linux/5.4.0-1009-aws
|