diff options
author | Sean Liao <seankhliao@gmail.com> | 2021-11-23 20:52:07 +0100 |
---|---|---|
committer | Dmitri Shuralyov <dmitshur@golang.org> | 2021-12-03 18:27:20 +0000 |
commit | c4a8550421ce16f233b48a85dc5dd04b16469b7f (patch) | |
tree | 5e5a2c30662074ac2fe61790bc24acc00db2acc1 /.github | |
parent | deb988a2866ce541058d8af3844912d1a638980b (diff) | |
download | go-c4a8550421ce16f233b48a85dc5dd04b16469b7f.tar.gz go-c4a8550421ce16f233b48a85dc5dd04b16469b7f.zip |
.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 <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to '.github')
-rw-r--r-- | .github/ISSUE_TEMPLATE/00-bug.md (renamed from .github/ISSUE_TEMPLATE) | 11 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/01-pkgsite.md | 47 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/02-pkgsite-removal.md | 39 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/03-gopls.md | 61 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/10-proposal.md | 13 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/11-language-change.md | 52 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/config.yml | 8 |
7 files changed, 229 insertions, 2 deletions
diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE/00-bug.md index 5cbfc09fe7..f056dab7dd 100644 --- a/.github/ISSUE_TEMPLATE +++ b/.github/ISSUE_TEMPLATE/00-bug.md @@ -1,6 +1,11 @@ +--- +name: Bugs +about: The go command, standard library, or anything else +title: "affected/package: " +--- + <!-- Please answer these questions before submitting your issue. Thanks! -For questions please use one of our forums: https://github.com/golang/go/wiki/Questions --> ### What version of Go are you using (`go version`)? @@ -26,7 +31,7 @@ $ go env <!-- If possible, provide a recipe for reproducing the error. A complete runnable program is good. -A link on play.golang.org is best. +A link on go.dev/play is best. --> @@ -36,3 +41,5 @@ A link on play.golang.org is best. ### 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 +--- + +<!-- +Please answer these questions before submitting your issue. Thanks! +--> + +### What is the URL of the page with the issue? + + + +### What is your user agent? + +<!-- +You can find your user agent here: +https://www.google.com/search?q=what+is+my+user+agent +--> + + + +### Screenshot + +<!-- +Please paste a screenshot of the page. +--> + + + +### What did you do? + +<!-- +If possible, provide a recipe for reproducing the error. +--> + + + +### 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 +--- + +<!-- +Please answer these questions before submitting your issue. Thanks! +--> + +### What is the path of the package that you would like to have removed? + +<!--- +We can remove packages with a shared path prefix. +For example, a request for "github.com/author" would remove all pkg.go.dev pages with that package path prefix. +---> + + + +### Are you the owner of this package? + +<!--- +Only the package owners can request to have their packages removed from pkg.go.dev. +---> + + + +### What is the reason that you could not retract this package instead? + +<!--- +If you would like to have your module removed from pkg.go.dev, we recommend that you retract them, so that they can be removed from the go command and proxy.golang.org as well. + +Retracting a module version involves adding a retract directive to your go.mod file and publishing a new version. For example: https://github.com/jba/retract-demo/blob/main/go.mod#L5-L8 + +See https://pkg.go.dev/about#removing-a-package for additional tips on retractions. +---> + + 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 +--- + +<!-- +Please answer these questions before submitting your issue. Thanks! +--> + +### gopls version + +<!-- +Output of `gopls -v version` on the command line +--> + + + +### go env + +<!-- +Output of `go env` on the command line in your workspace directory +--> + + +### What did you do? + +<!-- +If possible, provide a recipe for reproducing the error. +A complete runnable program is good. +A link on go.dev/play is better. +A failing unit test is the best. +--> + + + +### What did you expect to see? + + + +### What did you see instead? + + + +### Editor and settings + +<!-- +Your editor and any settings you have configured (for example, your VSCode settings.json file) +--> + + + +### Logs + +<!-- +If possible please include gopls logs. Instructions for capturing them can be found here: +https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md#capture-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 +--- + +<!-- +Our proposal process is documented here: +https://go.dev/s/proposal-process +--> + + 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 +--- + +<!-- +Our process for evaluating language changes can be found here: +https://go.googlesource.com/proposal/+/refs/heads/master#language-changes +--> + +### 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 |