Thank you for your interest in contributing to Unchained! We value your contributions and want to make sure the process is easy and beneficial for everyone involved. Please take a moment to read these guidelines to ensure a smooth contribution process.
Before your contributions can be accepted, you must sign a Contributor License Agreement (CLA). This is a simple process that happens when you make your first pull request (PR).
- External Contributors: Please fork the repository and submit your changes via a pull request from your fork.
- Internal Contributors: You should push your branches directly to the main project repository.
-
Creating Issues: Always create a GitHub issue before starting work on a pull request. Search for existing issues to avoid duplicates and check if someone else is already working on it.
-
Naming Branches: Use semantic and meaningful branch names to make it clear what your contribution entails. Here are some good and bad examples:
Good Examples
add-{x}-to-{y}-{issue-number}
fix-{x}-in-{y}-{issue-number}
feature-{xyz}-{issue-number}
test-{xyz}-{issue-number}
Bad Examples
bugfix
potatoes
mybranch
johns-first-pr
- Documentation: Your code must be well-documented and commented. Aim for clarity and simplicity; your code should be easily understandable without relying solely on comments.
- Naming Conventions: Use descriptive and appropriate names for variables, functions, and branches to clearly convey their purpose.
- Pull Request Details: Ensure your pull requests and issues clearly describe what you're trying to achieve. This helps reviewers understand your intentions and the impact of your contributions.
We use lefthook for Git hooks. Make sure you have it on your system and then install the hooks using:
lefthook install
- Your PR should always target the
develop
branch. - If the
develop
branch is updated before your PR is merged, you must rebase your commits to keep the history clean and avoid merge conflicts.
Following these guidelines helps us maintain a high standard of quality for our project and makes the contribution process more efficient and effective. We look forward to your contributions and are excited to see what we can achieve together in Unchained!
Thank you for contributing!