cisagov / .github

Default community health files for cisagov
Creative Commons Zero v1.0 Universal
6 stars 11 forks source link

Consolidate and simplify issue templates #5

Closed hillaryj closed 3 years ago

hillaryj commented 3 years ago

🚀 Feature Proposal

The issue templates we currently have are too specific to purposes that don't generally fit our usage. Let's simplify our issue templates down to:

Motivation

We're working on filing more issues for smaller tasks of work. To do this, let's make the issue process less cumbersome.

Plus, we want folks to file issues when they experience problems, and our Question template tells them to email us.

Example

Refer to templates from cloud.gov for examples:

mcdonnnj commented 3 years ago

I think there is value in keeping a "Bug Report" issue template. I'd like to lock out blank issues to encourage outside contributors (and internal contributors) from avoiding the templates. The "Question" and "Regression Report" templates are never used, and the "Feature Proposal" template is definitely too narrow in scope.

jsf9k commented 3 years ago

Some thoughts I had:

mcdonnnj commented 3 years ago

I think it would be helpful to add a QUESTIONS.md or similar to the root of this repository which has links to common repos/topics etc. Then we can link it in the configuration for the Issue Chooser instead.

hillaryj commented 3 years ago

To add a bit from discussion on the PR: the new config.yml could be used to link directly to the Discussions or Wiki tabs instead of .github's QUESTIONS.md. However, even a relative link unfortunately has drawbacks in repositories that don't have an associated Discussions or Wiki tab; so, we are linking to QUESTIONS.md to give people looking for help a starting point.

In repositories with Discussions or Wiki, we can override the config.yml defaults to link directly to that repository's resources.

mcdonnnj commented 3 years ago

If we override config.yml, we have to manually include everything. The existence of anything in ISSUE_TEMPLATE breaks inheritance of these defaults. Please see https://github.com/cisagov/cyhy_amis/pull/300, where I had to manually add these default templates because we added a project specific issue template.

jsf9k commented 3 years ago

However, even a relative link unfortunately has drawbacks in repositories that don't have an associated Discussions or Wiki tab; so, we are linking to QUESTIONS.md to give people looking for help a starting point.

In repositories with Discussions or Wiki, we can override the config.yml defaults to link directly to that repository's resources.

We could write some language that says "look at the Discussions page (if it exists), the Wiki page (if it exists), or at QUESTIONS.md" with appropriate links. Some links will be broken, but they will be project-specific. I think with nicely-crafted language we could include the best of both worlds (relative links and QUESTIONS.md).

Just a thought. I'm not too concerned about this point, although I hate the idea of having to copy over all the templates just to change one little blurb. If the templates change upstream then the local ones will not be updated.

hillaryj commented 3 years ago

So, the status in looking further is that:

So, until and unless GitHub supports relative links in the config.yml file, the consolidated QUESTIONS.md is our best bet and I'll close this issue.

If anyone wants to update language in that file, feel free to submit a PR.