Thank you for your interest in contributing to Potpie! We welcome and appreciate all contributions, whether you’re fixing bugs, improving documentation, or adding new features. This guide will help you get started.
- Code of Conduct
- How to Contribute
- Getting Started
- Development Workflow
- Submitting Pull Requests
- Community and Support
Please note that by participating in the Potpie project, you agree to abide by our Code of Conduct. This is to ensure a positive, welcoming environment for all contributors.
There are several ways you can contribute to Potpie:
- Reporting bugs or suggesting improvements.
- Submitting feature requests.
- Adding documentation and improving existing content.
- Reviewing pull requests.
- Writing code and fixing issues.
If you’re unsure about how to get started, feel free to browse our issues labeled good first issue
and help wanted
. We also welcome you to join our discussions to understand the project better.
Ensure you have the following software installed:
- Fork the repository on GitHub.
- Clone your forked repository:
git clone https://github.com/your-username/potpie.git cd potpie
- Add the main repository as a remote:
git remote add upstream https://github.com/potpie-ai/potpie.git
Follow the project’s installation and setup instructions in the README.md file to prepare your local environment.
To ensure consistency and quality in the codebase, please adhere to the following workflow:
-
Create a Branch:
- Branches should be named according to the feature or bug fix. For example:
git checkout -b feature/your-feature-name
- Branches should be named according to the feature or bug fix. For example:
-
Make Changes: Write clear, concise code and ensure that you follow any established coding conventions.
-
Commit Your Changes:
- Write descriptive commit messages. Use imperative mood and provide context if necessary:
git commit -m "Add feature to handle XYZ"
- Write descriptive commit messages. Use imperative mood and provide context if necessary:
-
Push to Your Fork:
git push origin feature/your-feature-name
Testing is essential for maintaining the stability of Potpie. We encourage you to:
- Write unit tests for new features.
- Update existing tests when modifying functionality.
- Ensure all tests pass before submitting a pull request.
When you’re ready to submit your changes:
-
Open a Pull Request (PR):
- Go to the Potpie repository and select New Pull Request.
- Choose your branch and provide a meaningful title and description.
-
Describe Your Changes:
- Include a detailed description of what you have done and why.
- Link related issues (e.g.,
Closes #123
).
-
Request a Review:
- After submitting your PR, request a review from a project maintainer.
-
Respond to Feedback:
- Be responsive to any feedback you receive. Once changes are approved, a maintainer will merge your PR.
Open a Github issue to connect with other contributors, ask questions, and get support.
Thank you for your contribution to Potpie! 🥧