Repository navigation
github: Switch to yaml issue templates - #27025
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
7a3b1ba to
2023697
Compare
|
Concept ACK |
2023697 to
b1f20ba
Compare
6d67ee2 to
b18032c
Compare
|
What are the next steps here? Undraft? |
|
concept ACK great work! I can't think of anything to add or change |
|
I suppose one other question is whether having more/mandatory questions will put people off submitting issues, although as mentioned in OP there is still the "blank issue" option available (in small writing) at the bottom of the issues page... |
If people can't be bothered to supply what we think is the minimum required information, then we will likely be unable to debug anything anyways. However, sometimes (fixable/informative) issues do come in the form of a randonly pasted debug log or similar. So if there is still an option for someone to dump something, I think this is ok. @achow101 @glozow @MarcoFalke @hebasto any thoughts here? |
It would also be possible to add a new |
b18032c to
5527f74
Compare
achow101
left a comment
There was a problem hiding this comment.
Concept ACK
It would also be possible to add a new
BLANKissue template so that the blank issue template gets a big green button like the others (rather than needing to click the small hyperlink at the bottom), but IMO this would slightly defeat the point of requiring more info.
I think the link at the bottom is fine. The people who would use it can probably figure it out.
There was a problem hiding this comment.
There's already a big green button for the security policy, so I don't think we need to add a second one manually.
There was a problem hiding this comment.
This config option enables the Bitcoin Core Security Policy row with the Open button which links to our SECURITY.md. The Report a security vulnerability row, with the big green Report a vulnerability button seems to be a GitHub default (which I don't know how to disable).
My preference would be to keep both, as otherwise the link to SECURITY.md via the Report a vulnerability button is from a small right menu item:
There was a problem hiding this comment.
It looks like it's different depending on your repo permissions.
For me, the big green button says "View Policy" and clicking on it goes to https://github.com/willcl-ark/bitcoin/security/policy. For a repo I own/admin/maintain, it shows the page similar to the one in your screenshot.
There was a problem hiding this comment.
Looks like this wasn't addressed?
There was a problem hiding this comment.
Hmmm, for me as a non admin this repo now looks like:
The green View Policy button takes me to a page which includes "Policy" and "Advisories", defaulting to showing the security policy SECURITY.md.
The row below that, "Bitcoin Core Security Policy" with the non-green Open button links me straight to SECURITY.md, which I agree is in theory somewhat redundant. If there is a preference to remove the second row, "Bitcoin Core Security Policy" direct link, then we could do that?
There was a problem hiding this comment.
If there is a duplicate entry, at least it could be moved to the first position, as some people seem to miss it?
There was a problem hiding this comment.
@MarcoFalke so it seems that it is not possible to move this particular entry (nor the bottom two) to the top... Apparently we can re-order our custom templates by changing the filenames to 01_xxx, 02_xxx etc., but the two bottom entries, and the security report are just part of the GitHub UI :(
There is a GitHub beta setting to enable the Report a Vulnerability big green button for all users (changing it from a duplicate View Policy big green button), as I've done now for my fork, and can be seen below:
But I don't think this is what we want as I think it will subvert the [email protected] email that we want...
glozow
left a comment
There was a problem hiding this comment.
Concept ACK, I think this is an improvement and have no major issues with it.
These provide more flexibility and can be designed to extract more information from users when submitting issues.
5527f74 to
3fa1185
Compare
|
Thanks for the comments. I have incorporated the changes into 3fa1185 which is also live on my fork. |
|
Concept ACK. |
|
ACK 3fa1185 |



The new YAML templates provide more flexibility and can be designed to extract more information from users when submitting issues, avoiding initial back-and-forth when reports do not include enough background information to begin with.
Key differences:
This does keep the "Blank Issue" option at the bottom.
Testing this must be done with the master branch of the repo, which is slightly annoying for this repo. I have therefore pushed this to my own fork so that you can see the new templates, along with how the output is rendered in newly-created issues:
github.com/willcl-ark/bitcoin/issues
I did make some minor changes to some of the template wording, but this change could also be a good time to add/remove additional questions.
This seems like a net-positive for me, setting aside the issue that if we ever migrated away from GitHub these might have to be ported back to *.md (or something else), but that seems easy-enough that this change would be worth it.
Curious to know what others think of this, and whether they would suggest adding any other questions to any of the templates as part of this update?