Welcome to the Curator project! We value your contributions and are excited to have you collaborate with us. This document outlines the guidelines for contributing to ensure a smooth and productive process.
-
Ensure you have the following tools installed:
git
poetry
(Installation Instructions)
-
Install dependencies:
make install
-
Run tests to verify your setup:
make test
-
Activate the virtual environment:
$(poetry env activate)
- Fork the Repository: Start by forking the repository to your GitHub account.
- Clone Your Fork: Clone your fork to your local machine using:
git clone https://github.com/<username>/curator.git
- Create an Issue: Before starting any work, create an issue in the repository to discuss your proposed changes or enhancements. This helps maintainers guide your contributions effectively.
- Create a Branch: Create a feature branch for your changes:
git checkout -b feature/your-feature-name
- Make Changes: Implement your changes following the guidelines.
- Add Tests: Ensure your changes work as expected, add corresponding tests and pass all tests.
- Commit Your Changes: Write clear and concise commit messages:
git commit -m "feat: added new feature"
- Push Your Changes: Push your branch to your fork:
git push origin feature/your-feature-name
- Submit a Pull Request: Open a pull request (PR) to the main repository.
- Ensure your changes align with the project's purpose and coding standards.
- Include relevant tests for your changes.
- Update documentation if necessary.
- Ensure your code passes linting and formatting checks.
make lint make check
- Submit a PR with a descriptive title and detailed description.
When reporting an issue, include:
- A clear and descriptive title.
- Steps to reproduce the issue.
- Expected behavior vs. actual behavior.
- Screenshots or logs, if applicable.
- Environment details (e.g., OS, Python version).
- Reference related issues in your PR description (e.g., "Closes #42").
- Ensure your PR has descriptive and concise commits.
- Keep your PR focused on a single change to make reviews easier.
- Ensure your changes are rebased on the latest
main
branch:git fetch upstream git rebase upstream/main
- Address any feedback from maintainers promptly.
Thank you for contributing to Curator! Your support and collaboration make this project better for everyone. 😊