-
Notifications
You must be signed in to change notification settings - Fork 758
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
Update doc about PR #5756
Update doc about PR #5756
Conversation
docs/pull_request.md
Outdated
- if a feature implementation is split into multiple PRs. We can have a chain of PRs in this case. PR can be merged one by one on develop, and GitHub change the target branch to `develop` for the next PR automatically. | ||
- we want to merge a PR from the community, but there is still work to do, and the PR is not updated by the submitter. In this case, we can create a new branch, push it, and change the target branch of the PR to this new branch. The PR can then be merged, and we can add more commits to fix the issues. After that a new PR can be created with `develop` as a target branch. | ||
|
||
**Important notice 1:** Releases are created from the `develop` branch. So `develop` branch should always contain a "releasable" source code. So when a feature is being implemented with several PRs, it has to be disabled by default, until the feature is fully implemented. A last PR to enable the feature can then be created. |
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.
Perhaps we can explicitly state what's meant by a feature being disabled? Like whether it's via feature flag or being kept on another branch, etc
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.
When multiple developers are working on the same feature, waiting for others' PR to be merged into develop is sometimes blocking/time-consuming. I think we should consider keeping them in another branch and create new branches on top of it instead of develop.
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.
I think working on a different branch for a new feature may be painful concerning resolving conflicts when merging the feature branch into develop: it will raise the same problems as forked project. In my opinion, using a feature flag is the painless approach to smoothly integrate new features. But I admit we should find a good process to be faster to avoid blocks when working on the same feature.
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.
Perhaps we can explicitly state what's meant by a feature being disabled? Like whether it's via feature flag or being kept on another branch, etc
Unit Test Results122 files + 8 122 suites +8 2m 18s ⏱️ +44s Results for commit 3faf0a2. ± Comparison against base commit 2761b35. This pull request removes 10 and adds 14 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
docs/pull_request.md
Outdated
Exceptions can occur: | ||
|
||
- if a feature implementation is split into multiple PRs. We can have a chain of PRs in this case. PR can be merged one by one on develop, and GitHub change the target branch to `develop` for the next PR automatically. | ||
- we want to merge a PR from the community, but there is still work to do, and the PR is not updated by the submitter. In this case, we can create a new branch, push it, and change the target branch of the PR to this new branch. The PR can then be merged, and we can add more commits to fix the issues. After that a new PR can be created with `develop` as a target branch. |
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.
I totally agree, we should just find the best process to inform the submitter, maybe via email or with a comment on his PR
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.
Let's merge the change and iterate later if necessary! |
Matrix SDKIntegration Tests Results:
|
no need for a changelog file I guess, opened for comment!
Rendered: https://github.com/vector-im/element-android/blob/773b9b7764364acaf889e93a31ec2765c0fd73d3/docs/pull_request.md#base-branch