Hello and thank you for your interest in contributing to snowflake-rs! We value all contributions and are excited to welcome you to our community. This guide will provide you with the information you need to make a contribution.
- Fork the Repository: Click the 'Fork' button at the top right of this page to create your own copy of this repository.
- Clone Your Fork:
git clone https://github.com/[YOUR_USERNAME]/snowflake-rs.git
- Set Upstream Remote: Navigate to the directory
cd snowflake-rs
and then Add the upstream remotegit remote add upstream https://github.com/mycelial/snowflake-rs.git
- Create a new branch: From your fork, create a new branch for your feature or bug fix:
git checkout -b new-feature-or-bugfix
- Make your changes: Edit the files and commit your changes. Please write clear and concise commit messages.
- Pull from upstream: Before pushing your changes, pull from upstream and integrate any changes:
git pull upstream main
- Push your branch: Push your branch to your fork:
git push origin new-feature-or-bugfix
- Open a pull request (PR): Go to your fork on GitHub and click the 'New pull request' button. Make sure your PR is against the main branch of the snowflake-rs repository.
- Small and Focused: PRs should address a single issue or add a single piece of functionality. If you're fixing multiple issues or adding multiple features, split them into separate PRs.
- Description: Provide a detailed description of the changes in your PR.
- Issue Reference: If your PR addresses an open issue, add a reference to it in the description.
- Check Existing Issues: Before submitting a new issue, please check the existing issues to avoid duplicates.
- Be Clear and Descriptive: Use a clear and descriptive title. Describe the expected behavior and what actually happened.
- Provide Steps to Reproduce: List the steps that led to the bug, so others can reproduce it.
If you have an idea for a new feature, please:
- Check Existing Issues: Someone else might have had the same idea!
- Provide a Clear Description: Explain the feature and its benefits.
If you have questions or need help, please reach out on Discord