Skip to content
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

Remove the GitHub pull request template #16415

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lunaris
Copy link
Contributor

@lunaris lunaris commented Jun 18, 2024

Pull request descriptions are always important. In the case of this repository, they are doubly important since we use a merge queue configured to squash commits and use pull request descriptions as squashed commit messages. This means that the most beautiful commit messages in the world mean nothing if they don't make it uncontaminated into a pull request description.

Unfortunately, contamination is the name of the game with our current pull request template. While designed with good intentions -- helping contributors ensure that they have formatted, linted, tested, and described their code in a changelog entry, it comes with a serious downside. Its HTML comments and checklist entries make it into our Git commit history unless meticulously cleaned out by every contributor, making for an ugly commit log full of noise and bloat. Given that we now have tooled workflows to address these risks*, it's time to remove it and save our commit log from future corruption.

*The exception is the Pulumi Cloud API notice, but this commit argues that this checklist item is both uncommon and has been ineffective in helping address this risk.

Pull request descriptions are always important. In the case of this
repository, they are doubly important since we use a merge queue
configured to squash commits and use pull request descriptions as
squashed commit messages. This means that the most beautiful commit
messages in the world mean nothing if they don't make it uncontaminated
into a pull request description.

Unfortunately, contamination is the name of the game with our current
pull request template. While designed with good intentions -- helping
contributors ensure that they have formatted, linted, tested, and
described their code in a changelog entry, it comes with a serious
downside. Its HTML comments and checklist entries make it into our Git
commit history unless meticulously cleaned out by every contributor,
making for an ugly commit log full of noise and bloat. Given that we now
have tooled workflows to address these risks*, it's time to remove it and
save our commit log from future corruption.

*The exception is the Pulumi Cloud API notice, but this commit argues
that this checklist item is both uncommon and has been ineffective in
helping address this risk.
@lunaris lunaris requested a review from a team as a code owner June 18, 2024 09:30
@pulumi-bot
Copy link
Contributor

Changelog

[uncommitted] (2024-06-18)

@lunaris lunaris added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Jun 18, 2024
Copy link
Collaborator

@tgummerer tgummerer left a comment

Choose a reason for hiding this comment

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

I'm personally strongly in favor of this. We should probably leave this open a while longer so everyone gets the chance to take a look before merging it.

@julienp
Copy link
Contributor

julienp commented Jun 18, 2024

I am also in favor of this.

Maybe we can have a bot post a message about PR guidelines. Or we could strip down the PR template to point to a section in contributing.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants