-
Notifications
You must be signed in to change notification settings - Fork 73
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
Merge documentation #786
Merge documentation #786
Conversation
|
||
#. Merge the PR branch into your local *master*, making sure that the merge commit conforms to our requirements. Here are the steps needed to make the merge happen: | ||
|
||
* Disallow fast forward merging: we want an explicit merge commit for each 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.
Probably should mention --no-ff
and -n
.
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.
Do you think I should mention them here or in the commands instructions?
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.
This is the overview. Details such as these should go in the detailed mechanics section.
I'd include the explicit instructions for Magit (or CL). Perhaps they're not necessary for the experienced git users; I'm no expert and I'd appreciate the Magic/CL hints, specially for the |
On the one hand, I agree; on the other, this is a description of the expectations of merges in the IC repo, rather than a Git tutorial. By adding many details about how Git is used, we dilute the message about IC merge requirements. Perhaps we should do the following:
|
Yes, I agree. I was not sure about all the explicit instructions, but it's true that it was for me an extremely useful tool.
Nice! I'll do it |
I think adding the magit commands would be useful, I'm still not too familiar with magit. The rest is fine! Thanks a lot @carmenromo !! |
For some reason I can't reply to the following in place:
Yes. |
Looks good. I'd make it clear at the top that there are some detailed instructions at the bottom. I'm not entirely sure about the correctness of all the commands, off the top of my head (playing them through in my head seemed to make sense), and I don't have the time to simulate the situation and check them all. If nobody else spots any mistakes, I suggest we go ahead. I suggest that the mergers try to verify the instructions during the next few merges they do. (Don't forget that you can see the rendered version of the document in the GitHub interface when looking at this branch, even before it is merged.) The trouble is that, here, we're programming humans, so we can't write automated tests :-) |
Would you prefer that @MiryamMV or I (who ever takes care of the next merge) uses this version as reference during the next merge before its approval? It would be the best way to cross check all the commands. |
I was going to suggest this, but I was afraid that no new PR might come along for a while, and then we'd be left waiting. Adding a fix later, seemed the lesser evil. But if nobody objects to waiting until the new mergers have verified it on real PRs a few times, then I'm all for it. |
If you think that next PR is going to be in a while, then these instructions would be even more necessary. I wouldn't mind waiting. Up to you! |
I doubt in the
I wouldn't mind either! |
Done! |
... which is why I pointed out that these instructions are already readable in their beautifully-rendered glory in ... oh, let me be very specific this time ... right here. That is to say, we don't need to merge this PR for its content to be available to the mergers. So we can take our sweet time in merging it, even if we do want to merge it eventually. |
Since we prefer Magit, we have revised the CLI with exception of the merge (we had a small issue and preferred to do it with Magit). Everything works fine! |
Nice! So, if @jacg agrees, this can be approved and merged! |
Fine by me. (My |
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.
Four people have pored over this a number of times, and the two new mergers have even performed some merges while verifying the instructions, so I think we can consider this to be as thoroughly tested as instructions-for-humans could reasonably be.
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.
[Second attempt at formal approval]
Four people have pored over this a number of times, and the two new mergers have even performed some merges while verifying the instructions, so I think we can consider this to be as thoroughly tested as instructions-for-humans could reasonably be.
Documentation has been included with the instructions to merge according to our requirements in IC.