-
Notifications
You must be signed in to change notification settings - Fork 47
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
Pull requests and merge conflicts #246
Comments
@paulcr Great question, but tough to answer quickly. Are you using Pull Request comments, e.g. making line-level comments, commenting when you push up new changes to a branch (which the PR will reflect), &c.? |
Totally understand... when a feature or bug branch diverges too much from our develop branch we need to merge develop into the feature/bug branch. When merge conflicts arise we're looking for a way for the gatekeeper to communicate the conflicting lines to the developers involved to help the gatekeeper work through the conflicts. We do use PR comments and line level comments but since the conflicting merge can't be pushed we can comment |
@paulcr Wait, only the gatekeepers get to see merge conflicts?! They're not exposed to whoever wrote the code? |
Do you use any CI tools? |
We would like a way for the gatekeepers to present the merge conflicts in the PR so that the developers responsible for the change can work with the gatekeeper to resolve the conflicts. No we currently aren't using any CI tools. |
@paulcr Before opening the PR, are you attempting the merge locally? That's always good practice, and will of course show you any conflicts. (Instead of doing the merge to |
No. The process is currently:
At this point if the merge is successful the Gatekeeper asks the developer to retest their bug/feature. If the merge from develop is unsuccessful due to merge conflicts then the conflicts need to be resolved. The Gatekeeper will need feedback from the developer(s) responsible for the conflicting lines. Currently we do this offline via meeting/skype but we'd like a way to communicate the merge conflicts in the PR so Gatekeeper and the developer(s) can resolve the issue together and the organization gets an audit trail detailing the resolution of the issue. |
Do you mean you open a new branch on your fork of the canonical repo? Forking and branching are two distinct operations. |
Sorry yes... they open a branch. We use a shared repository model. |
@paulcr Did that help? |
@patrickbm no sorry that doesn't really resolve the issue for us. We just started using pull requests so it's probably more of a process issue internally in the organization that need to be resolved. Thanks for the help and suggestions. |
My organization currently requires developers to submit pull requests to have them reviewed by a small group of "gatekeepers". Once the pull request is finished and tested it is merged by the gatekeepers into our develop branch.
A problem we're having is that it's difficult for the gatekeepers to work through merge conflicts without taking the conversation out of the pull request. Is there a way to communicate diffs back and forth to work through merge conflicts in the pull request?
The text was updated successfully, but these errors were encountered: