Welcome! We're excited that you're interested in contributing to pg_analytics
and want to make the process as smooth as possible.
Before submitting a pull request, please review this document, which outlines what conventions to follow when submitting changes. If you have any questions not covered in this document, please reach out to us in the ParadeDB Community Slack or via email.
This repository has a workflow to automatically assign issues to new contributors. This ensures that you don't need approval from a maintainer to pick an issue.
- Before claiming an issue, ensure that:
- It's not already assigned to someone else
- There are no comments indicating ongoing work
- To claim an unassigned issue, simply comment
/take
on the issue. This will automatically assign the issue to you.
If you find yourself unable to make progress, don't hesitate to seek help in the issue comments or in the ParadeDB Community Slack. If you no longer wish to
work on the issue(s) you self-assigned, please use the unassign me
link at the top of the issue(s) page to release it.
The development of the pg_analytics
Postgres extension is done via pgrx
. For detailed development instructions, please refer to the Development section of the README in the extension's subfolder.
All changes to pg_analytics
happen through GitHub Pull Requests. Here is the recommended
flow for making a change:
- Before working on a change, please check to see if there is already a GitHub issue open for that change.
- If there is not, please open an issue first. This gives the community visibility into what you're working on and allows others to make suggestions and leave comments.
- Fork the
pg_analytics
repo and branch out from thedev
branch. - Install pre-commit hooks within your fork with
pre-commit install
to ensure code quality and consistency with upstream. - Make your changes. If you've added new functionality, please add tests. We will not merge a feature without appropriate tests.
- Open a pull request towards the
dev
branch. Ensure that all tests and checks pass. Note that thepg_analytics
repository has pull request title linting in place and follows the Conventional Commits spec. - Congratulations! Our team will review your pull request.
The public-facing documentation for pg_analytics
is written directly in the README. If you are adding a new feature that requires new documentation, please add the documentation as part of your pull request. We will not merge a feature without appropriate documentation.
By contributing to pg_analytics
, you agree that your contributions will be licensed under the PostgreSQL License.