-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Improve pull_request_template.md #22888
Improve pull_request_template.md #22888
Conversation
I don't really like that |
Why not? If contributors don't like it, they don't have to use it, and they can still write things in the first comment. If mergers don't like it, it's probably because it requires them to merge more carefully. And that is indeed my evil plan!😂 Just kidding, I'll update it to "the first comment" if most people don't like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you do keep the ---
change (which, again, I am against). You'll have to make changes in at least one other place,
Line 266 in 7b5b739
with the rest of the summary matching the original PR. Similarly for frontports |
The backports today take the original PR's summary
I haven't thought about it, because I always send backports like I don't know, maybe I'm not doing it the usual way. Whatever, if it turns out that the merger needs to be more careful, I'm fine with that. Even without Maybe we can have a robot to send backport PRs automatically, and it's easy to recognize |
When I did it I followed these instructions so when I create the PR I literally concatenate them: |
You are right to follow the instructions, however, if the merger has adjusted the commit message and your awesome backporter uses the BTW, could you please add a delay to backporter? I mean just help sending backports only for PRs which have been forgotten for maybe 24 hours, to avoid conflicts. Never mind if you already did.😄 |
I agree with the "---" separator, or anything similar to help to distinguish commit-message and none-commit-message. It just helps the mergers to know which part is important while which part is not. Mergers should always pay attention to the merge messages, and improve the message manually if necessary, instead of just clicking "Merge" without any check. Clicking "merge" without any check is the easiest work without any requirement, mergers should do far more than that. I have said many times in discord channel that the commit message was polluted, but various unrelated messages still go into git history. |
No problem, I'll change my code to match whatever behavior is written in Thanks for calling my backporter awesome! |
TBH, I don't really know how to update |
* upstream/main: (23 commits) add margin top to the top of branches (go-gitea#23002) Add me to maintainers (go-gitea#23026) Render access log template as text instead of HTML (go-gitea#23013) Use `gt-relative` class instead of the ambiguous `gt-pr` class (go-gitea#23008) Fix intermittent panic in notify issue change content (go-gitea#23019) Improve pull_request_template.md (go-gitea#22888) Hide 2FA status from other members in organization members list (go-gitea#22999) handle deprecated settings (go-gitea#22992) Add scopes to API to create token and display them (go-gitea#22989) Remove unnecessary and incorrect `find('.menu').toggle()` (go-gitea#22987) Improve issues.LoadProject (go-gitea#22982) Add 1.18.4 changelog (go-gitea#22991) (go-gitea#22995) Fix pull request branch selector visible without clicking Edit (go-gitea#23012) Bump golang.org/x/net from 0.4.0 to 0.7.0 (go-gitea#22980) Fix panic when call api (/repos/{owner}/{repo}/pulls/{index}/files) (go-gitea#22921) only trigger docs build and publish when docs changed (go-gitea#22968) Get rules by id when editing branch protection rule (go-gitea#22932) Fix hidden commit status on multiple checks (go-gitea#22889) Add me to maintainers (go-gitea#22998) Add all units to the units permission list in org team members sidebar (go-gitea#22971) ...
Again, why I think the first comment is better than |
Update
pull_request_template.md
because:git log | grep 'Please check the following:'
. So don't hide it, expose it and help fix it.Close #xxxx Because ... Then ... Finally ... --- Hello, this is my first time opening a pull request. Sorry for any mistakes.
And the merger should be careful, check and delete the extra content before merging.