Skip to content
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

Use pip's Issue Template design to guide users towards the right forum #1452

Closed
matthewfeickert opened this issue May 13, 2021 · 13 comments · Fixed by #1576
Closed

Use pip's Issue Template design to guide users towards the right forum #1452

matthewfeickert opened this issue May 13, 2021 · 13 comments · Fixed by #1576
Assignees
Labels
docs Documentation related good first issue Good for newcomers

Comments

@matthewfeickert
Copy link
Member

Description

TIL that pip has a super nice Issue template page

pip_Issue_templates

that uses a .github/ISSUE_TEMPLATE/config.yml file to add the ability to have additional buttons (here Discourse and IRC) to guide user's reporting.

This seems like a great idea that we should encorperate as well. It would seem to also be useful for basically all of the Scikit-HEP projects, especially those with Gitter channels. cc @eduardo-rodrigues @jpivarski @henryiii

@matthewfeickert matthewfeickert added good first issue Good for newcomers docs Documentation related labels May 13, 2021
@matthewfeickert matthewfeickert self-assigned this May 13, 2021
@matthewfeickert
Copy link
Member Author

matthewfeickert commented May 13, 2021

Also to the surprise of no one, this was added in to pip by our helpful friend @webknjaz. :) pypa/pip#7630

@jpivarski
Copy link
Member

I agree:

image

@henryiii
Copy link
Member

henryiii commented May 13, 2021

Hist (mostly courtesy of @LovelyBuggies):
Screen Shot 2021-05-13 at 2 04 33 PM

boost-histogram:
Screen Shot 2021-05-13 at 2 04 09 PM

@matthewfeickert
Copy link
Member Author

@jpivarski @henryiii 🤣 Seems I'm behind the curve. Great that you're already both doing this! :)

@webknjaz
Copy link
Contributor

You may also be interested in issue forms as demoed here https://github.com/ansible/ansible/issues/new/choose (needs a feature flag tho).

P.S. You know that you can have an org-wide fallback in special repo ORG/.github, right?

@henryiii
Copy link
Member

Oooh, now that I didn't know. What sorts of things can go in it? Does it just get merged with the .github folder? Can't easily find examples of one.

@webknjaz
Copy link
Contributor

Dirs are merged but not files, if a file exists in the repo, it's fallback is not used.

@henryiii
Copy link
Member

That's about what I'd expect. So I could add dependabot for everybody... 😈

We could provide a default "gitter" issue, maybe a default contributing, etc. It could even be a way to provide a default labeling bot via an action, perhaps?

@webknjaz
Copy link
Contributor

The support for non-gh-builtin things varies per GH App / bot tho. So it'll not always work.

@matthewfeickert
Copy link
Member Author

matthewfeickert commented Jul 10, 2021

c.f. scikit-hep/awkward#987 by @agoose77 for example of using YAML to create forms. 0_0! 🚀

The GitHub docs are here: Syntax for issue forms

@webknjaz
Copy link
Contributor

webknjaz commented Sep 2, 2021

@matthewfeickert not sure if you saw but FYI also check out how Pradyun attempts to direct people to discussions while only allowing bug creation after that: https://github.com/pradyunsg/furo/issues/new/choose.

@matthewfeickert
Copy link
Member Author

not sure if you saw but FYI also check out how Pradyun attempts to direct people to discussions while only allowing bug creation after that: https://github.com/pradyunsg/furo/issues/new/choose.

This is pretty clever! I'll have to look more at how this is being used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants