-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 by Bors] - Add PR Template #2272
Conversation
It's a bummer that the PR templates don't support the yaml config at the top of them template so we can auto populate labels and what not.... |
They do ;) Check https://github.com/Leafwing-Studios/template-repo |
Are you sure? |
Yep I've used it in my own projects and it sets the metadata correctly. The web form didn't support it though, so I wrote it by hand like https://github.com/Leafwing-Studios/template-repo/blob/main/.github/PULL_REQUEST_TEMPLATE/rfc.md |
I would prefer a much simpler, minimal template... I often find them painful Either it's someone who is used to PRs/contributing and the template is useless as they already write good enough PRs, or it's someone that's more new and this adds friction Sorry, forgot to mention that in #2256... |
No worries 🙂
This is fair, however I would say this is more about consistency and making sure there's a standard for PRs. There are a slew of people who make great PRs, however, occasionally a not a nice one can slip though. Also the template is super helpful when you're reviewing PRs, as you can easily see what the PR is accomplishing and it's organized which is a huge plus. Also it should hopefully reduce how often we need to remind contributors to add tests/docs/examples when necessary haha 😅 And hopefully this template isn't too painful 😣, is there a specific part that seems unnecessary? |
But for now at least, we don't want to enforce the need for tests/docs/examples. Yes it is better to always have those, but tests should only be mandatory when adding something tricky, and doc/examples when adding an interesting feature. Again, this is only for now and may change later. Just having "if applicable" doesn't transmit that in my opinion. For the mid-term future, our issue is not having a lot of bad quality PRs, or not enough community members to review them I think.
|
Agreed. I think the big issues we have are a) organizing and prioritizing work b) reviewing can be too intimidating For b), I think this is caused by:
|
Granted not every PR will need any/all of them, however for those PRs where they do fit, we should require them. I'm still a fan of having it in the PR template, though if the majority (or @cart) disagrees, I'm ok with removing it as well.
120% agree with there not enough reviewers. This is also why I'm especially thankful to you (@mockersf ) and @alice-i-cecile for being very consistent with the PR reviews
🌲🌲Gump |
I'm honestly not super convinced that we need a text template here. I agree that right now we don't want to require tests/examples/docs. I also haven't encountered a pr where the author didn't provide the context needed, and we can always ask for clarity. And imo reviewers should use context in the pr to determine if/when tests/examples/docs are needed. Not including a template is a small thing we can do to cut down on the stress and cognitive load new contributors experience when creating a pr. Rust gets away without having a pr text template. I think we can too. |
Sure I'm fine removing the
Umm I would actually argue that it would help new contributors. Whereas, if we have a simple starting template with 3 sections
And a few notes on what to put there it would more easily allow the contributor to organize their thoughts. This is at least my take on PR templates. |
That's definitely how my brain works ;) I'm sure we have a heterogenous population here though, just like we saw with RFCs. |
Alrighty as long as its simple I'm sold. Can we remove the "additional information" section? Imo people will already add whatever information they think is relevant. No need to force a particular structure on them. |
Sure! |
as it's now shorter, could you set it back as a markdown and add newlines after titles to pass validation? It should still fit in the new PR textbox |
done :) |
bors r+ |
This is a first step at addressing #2256 via adding a pr template.
Pull request successfully merged into main. Build succeeded: |
This is a first step at addressing bevyengine#2256 via adding a pr template.
This is a first step at addressing #2256 via adding a pr template.