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.7
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.7.tar.gz | 57.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| db_contrib_tool-2.4.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 130.9 kB
Release files / db_contrib_tool-2.4.7.tar.gz
| Download URL | db_contrib_tool-2.4.7.tar.gz |
|---|---|
| Size | 57.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91c113a337b4dfe17f6cc7447009755927b4e0af8d2ce9ba7565ef375e529f1b
|
|
BLAKE2b-256 checksum How to use checksums |
09be64952a080b65a86f6931a7d55d3a8ea7b0ca2683e40dcd8411aa498d1048
|
| 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.7-py3-none-any.whl
| Download URL | db_contrib_tool-2.4.7-py3-none-any.whl |
|---|---|
| Size | 73.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
789a8ec19b9346cbbfd6850ba8e45986dcc378da09d0547784c68c8ec5a5a2b7
|
|
BLAKE2b-256 checksum How to use checksums |
a1592da37e5f6102349e5dbe97c1b1e8d04b67226add0fa7af5b2fcec268ccf0
|
| 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
|