Skip to content

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Pull Request Requirements #1058

wants to merge 3 commits into from

Conversation

adecaro
Copy link
Contributor

@adecaro adecaro commented Apr 24, 2025

This PR introduces the Pull Request Requirements section in the DEVELOPMENT.md file. The purpose is to give instructions to the developers on how to prepare a pull request.

Signed-off-by: Angelo De Caro <[email protected]>
@adecaro adecaro added the documentation Improvements or additions to documentation label Apr 24, 2025
@adecaro adecaro self-assigned this Apr 24, 2025
@adecaro adecaro linked an issue Apr 24, 2025 that may be closed by this pull request
DEVELOPMENT.md Outdated

- **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 **Token-SDK Project** board with an appropriate status (e.g., “To Do”, “In Progress”, “In Review”, etc.).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the name actually appears as "Fabric Token SDK"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -72,7 +72,20 @@ 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
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

absolutely.

Copy link
Contributor

@aaadir aaadir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

- introduced One Approve Policy

Signed-off-by: Angelo De Caro <[email protected]>

This ensures that all contributions are tracked, visible on the project board, and aligned with the roadmap.

## 4. Additional Notes

- 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Do we need to do the Squash before rebasing? What is the recommendation?
  2. The default option in the PR ("Squash and Merge") can we change the default to be "Rebase and Merge"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good points:

  1. No, you don't need to squash all your commits before merging into main. The recommendation is to squash commits that have the same message, meaning that they belong to same small unit of changes.
  2. I have disabled the Squash and Merge option.

Copy link
Contributor

Choose a reason for hiding this comment

The 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).

- addeded a note about branch naming

Signed-off-by: Angelo De Caro <[email protected]>
@adecaro adecaro requested a review from AkramBitar April 24, 2025 09:32
@adecaro
Copy link
Contributor Author

adecaro commented Apr 24, 2025

@AkramBitar , please, let me know if the changes are okay.

@AkramBitar
Copy link
Contributor

@adecaro LGTM. One last question. Do we need to remove the branch after merging the PR to main? Is that nice to have or must, if must then could you please update the doc (also, in general do we need to remove unused branches)

Copy link
Contributor

@alexandrosfilios alexandrosfilios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo comments

- **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).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test changes also in dependent projects maybe?


This ensures that all contributions are tracked, visible on the project board, and aligned with the roadmap.

## 4. Additional Notes

- 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.
Copy link
Contributor

Choose a reason for hiding this comment

The 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).

@adecaro adecaro assigned alexandrosfilios and unassigned adecaro Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Development Guidelines: Pull Request Requirements
4 participants