This is an archive of the discontinued LLVM Phabricator instance.

docs: Document procedure for updating pull requests
ClosedPublic

Authored by tstellar on Mar 30 2023, 4:04 PM.

Details

Diff Detail

Event Timeline

tstellar created this revision.Mar 30 2023, 4:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 4:04 PM
tstellar requested review of this revision.Mar 30 2023, 4:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 4:04 PM
tstellar edited the summary of this revision. (Show Details)Mar 30 2023, 4:15 PM
jhenderson added inline comments.
llvm/docs/GitHub.rst
28
37–40

I agree with the idea of being able to push "fix up" commits to the PR and using Squash & Merge. It might be worth emphasising that the default final commit message will match exactly the PR title and body. I've been known to include additional comments in my initial PR description, to help reviewers, that don't necessarily want to be part of the final commit message, and I'm sure others have too.

tstellar updated this revision to Diff 516609.Apr 24 2023, 8:33 PM

Add documentation about creating pull requests from a personal fork.

tstellar updated this revision to Diff 516611.Apr 24 2023, 8:36 PM
tstellar marked an inline comment as done.

Address some review comments.

llvm/docs/GitHub.rst
37–40

Is this better?

jhenderson added inline comments.Apr 25 2023, 1:24 AM
llvm/docs/GitHub.rst
34

Nit: single blank line, not double.

37–40

Yep, thanks.

38

"may" sounds like simply granting permission to, whereas I think we want to be encouraging, but not strictly mandating it, to avoid losing context etc.

39
42

Simplification that works regardless of the exact wording for the previous block.

47

Nit: single blank line, not double.

ldionne accepted this revision.May 4 2023, 11:42 AM
ldionne added a subscriber: ldionne.

I like this, I think it makes sense and it mirrors our current workflow of having a linear history.

llvm/docs/GitHub.rst
44
This revision is now accepted and ready to land.May 4 2023, 11:42 AM
tstellar updated this revision to Diff 519593.May 4 2023, 12:05 PM
tstellar marked 5 inline comments as done.

Fix some typos and other review comments.

tstellar updated this revision to Diff 519596.May 4 2023, 12:14 PM

Address one more comment.

tstellar marked an inline comment as done.May 4 2023, 12:14 PM
This revision was landed with ongoing or failed builds.May 12 2023, 11:35 PM
This revision was automatically updated to reflect the committed changes.