-
Notifications
You must be signed in to change notification settings - Fork 66
Pull Request Requirements #1058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ This document outlines the contribution and development practices to ensure a cl | |
|
||
## 1. Commit Sign-Off Requirement | ||
|
||
All commits must be **signed off** to certify that the contributor agrees to the [Developer Certificate of Origin (DCO)](https://developercertificate.org/). | ||
All commits must be **signed off** to certify that the contributor agrees to the [Developer Certificate of Origin (DCO)](https://developercertificate.org/). | ||
This is a legal statement indicating that you wrote the code or have the right to contribute it. | ||
|
||
### How to Sign Off a Commit | ||
|
@@ -72,8 +72,23 @@ We follow a **linear commit history** to keep the Git log clean and easy to foll | |
- They make it harder to identify what changes were made. | ||
- They complicate tools that generate changelogs or audit logs. | ||
|
||
## 3. Additional Notes | ||
## 3. Pull Request Requirements | ||
|
||
To maintain clarity and traceability across contributions, all pull requests must adhere to the following: | ||
|
||
- **Description**: Every pull request must include a meaningful description outlining the purpose and scope of the change. | ||
- **Labels**: Assign appropriate labels to help with categorization and prioritization. | ||
- **Project Assignment**: The pull request must be added to the **Fabric Token SDK** project with an appropriate status (e.g., “To Do”, “In Progress”, “In Review”, etc.). | ||
- **Associated Issue**: A GitHub Issue must be linked to the pull request. | ||
This should be done via the Development section of the GitHub PR interface (not just mentioned in the description). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Test changes also in dependent projects maybe? |
||
This ensures the PR is formally connected to the issue for proper project tracking and status updates. | ||
- **One Approve Policy**: Each PR must receive at least one `approve` from the maintainers of the project before it can be merged. | ||
AkramBitar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
The approver must ensure that the PR has been reviewed properly and that all CI/CD tests finish successfully. | ||
|
||
This ensures that all contributions are tracked, visible on the project board, and aligned with the roadmap. | ||
|
||
## 4. Additional Notes | ||
AkramBitar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Name a branch with a concise description of its purpose. | ||
- Use clear, concise commit messages (preferably using [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)). | ||
- Squash commits as needed before submission to keep the history clean. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good points:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. During development we make many small commits/fixes. It makes sense to squash these before merging so that we have less commits. However, ideally these intermediate commits will all be functional versions (the CI will work). |
||
- Open a pull request only after your branch is up-to-date and rebased on `main`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please also mention the PR review process? E.g. is it enough that one of the reviewers approve or must all of them do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
absolutely.