Preparing Your Library for an Open Source Sprint
Sprints, the hands-on coding days that often follow community conferences, can bring a burst of new contributors to a package. They can also leave a maintainer with forty half-finished pull requests and nobody to review them. The difference is almost entirely in the preparation. This page is for maintainers planning to host a table at a sprint, whether in person or online.
Two weeks before: make the project easy to start
Newcomers lose the most time on setup. Every minute spent fighting a toolchain is a minute not spent on your issues. Before the sprint:
- Make sure the README or CONTRIBUTING file has a copy-paste setup that works on a clean machine.
- Pin the development dependencies so everyone installs the same versions. For a Python project, for example:
[project.optional-dependencies]
dev = ["pytest>=8", "ruff", "build", "twine"]
# contributors run:
# python -m venv .venv && . .venv/bin/activate
# pip install -e ".[dev]" && pytest
- Check that the test suite passes on the main branch. Nothing deflates a sprint faster than a red build no one caused.
- Confirm that your continuous integration runs on pull requests from forks.
One week before: curate the issues
Label a set of issues specifically for the sprint. Good sprint issues are small, well defined and independent of each other, so several people can work at once without conflicts. Each one should state what "done" looks like.
| Good sprint task | Poor sprint task |
|---|---|
| Add type hints to one module and run the type checker | "Improve typing across the codebase" |
| Write a test reproducing a specific reported bug | "Increase coverage" |
| Document one function's error cases with an example | "Rewrite the docs" |
| Add a missing changelog entry format check to CI | Redesign the release pipeline |
On the day: protect your review capacity
Review is the bottleneck. If you are the only maintainer, cap the number of parallel tasks to what you can review in the time available, and say so at the start. Ask contributors to open draft pull requests early so you can steer them before they invest hours. Pair people on harder tasks. And keep a visible list of who is working on what, so two people do not take the same issue.
Remember that sprint contributors are guests in your project. Point to your code of conduct, thank people for small contributions as warmly as large ones, and do not let a first-timer leave without at least one useful review comment.
Afterwards: finish what was started
- Within a few days, review every open sprint pull request, even if only to say what is left.
- Close or re-label issues that turned out to be bigger than expected.
- Cut a release that includes sprint work and credit contributors in the changelog.
- Note what slowed people down and fix it in the setup docs.
A sprint that ends with a release and a thank-you is the one people come back to. For help shaping the contributor documentation itself, see our page on contributor guideline files.