The `db-contrib-tool` - MongoDB's tool for contributors.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file db_contrib_tool-2.2.4.tar.gz.
File metadata
- Download URL: db_contrib_tool-2.2.4.tar.gz
- Upload date:
- Size: 51.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.9.25 Linux/5.4.0-1009-aws
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64dff301587e3e83f0d2d12f86cca72f5860a1a8e7e70327e3953ade80631bbe
|
|
| MD5 |
ff07953dfd8b10de75f598ca84e86c8c
|
|
| BLAKE2b-256 |
84ad5afe39f1c9f26ef88fd0e5f52f84deaf4f88dcc030e49bfa47bbf21debbc
|
File details
Details for the file db_contrib_tool-2.2.4-py3-none-any.whl.
File metadata
- Download URL: db_contrib_tool-2.2.4-py3-none-any.whl
- Upload date:
- Size: 64.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.9.25 Linux/5.4.0-1009-aws
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ce0596c070901848e4bde279df045c293fe7a09bc4dcddb35869110fb596eff
|
|
| MD5 |
d8314dcb17357c4614283e9bbcefd06d
|
|
| BLAKE2b-256 |
abb3502db836ba661cac928bc6f36017f6c9f5ad20fc195c93170f12f4c66c01
|