From c4a8550421ce16f233b48a85dc5dd04b16469b7f Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Tue, 23 Nov 2021 20:52:07 +0100 Subject: .github: use multiple issue templates There are currently multiple issue templates floating around for different projects, these can sometimes be hard to find. Fixes #29839 Change-Id: I6600b6f78842736d81d35e6a64247d00706d9e0e Reviewed-on: https://go-review.googlesource.com/c/go/+/366736 Trust: Russ Cox Reviewed-by: Dmitri Shuralyov Run-TryBot: Dmitri Shuralyov TryBot-Result: Gopher Robot --- .github/ISSUE_TEMPLATE | 38 ----------------- .github/ISSUE_TEMPLATE/00-bug.md | 45 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/01-pkgsite.md | 47 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/02-pkgsite-removal.md | 39 ++++++++++++++++++ .github/ISSUE_TEMPLATE/03-gopls.md | 61 ++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/10-proposal.md | 13 ++++++ .github/ISSUE_TEMPLATE/11-language-change.md | 52 ++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++++ 8 files changed, 265 insertions(+), 38 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE create mode 100644 .github/ISSUE_TEMPLATE/00-bug.md create mode 100644 .github/ISSUE_TEMPLATE/01-pkgsite.md create mode 100644 .github/ISSUE_TEMPLATE/02-pkgsite-removal.md create mode 100644 .github/ISSUE_TEMPLATE/03-gopls.md create mode 100644 .github/ISSUE_TEMPLATE/10-proposal.md create mode 100644 .github/ISSUE_TEMPLATE/11-language-change.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml (limited to '.github') diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE deleted file mode 100644 index 5cbfc09fe7..0000000000 --- a/.github/ISSUE_TEMPLATE +++ /dev/null @@ -1,38 +0,0 @@ - - -### What version of Go are you using (`go version`)? - -
-$ go version
-
-
- -### Does this issue reproduce with the latest release? - - - -### What operating system and processor architecture are you using (`go env`)? - -
go env Output
-$ go env
-
-
- -### What did you do? - - - - - -### What did you expect to see? - - - -### What did you see instead? diff --git a/.github/ISSUE_TEMPLATE/00-bug.md b/.github/ISSUE_TEMPLATE/00-bug.md new file mode 100644 index 0000000000..f056dab7dd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/00-bug.md @@ -0,0 +1,45 @@ +--- +name: Bugs +about: The go command, standard library, or anything else +title: "affected/package: " +--- + + + +### What version of Go are you using (`go version`)? + +
+$ go version
+
+
+ +### Does this issue reproduce with the latest release? + + + +### What operating system and processor architecture are you using (`go env`)? + +
go env Output
+$ go env
+
+
+ +### What did you do? + + + + + +### What did you expect to see? + + + +### What did you see instead? + + diff --git a/.github/ISSUE_TEMPLATE/01-pkgsite.md b/.github/ISSUE_TEMPLATE/01-pkgsite.md new file mode 100644 index 0000000000..fee00f5b27 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01-pkgsite.md @@ -0,0 +1,47 @@ +--- +name: Pkg.go.dev bugs or feature requests +about: Issues or feature requests for the documentation site +title: "x/pkgsite: " +labels: pkgsite +--- + + + +### What is the URL of the page with the issue? + + + +### What is your user agent? + + + + + +### Screenshot + + + + + +### What did you do? + + + + + +### What did you expect to see? + + + +### What did you see instead? + + diff --git a/.github/ISSUE_TEMPLATE/02-pkgsite-removal.md b/.github/ISSUE_TEMPLATE/02-pkgsite-removal.md new file mode 100644 index 0000000000..5c1eb94be6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02-pkgsite-removal.md @@ -0,0 +1,39 @@ +--- +name: Pkg.go.dev package removal request +about: Request a package be removed from the documentation site (pkg.go.dev) +title: "x/pkgsite: package removal request for [type path here]" +labels: pkgsite +--- + + + +### What is the path of the package that you would like to have removed? + + + + + +### Are you the owner of this package? + + + + + +### What is the reason that you could not retract this package instead? + + + + diff --git a/.github/ISSUE_TEMPLATE/03-gopls.md b/.github/ISSUE_TEMPLATE/03-gopls.md new file mode 100644 index 0000000000..c4934c3898 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/03-gopls.md @@ -0,0 +1,61 @@ +--- +name: Gopls bugs or feature requests +about: Issues or feature requests for the Go language server (gopls) +title: "x/tools/gopls: " +labels: gopls Tools +--- + + + +### gopls version + + + + + +### go env + + + + +### What did you do? + + + + + +### What did you expect to see? + + + +### What did you see instead? + + + +### Editor and settings + + + + + +### Logs + + + + diff --git a/.github/ISSUE_TEMPLATE/10-proposal.md b/.github/ISSUE_TEMPLATE/10-proposal.md new file mode 100644 index 0000000000..ab30ddf417 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/10-proposal.md @@ -0,0 +1,13 @@ +--- +name: Proposals +about: New external API or other notable changes +title: "proposal: affected/package: " +labels: Proposal +--- + + + + diff --git a/.github/ISSUE_TEMPLATE/11-language-change.md b/.github/ISSUE_TEMPLATE/11-language-change.md new file mode 100644 index 0000000000..2032301327 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/11-language-change.md @@ -0,0 +1,52 @@ +--- +name: Language Change Proposals +about: Changes to the language +title: "proposal: Go 2: " +labels: Proposal Go2 LanguageChange +--- + + + +### Author background + +- **Would you consider yourself a novice, intermediate, or experienced Go programmer?** +- **What other languages do you have experience with?** + +### Related proposals + +- **Has this idea, or one like it, been proposed before?** + - **If so, how does this proposal differ?** +- **Does this affect error handling?** + - **If so, how does this differ from previous error handling proposals?** +- **Is this about generics?** + - **If so, how does this relate to the accepted design and other generics proposals?** + +### Proposal + +- **What is the proposed change?** +- **Who does this proposal help, and why?** +- **Please describe as precisely as possible the change to the language.** +- **What would change in the language spec?** +- **Please also describe the change informally, as in a class teaching Go.** +- **Is this change backward compatible?** + - Breaking the Go 1 compatibility guarantee is a large cost and requires a large benefit. + Show example code before and after the change. + - **Before** + - **After** +- **Orthogonality: how does this change interact or overlap with existing features?** +- **Is the goal of this change a performance improvement?** + - **If so, what quantifiable improvement should we expect?** + - **How would we measure it?** + +### Costs + +- **Would this change make Go easier or harder to learn, and why?** +- **What is the cost of this proposal? (Every language change has a cost).** +- **How many tools (such as vet, gopls, gofmt, goimports, etc.) would be affected?** +- **What is the compile time cost?** +- **What is the run time cost?** +- **Can you describe a possible implementation?** +- **Do you have a prototype? (This is not required.)** diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..ddf5fc6833 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Questions + about: Please use one of the forums for questions or general discussions + url: https://go.dev/wiki/Questions + - name: Security Vulnerabilities + about: See here for our security policy + url: https://go.dev/security -- cgit v1.2.3-54-g00ecf