This is an archive of the discontinued LLVM Phabricator instance.

docs: Document policy around GitHub branches
ClosedPublic

Authored by tstellar on Mar 30 2023, 2:46 PM.

Details

Diff Detail

Event Timeline

tstellar created this revision.Mar 30 2023, 2:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 2:46 PM
tstellar requested review of this revision.Mar 30 2023, 2:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 2:46 PM
rengolin accepted this revision.Mar 30 2023, 3:56 PM
rengolin added a subscriber: rengolin.

Should be fine for now, thanks!

This revision is now accepted and ready to land.Mar 30 2023, 3:56 PM
jhenderson added inline comments.
llvm/docs/GitHub.rst
21

This is fine, but as mentioned in the issue, I'd like to see something in the instructions on how to create forked repos that can be used for branches for PRs. I know that I'm not familiar with it (we don't use this model internally), so I expect many others won't be either.

nhaehnle added inline comments.
llvm/docs/GitHub.rst
21

This is a super standard workflow for GitHub, so we really shouldn't put any details here. A link to some appropriate documentation from GitHub would be appropriate though.

I would go further and do not even mention stacked pull request.

This repository is reserved for official project branches only. Do not create any branches in the llvm/llvm-project repository. We may relax this rule in
the future.

jhenderson added inline comments.Mar 31 2023, 3:37 AM
llvm/docs/GitHub.rst
21

A link to external documentation is fine by me, but we need something.

tstellar updated this revision to Diff 515111.Apr 19 2023, 3:41 PM

Add a link to documentation about creating pull requests from forks.

tstellar marked an inline comment as done.Apr 19 2023, 4:15 PM
asl added a subscriber: asl.Apr 19 2023, 4:31 PM
asl added inline comments.
llvm/docs/GitHub.rst
23

This might be misleading. Are we suggesting that the repo is accepting PRs currently?

tstellar added inline comments.Apr 19 2023, 6:34 PM
llvm/docs/GitHub.rst
23

Maybe it would make more sense to move this part into my other patch: D147284 @jhenderson what do you think about that?

jhenderson added inline comments.Apr 20 2023, 1:15 AM
llvm/docs/GitHub.rst
23

Makes sense to me.

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

Move note about pull requests to D147284.

ldionne accepted this revision.May 4 2023, 11:40 AM
This revision was landed with ongoing or failed builds.May 4 2023, 11:52 AM
This revision was automatically updated to reflect the committed changes.