https://github.com/twentyhq/twenty/issues/6404 Used a Git hook`(pre-push)` to prevent pull requests from being created from the main branch. pre-push hook ref: https://git-scm.com/docs/git-push
3.8 KiB
Contributing to Twenty
Thank you for considering contributing to Twenty! All community contributions are welcome.
This guide outlines the process for contributing to this project. Please make sure to go through the documentation before making your contribution.
And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation:
- Star the project
- Tweet about it
Getting Started
Good first issues are a great way to start contributing to the project and get familiar with the codebase. Here's how to find them:
- Visit the "Issues" tab on the main repository.
- Use the "Labels" filter and select "Good First Issue" to see a list of beginner-friendly tasks.
- Choose an issue that interests you, fork the project, and start working on it. Once you solve and test the issue, open a PR for review.
Note: We are aware that having multiple contributors address the same issue can cause frustration. To prevent this, we adhere to a specific guideline: if a core team member has assigned an issue to a contributor, either as the issue assignee or through explicit assignment in the issue comments within the past three days, that contributor's pull request takes precedence. Otherwise, the first PR submitted will be given priority. This delay is reduced to one day for PR tagged with "size: minutes" and extended to a week for PR tagged "size: days".
Therefore, ensure you are assigned to an issue before beginning work on it.
Contributing Guidelines
-
Fork the Repository: Click on the 'Fork' button in the upper right corner of the repository's GitHub page. This will create a copy of the repository in your GitHub account.
-
Clone the Repository: Clone your forked repository to your local machine using
git clone
.
git clone https://github.com/yourusername/twenty.git
cd twenty
- Create a New Branch: Create a new branch for your changes instead of using the main branch.
git checkout -b your-branch-name
-
Make Changes: Make your desired changes and ensure that your code adheres to Twenty's coding standards.
-
Test Locally: Test your changes locally to ensure they work as expected.
-
Commit Changes: Commit your changes with a clear and concise commit message.
git commit -m "Add your detailed description here"
- Push Changes: Push your changes to your forked repository.
git push origin your-branch-name
-
Create a Pull Request: Go to the original Twenty repository and create a pull request. Please provide a detailed description of your changes. To have your pull request accepted, you must sign a CLA.
-
Code Review: Your pull request will undergo a code review. Note that you might need to make any necessary adjustments based on feedback.
-
Merge: Once approved, maintainers will merge your pull request into the main repository.
Code of Conduct
Please note that by contributing to this project, you're expected to follow Twenty's Code of Conduct. All maintainers strive to maintain a welcoming, friendly, and inclusive community for all contributors.
Reporting Issues
If you encounter any issues or have suggestions for improvements, please feel free to (create an issue on Twenty's GitHub repository)[https://github.com/twentyhq/twenty/issues/new]. When reporting issues, please provide as much detail as possible to help in understanding and addressing the problem effectively.
Thank you for considering contributing to Twenty. Your contributions help make Twenty's CRM platform even better!