Skip to content

[llvm][docs] Reorder Stacked PR approaches in GitHub.rst #138126

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

Merged

Conversation

paschalis-mpeis
Copy link
Member

The 'user branches' approach now appears before the 'dependency note' approach, as it makes reviewing easier.

Add notes on requiring commit access for the former and on the disadvantage of the latter.

The 'user branches' approach now appears before the 'dependency note'
approach, as it makes reviewing easier.

Add notes on requiring commit access for the former and on
the disadvantage of the latter.
nit: Removed a space before a dot at the 'Commit Access' link.
Copy link
Collaborator

@joker-eph joker-eph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me, thanks!

Comment on lines 271 to 274
This approach requires
`Commit Access <https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access>`_.
However, if you are involved with a Stacked PR, there's a good chance you'll
be granted access.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] The paragraph you linked discusses the process of obtaining commit access, rather than providing a general definition of what "commit access" means. I suggest updating the link title to reflect that more accurately.

Also, regarding the sentence:

However, if you are involved with a Stacked PR, there's a good chance you'll be granted access.

This phrasing could be misleading. In the LLVM project, needing stacked PRs is not itself a sufficient criterion for being granted commit access. We should avoid suggesting a causal link where there isn’t one.

I suggest keeping this simple and factual: "This approach requires commit access: ".

I hope that this makes sense.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Andrzej,

Good points, and thanks for your review!

I've kept the link and now it refers on how to obtain commit access. – or do you think it's better to remove it?

Copy link
Contributor

@banach-space banach-space left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Perhaps wait one more day before landing, just in case @boomanaiden154 has further comments (all other active reviewers have already approved).

@paschalis-mpeis paschalis-mpeis merged commit a8344a9 into main May 6, 2025
10 checks passed
@paschalis-mpeis paschalis-mpeis deleted the users/paschalis-mpeis/github-doc-stacked-prs-order branch May 6, 2025 11:29
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this pull request May 7, 2025
The 'user branches' approach now appears before the 'dependency note'
approach, as it makes reviewing easier.

Add notes on requiring commit access for the former approach.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants