Contributing to Le Circographe
We're excited that you're interested in contributing to Le Circographe! This document will guide you through the process of contributing to our open-source project.
Code of Conduct
Please read and follow our Code of Conduct to ensure a welcoming and inclusive environment for everyone.
Getting Started
Find an Issue
- Browse our GitHub Issues to find something to work on
- Issues labeled
good first issue
are perfect for newcomers - Feel free to ask questions in the issue comments if something is unclear
Fork the Repository
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/YOUR-USERNAME/core.git
- Add the original repository as upstream:
git remote add upstream https://github.com/LeCircographe-asso/core.git
Create a Branch
Create a branch for your work based on the main branch:
git switch -c feature/your-feature-name
Use a descriptive name that reflects the work you're doing.
Development Workflow
- Make your changes in your feature branch
- Follow our coding standards and style (we use Rubocop)
- Add tests for your changes
- Make sure all tests pass before submitting your contribution
- Update documentation if necessary
Submitting a Pull Request
- Push your changes to your fork:
git push origin feature/your-feature-name
- Go to your repository on GitHub and click "New Pull Request"
- Select your branch and submit the pull request
- Fill out the PR template with all required information
- Wait for a maintainer to review your PR
Code Review Process
- A maintainer will review your code
- You may need to make additional changes based on feedback
- Once approved, a maintainer will merge your contribution
Documentation
- If you're adding a new feature, please include documentation
- Update existing documentation if you're changing functionality
Testing
- Add tests for new features
- Update tests for changed functionality
- Make sure all tests pass before submitting a PR
Thank you for contributing to Le Circographe!