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.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| db_contrib_tool-2.6.0.tar.gz | 16.7 MB | Without provenance | Details for db_contrib_tool-2.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| db_contrib_tool-2.6.0-py3-none-any.whl | Python 3 | none | any | Details for db_contrib_tool-2.6.0-py3-none-any.whl |
Total release size: 16.8 MB
Release files / db_contrib_tool-2.6.0.tar.gz
| Download URL | db_contrib_tool-2.6.0.tar.gz |
|---|---|
| Size | 16.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e011c39f1b0217e209f98ab7ebf3b080bb550d94ecdc467ac3152f343b44d62
|
|
BLAKE2b-256 checksum How to use checksums |
feda3e44bca6d1f2aa7cfc67f555886dca66a3365ff14f279ca07c674a3b8153
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"20.04","id":"focal","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / db_contrib_tool-2.6.0-py3-none-any.whl
| Download URL | db_contrib_tool-2.6.0-py3-none-any.whl |
|---|---|
| Size | 73.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19a92edd6d79d5843979dfb97b3537495db67293df062a23b9c8608dc1207140
|
|
BLAKE2b-256 checksum How to use checksums |
f6ab8c25b2c33dbca2d9368556e2fc66f786fa77a367129f464ed4750e098791
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"20.04","id":"focal","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for db-contrib-tool 2.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.