Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:
Report bugs at https://github.com/feldroy/AirPostgres/issues.
If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.
Look through the GitHub issues for bugs. Anything tagged with "bug" and "help wanted" is open to whoever wants to implement it.
Look through the GitHub issues for features. Anything tagged with "enhancement" and "help wanted" is open to whoever wants to implement it.
AirPostgres could always use more documentation, whether as part of the official docs, in docstrings, or even on the web in blog posts, articles, and such.
To preview the docs locally:
just docs-serveThis starts a local server at http://localhost:8000 with live reload. Edit
files in docs/ or add docstrings to your code (the API reference page is
auto-generated). Run just docs-build to verify a production build.
Docs deploy automatically on push to main after GitHub Pages is enabled. If
the generator did not enable it, review the visibility implications first:
Pages sites can be public even when their repositories are private,
and the feature may require a paid GitHub plan for private repositories. Then
go to Settings > Pages, set the source to GitHub Actions, and enable the
deployment workflow:
gh variable set DOCS_DEPLOYMENT_ENABLED \
--repo feldroy/AirPostgres \
--body trueUntil then, deployment stays paused and local preview and builds still work.
The best way to send feedback is to file an issue at https://github.com/feldroy/AirPostgres/issues.
If you are proposing a feature:
- Explain in detail how it would work.
- Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a volunteer-driven project, and that contributions are welcome :)
Ready to contribute? Here's how to set up AirPostgres for local development.
-
Fork the AirPostgres repo on GitHub.
-
Clone your fork locally:
git clone git@github.com:your_name_here/AirPostgres.git
-
Install your local copy with uv:
cd AirPostgres/ uv sync -
Create a branch for local development:
git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
-
When you're done making changes, verify formatting, linting, types, and tests without modifying files:
just check
Use
just fixto apply Ruff's automatic fixes, orjust fix-and-checkto apply them before verification.Or run the tests alone:
just test -
Commit your changes and push your branch to GitHub:
git add . git commit -m "Your detailed description of your changes." git push origin name-of-your-bugfix-or-feature
-
Submit a pull request through the GitHub website.
Before you submit a pull request, check that it meets these guidelines:
- The pull request should include tests.
- If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.md.
- The pull request should work for Python 3.13 and 3.14. Tests run in GitHub Actions on every pull request to the main branch, make sure that the tests pass for all supported Python versions.
To run a subset of tests:
uv run pytest tests/- Bump the version:
uv version <version> # or: uv version --bump minor
- Commit:
git add pyproject.toml uv.lock git commit -m "Bump version to <version>" - Release:
This finalizes
just release
CHANGELOG/unreleased.mdasCHANGELOG/<version>.md, creates a fresh unreleased file, commits and pushes that notes commit, then creates an annotatedv*tag and GitHub Release. The tag push triggers.github/workflows/publish.yml, which builds the package, generates SLSA provenance attestations, and publishes to PyPI via trusted publishing.
Record release-worthy changes in CHANGELOG/unreleased.md as they merge.
Projects generated before this changelog lifecycle was introduced remain
compatible when they already have a versioned changelog file.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.