-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
docs: add GitHub issue template #33164
Conversation
Adding an [`issue template`](ISSUE_TEMPLATE.md) will encourage that everyone, even a novice, reports issues in the most informative manner. This solution is harder to miss than a section in [`CONTRIBUTING.md`](CONTRIBUTING.md) alone. For experienced Rustaceans, it's easy to disregard/overwrite the template, which is mostly comment, and a good reminder of some points everyone can forget in a hurry. content: word more precisely what information to report
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @aturon (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Previous attempt: #31732 |
Yes, we decided collectively to reject this before, and not much has changed since then. So I will give this a close. Thank you though! |
Reading back that thread, I do not recognize how you summarize it @steveklabnik, i.e. that you collectively rejected this. @tyre, @shepmaster, @bstrie were all in favor and gave good motivations for that. You and others were on the fence. Only @nagisa was against, thinking it would force issue filers to do something. Yet is very clear in this template that everything is optional. Why would it be difficult to clear a text box in the uncommon case you're not reporting an issue that is covered by the template? If that's objectionable, what about creating a simplistic generic template (e.g., the |
I will re-open it if you feel that way, and we'll see.
I don't think it's a waste of my time, and I also don't think it's a waste of other people's times. In the end, if we need more info, then we ask for it; this isn't just for new bug filers. Furthermore, not all issues have the same template... so that's tough. Furthermore, we don't really have a problem with people posting bugs that don't have enough information. It does happen from time to time, but it's not something that happens particularly frequently enough to be an actual problem.
It's not really that many. We have a lot of stuff going on in this repo, including things like tracking issues, documentation, etc... for a project of this size, it's really not much. Firefox has 22,000 bugs open right now, for example. |
|
||
## Backtrace | ||
<!--- | ||
Finally, if you haven't shared it yet, reproduce the issue with your minimal example code and share the backtrace you obtained. |
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.
haven't shared it yet
What’s the “it” here?
This also should mention, that the section is optional and only relevant for compiler crashes.
I guess I’m not as opposed to a template as I was previously (even after having seen something as outrageous as ycm’s one), but I still find the template overly big (it took me a minute to read it all!). I think being more concise and formal would be better. I like the first paragraph, but the rest of the template then goes on to state the demands instead of providing options. E.g. the code sample template could be like this:
|
If the template is added, I'd prefer it to live in a |
@steveklabnik: |
@nagisa, @arielb1: @caipre: I disagree with you there. Though |
@sanmai-NL, I'm not saying that issue templates are bad for every project. And, that blog post wasn't about my personal projects; it was about Rails, one of the largest Ruby projects in existence. To sort of re-iterate my position here: It's not clear to me what the motivation actually is. We don't have a problem of people filing far too many bugs with bad information. I read every single issue and comment on this issue tracker, and it's not a problem, in my opinion, that we share. Can anyone produce a list of bugs which this template would have fixed, and in enough volume to justify adding a template for them? Furthermore, we use the issue tracker for so many things that having a template can make filing certain kinds of bugs worse. For example, "these docs could be better" bugs don't really have "steps to reproduce." I'm not sure that we can make a template that fits all of the use cases but also doesn't introduce a bunch of junk that you have to delete based on what kind of bug you're filing. |
@steveklabnik: I didn't say that that blog post is about your personal projects, did I? Do I misunderstand you? Making a list of suboptimally handled issues would be good indeed, but I'd first like to discuss this PR a bit further. In case you do not believe in it at all anymore, it may be hard to convince me or others to invest time in thoroughly supporting the PR with data. Another thing: early adopters may be better issue reporters. So past data will have limited forecasting representativity. The tradeoff is essentially this: APresent issue reporters an empty issue text box. When they do not have a documentation issue, they go to BPresent issue reporters a generic issue template, mostly in the form of unrendered comments, in the issue text box. Insofar they do not need it, they remove it. Insofar they do, they fill in the details. When completely irrelevant, they e.g. press Ctrl-A Del. They are always reminded to check for existing issues and welcomed to report their issue, since that is in the top few lines. I think approach A, the current approach, will overall cost issue reporters more time in the long term, and will generally please them less. In my view, based on the responses by others in this thread it's key to keep the issue template minimal, which is a slightly different approach than in the commits at present. The template would then refer to |
Maybe I just misunderstood you. No worries :)
I mean, I'm just active on this thread; maybe other committers believe differently than I do. |
As others have stated in your previous PR (I'm being lazy and not citing them again), your opinion is crucial and I'd say final. Besides formally deciding, you also handle most issues and are in charge of documentation. Your experience is also worth more than my theory and common sense. This is why I'm slightly hesistant to spend much more time and words on this relatively minor PR if there's a fundamentally different perception. |
contents: remove overly detailed structure from issue template. contents: clarify what to report about specific types of issues.
@nagisa @steveklabnik |
@sanmai-NL I have been wanting to bring this up at a core team meeting, but we didn't get to it last week. Sorry about the delay here. |
ping @steveklabnik I've noticed quite a few incomplete compiler bug reports recently. Have been trying to help out there, but merging this PR soon will hopefully address this more effectively. |
@aturon was supposed to be leaving a comment; we talked about it at the core team meeting last week. On May 30, 2016, 14:31 -0400, Sander Maijersnotifications@github.com, wrote:
|
Hey -- apologies for the very overdue response. As @steveklabnik says, the core team discussed this in a meeting a few weeks back. I'll try to summarize the key points here:
Thus, on the whole, our sense was that a template may well do more harm than good. Of course, it's really hard to know for sure! @sanmai-NL, you say you've seen a lot of recent examples of issues that would've been improved with a template. It'd be great to collect some of those examples so that we can discuss in more concrete terms. |
@aturon: Just to reaffirm your perspective, have you looked again at the current issue template? It's only a few lines now, far from imposing. A lot of the guidance is now given in the contribution guidelines. And that part is now plain and uncontroversial improvements, I think.
That argument is not far-fetched indeed, IMO. Why would users perceive a nice, helpful, easy to wipe out, optional template as more intimidating than staring into blankness? What about students, very young people, people with limited command of English, etc.? It's very easy to provide examples of ‘poorly filed’ issues (not dissing anyone). Now, I'm not spending a whole lot of time or going to argue anything subjective, so I'm limiting myself here to a simple audit of whether sufficient versioning info ( Table 1
An ‘error rate’ of 10/13 based on a random sample at one recent moment. edit: removed one irrelevant sentence about Rust itself. |
@sanmai-NL FWIW, I'm not personally opposed to a template; was just trying to summarize the tradeoffs raised by the core team. I agree that having more version info would be helpful. In practice, I think what often happens is that one of the core developers attempts to reproduce, and then logs the precise version information of the reproduction. That works reasonably well -- that's basically the first step anyone does to diagnose anyway -- but fails in the case that the bug can't be reproduced and the original filer has disappeared. As far as I can tell, the currently proposed template wouldn't really address the problems you're pointing out in the sample -- it doesn't talk about version information, for example. Most of the instructions it gives are pretty obvious (e.g., check for an existing issue first, or try to be clear/concise). |
Closing due to inactivity, but feel free to resubmit though! |
Adding an
issue template
will encourage that everyone, even a novice, reports issues in the most informative manner. This solution is harder to miss than a section inCONTRIBUTING.md
alone. For experienced Rustaceans, it's easy to disregard/overwrite the template, which is mostly commented out, and a good reminder of some points everyone can forget in a hurry.Also, word more precisely what information to report