openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

First take at creating a GitHub issue template

Open hamoid opened this issue 8 years ago • 21 comments

hamoid avatar Jun 08 '17 09:06 hamoid

That's really nice, i think there's a way to show this as a message for people sending issues for the first time, i'll take a look when i have a moment

arturoc avatar Jun 08 '17 10:06 arturoc

https://github.com/blog/2111-issue-and-pull-request-templates

I think it would be automatically shown in the text box when clicking "new issue", for everyone. You can, as a user, delete the predefined text and type whatever you want.

Is that what you meant? Or you mean there's a way to only show it once?

hamoid avatar Jun 08 '17 10:06 hamoid

It's also possible to create a template for pull requests, but I have no experience with what's a good template. Anything you want people to write in a pull request? Some kind of reminder?

hamoid avatar Jun 08 '17 10:06 hamoid

Hey there, I just took a first pass at some edits additions. The main goal of my additions was to differentiate between "questions" (which go to forum) and "issues" which are documented and (hopefully) reproducible.

bakercp avatar Jun 14 '17 15:06 bakercp

Hi @bakercp ! where are your edits visible?

hamoid avatar Jun 15 '17 21:06 hamoid

I just put them in the review comments ...

bakercp avatar Jun 15 '17 21:06 bakercp

I don't know where to click to see the comments. Are they only visible to members of the OF organization?

hamoid avatar Jun 15 '17 21:06 hamoid

Oh. Apparently you have to press "Submit Review" ... can you see it now?

bakercp avatar Jun 15 '17 22:06 bakercp

I see it now, thanks! I'll add my comments soon.

hamoid avatar Jun 15 '17 22:06 hamoid

Hey, what do you think of this check-box approach? Too much?

https://github.com/pi-hole/pi-hole/blob/master/.github/ISSUE_TEMPLATE.md

bakercp avatar Jun 28 '17 18:06 bakercp

That one in particular reminds me a bit of government forms, a bit too serious :) But the checkboxes may be useful.

I'll first push some changes following your comments, and lets continue from there.

hamoid avatar Jun 29 '17 09:06 hamoid

Another topic: should it be mention that it's not just issues vs questions, but issues in the openFrameworks code (or documentation) vs issues in your own code?

hamoid avatar Jun 29 '17 09:06 hamoid

Some template examples: https://github.com/stevemao/github-issue-templates

hamoid avatar Jun 29 '17 09:06 hamoid

This is looking great but isn't it a bit too long if it's what everyone is going to see when submitting an issue? i don't think the explanation of issue vs question belongs here so tbh i prefer your first version or something more concise even.

@bakercp what do you think?

arturoc avatar Jul 04 '17 12:07 arturoc

Minimal is fine. I agree, it's a lot of text in its current form, so I'd say we should refactor some of the more instructive / pedagogical bits into a refined contributing document. My main goals are to get a good report the first time, rather than having long back-and-forth conversations trying extract information from people. So the basics would just include ...

  • Help people figure out if they should post here or on the forum (question vs. issue). -- This could be a single sentence with a link more text / examples in the contributing readme.
  • Get info on hardware / software versions.
  • Get expected vs. actual results (with images if relevant)
  • Get a minimal example / steps to reproduce (with code fences!)

bakercp avatar Jul 05 '17 19:07 bakercp

I don't think the explanation of question/issue belongs in a template really, this is something that will appear for everyone when filling an issue so it should be really straightforward to just fill in. And it shouldn't get in the way, you shouldn't have to remove anything except perhaps to replace it i think.

Having to delete that bit even if it's just one sentence every time you open an issue can get annoying i think

Also if people see the rest of the template (hardware, description of the issue, minimal example...) i think most people will understand that it's referring to an issue and not a question

I really prefer to point to the forum and close a couple of questions every year (i don't think the frequency right now is much higher than that) than having to delete parts of the template every time i open an issue

arturoc avatar Jul 05 '17 22:07 arturoc

I also feel it's too much information to read. We could add a simple "If this is your first issue, please read this before continuing" at the top (with a link to a separate document).

This way we can keep it short, and put the details and explanations in the wiki. Would that work better?

hamoid avatar Jul 08 '17 10:07 hamoid

That sounds like the right approach.

On Sat, Jul 8, 2017, 5:19 AM Abe Pazos [email protected] wrote:

I also feel it's too much information to read. We could add a simple "If this is your first issue, please read this before continuing" at the top.

This way we can keep it short, and put the details and explanations in the wiki. Would that work better?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/openframeworks/openFrameworks/pull/5652#issuecomment-313847411, or mute the thread https://github.com/notifications/unsubscribe-auth/AASVxJJ4GOM5FbuOob7oxdNT0-99CiH7ks5sL1e9gaJpZM4Nz1ee .

bakercp avatar Jul 08 '17 18:07 bakercp

Should I add Getting help with OpenFrameworks at the top of the wiki ? Alternatives names:

  • Asking for help
  • Asking for help: forum vs issues
  • How to ask for help
  • I need help with OpenFrameworks
  • ...

I'll move text out from .github/ISSUE_TEMPLATE.md into that wiki page, which will explain when to use the forum and when to post issues, and how to post a useful issue.

At the top of the template I'll write:

Read https://github.com/openframeworks/openFrameworks/wiki/asking-for-help before posting your first OpenFrameworks issue

How does that sound like?

hamoid avatar Jan 08 '18 11:01 hamoid

Now it's possible to create multiple templates for different kinds of issues: https://blog.github.com/2018-05-02-issue-template-improvements/

hamoid avatar May 03 '18 08:05 hamoid

My favorite template is the blank one, but maybe a really basic template would have

platform and OS version:
OF version:

dimitre avatar May 20 '22 21:05 dimitre