-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-5343 Clean up contributing docs #2390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
blink1073
commented
Jun 16, 2025
- Moves the SSL considerations from the Team Practices document to the contributing guide
- Cleans up the instructions for starting a server
- Specifies that secrets are only required for certain tests
CONTRIBUTING.md
Outdated
- Run `just install` to set a local virtual environment, or you can manually | ||
create a virtual environment and run `pytest` directly. If you want to use a specific | ||
version of Python, remove the `.venv` folder and set `PYTHON_BINARY` before running `just install`. | ||
- Ensure you have started the appropriate Mongo Server(s). You can run `just run-server` with optional args | ||
to set up the server. All given options will be passed to | ||
`run-orchestration.sh` in `$DRIVERS_TOOLS`. See `$DRIVERS_TOOLS/evergreen/run-orchestration.sh -h` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$DRIVERS_TOOLS/evergreen/run-orchestration.sh -h
should be a link to the actual file in drivers-evergreen-tools
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
### SSL tests | ||
|
||
- Run `just run-server --ssl` to start the server with TLS enabled. | ||
- Run `just setup-tests --ssl`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is just a repeat of the previous one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, they use different targets
CONTRIBUTING.md
Outdated
- Run `just setup-tests --ssl`. | ||
- Run `just run-tests` | ||
|
||
Note: for general testing purposes with an TLS-enabled server, you can use the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd call out that this is for testing ONLY, and should never be used in a non-testing context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done