[Problem] PR Template Too Wordy #10196
Replies: 11 comments
-
Agreed. I'm constantly deleting most of the template and just keeping the checkbox like so: A short description of the PR. (I move the div line to separate the description from the checkbox as seen below).
|
Beta Was this translation helpful? Give feedback.
-
Yes, before it was much more like, just a series of 4 or 5 checkboxes that basically said you had checked everything you need to check before doing the PR. |
Beta Was this translation helpful? Give feedback.
-
We can also hide content in a collapsed div |
Beta Was this translation helpful? Give feedback.
-
I'd agree about the wiki line being a good reminder if I believed anyone was reading it and being reminded 😄 . My feeling is that it's lost, and that for cases where we really do need to update the wiki Maintainers (especially @donovaly) have been good about reminding contributors to update the wiki. The thing I really, really want new contributors to see is the link to CONTRIBUTING.md -- as far as I am concerned, everything else just distracts. If it was more obvious how to use the checkbox thing I'd get rid of the first sentence too. |
Beta Was this translation helpful? Give feedback.
-
What about a:
|
Beta Was this translation helpful? Give feedback.
-
I am a big believer in checklists: [] Your Pull Request meets the requirements outlined in section 5 of CONTRIBUTING.md for a Valid PR
[] Maintainer quick fix -or- [] PR Passes Test Framework |
Beta Was this translation helpful? Give feedback.
-
I'd be OK with elucidating what the CONTRIBUTING.md says, if that's what you're going for here. The "radio button" thing at the top is a bit subverted by GitHub's little counter thing, though. Is the idea that you'd delete the ones that don't apply? The first "Passes test" is handled by the CI, and I'm not sure about the necessity of the "reviewed by" (since GitHub is going to show that information automatically). |
Beta Was this translation helpful? Give feedback.
-
I was thinking an 'X' if we can't do real check marks for the "type" of PR. If there is more than one thing from CONTRIBUTING that we want confirmed, then we should itemize them. |
Beta Was this translation helpful? Give feedback.
-
To my read, the things from CONTRIBUTING.md that are "check-off-able" are:
The stuff about passing tests is covered by CI, I don't see any reason to manually enter a checkmark. The code formatting will eventually be covered by something like pre-commit hooks, or automatically-applied formatting of some other variety. There's nothing in the current CONTRIBUTING.md about the wiki, or about creating unit tests. ...and I still circle back to the fact that in most cases (it seems to me) this template text is being wholly ignored. It's being left unmodified in the PR submission, with the checkbox untouched. My hope is that by making the text shorter, we might be able to persuade someone into reading it (OK, probably just wishful thinking). I suppose it's possible to automate some kind post-submission hook that forces submitters to check those boxes, but that's starting to feel pretty heavy-handed again. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
All that stuff ends up in the issue, too (just formatted differently). I'm not a fan of any of this template stuff: I just don't believe anyone is reading it. Let's stop wasting anyone's time with it: if someone doesn't follow CONTRIBUTING.md when submitting a PR, a Maintainer can tell them so directly. |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Version
0.21 (Development)
Full version info
Subproject(s) affected?
None
Problem description
The current PR template looks like this:
Thank you for creating a pull request to contribute to FreeCAD! Place an "X" in between the brackets below to "check off" to confirm that you have satisfied the requirement, or ask for help in the FreeCAD forum if there is something you don't understand.
Please remember to update the Wiki with the features added or changed once this PR is merged.
Note: If you don't have wiki access, then please mention your contribution on the 1.0 Changelog Forum Thread.
The vast majority of Pull Requests do not need to update the wiki: Maintainers and others have been quite diligent about reminding authors of things that DO need an update to do so manually, and it is unlikely that anyone is actually being reminded by the statement. The more we can shorten this bit of text up, the more likely it is to be read, and the less cluttered it will make pull requests where the requestor does not delete it. I think in an ideal world, a PR would simply contain the line:
Anything else?
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions