| 1 | # How to contribute |
| 2 | |
| 3 | So, you've decided to contribute, that's great! |
| 4 | |
| 5 | You can use this document to figure out how and where to start. |
| 6 | |
| 7 | ## Getting started |
| 8 | |
| 9 | - Make sure you have a [GitHub account](https://github.com/join). |
| 10 | - Take a look at [existing issues](https://github.com/launchbadge/sqlx/issues). |
| 11 | - If you need to create an issue: |
| 12 | - Make sure to clearly describe it. |
| 13 | - Including steps to reproduce when it is a bug. |
| 14 | - Include the version of SQLx used. |
| 15 | - Include the database driver and version. |
| 16 | - Include the database version. |
| 17 | |
| 18 | ## Making changes |
| 19 | |
| 20 | - Fork the repository on GitHub. |
| 21 | - Create a branch on your fork. |
| 22 | - You can usually base it on the `main` branch. |
| 23 | - Make sure not to commit directly to `main`. |
| 24 | - Make commits of logical and atomic units. |
| 25 | - Make sure you have added the necessary tests for your changes. |
| 26 | - Push your changes to a topic branch in your fork of the repository. |
| 27 | - Submit a pull request to the original repository. |
| 28 | |
| 29 | ## What to work on |
| 30 | |
| 31 | We try to mark issues with a suggested level of experience (in Rust/SQL/SQLx). |
| 32 | Where possible we try to spell out how to go about implementing the feature. |
| 33 | |
| 34 | To start with, check out: |
| 35 | - Issues labeled as ["good first issue"](https://github.com/launchbadge/sqlx/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22). |
| 36 | - Issues labeled as ["Easy"](https://github.com/launchbadge/sqlx/issues?q=is%3Aopen+is%3Aissue+label%3AE-easy). |
| 37 | |
| 38 | Additionally, it's always good to work on improving/adding examples and documentation. |
| 39 | |
| 40 | ## Communication |
| 41 | |
| 42 | If you're unsure about your contribution or simply want to ask a question about anything, you can: |
| 43 | - Visit the [SQLx Discord server](https://discord.gg/uuruzJ7) |
| 44 | - Discuss something directly in the [Github issue](https://github.com/launchbadge/sqlx/issues). |