This document outlines the process and guidelines for contributing. As this is a private project, contributions are limited to members within the organization, and no external contributions will be accepted.
- Code of Conduct
- Branching Strategy
- Pull Request Process
- Code Review Guidelines
- Commit Message Conventions
- Issue Tracking
- License
All contributors are expected to adhere to the Code of Conduct. Make sure to read and follow these guidelines during your interactions within the project.
We follow a branching strategy with the following branch naming conventions:
- Feature branches:
feature#<task-id> - <task-name>
- Bugfix branches:
bugfix#<task-id> - <task-name>
- Hotfix branches:
hotfix#<task-id> - <task-name>
-
Clone the Repository
- Clone the repository to your local machine.
git clone https://github.com/organization-name/your-repo.git
- Clone the repository to your local machine.
-
Create a New Branch
- Create a new branch for your feature, bugfix, or hotfix.
git checkout -b feature#<task-id> - <task-name>
- Create a new branch for your feature, bugfix, or hotfix.
-
Make Changes and Commit
- Make your changes and commit them with a descriptive commit message.
git commit -m "feature#<task-id>: Your descriptive commit message"
- Make your changes and commit them with a descriptive commit message.
-
Push Changes to the Repository
- Push your changes to the repository.
git push origin feature#<task-id> - <task-name>
- Push your changes to the repository.
-
Open a Pull Request to
develop
- Navigate to the repository on GitHub.
- Switch to the branch you just created.
- Click on "New Pull Request."
- Select the
develop
branch as the base branch. - Provide a clear title and description for your pull request.
-
Code Review
- Await code review from team members.
- Address any feedback or comments from reviewers promptly.
-
Merge into
develop
- After approval, the pull request will be merged into the
develop
branch.
- After approval, the pull request will be merged into the
-
Create a Pull Request to
main
from a Feature Branch- Create a pull request from the feature branch to the
main
branch. - Ensure that the feature branch has been thoroughly reviewed and tested successfully.
- Create a pull request from the feature branch to the
-
Code Review for
main
- Await code review for the pull request against the
main
branch. - Address any feedback or comments from reviewers promptly.
- Await code review for the pull request against the
-
Merge into
main
- After approval, the pull request will be merged into the
main
branch, marking a new release.
- After approval, the pull request will be merged into the
- All changes must pass code review before being merged.
- Ensure your code is well-documented and follows coding standards.
- Address any feedback or comments from reviewers promptly.
Follow the Conventional Commits specification for commit messages.
- Create issues for new features, bug fixes, or any enhancements.
- Reference the issue number in your branch name, commit messages, and pull request.
By contributing to this project, you agree that your contributions will be licensed under the LICENSE of the project.