1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:54:40 -07:00

normalize style of .github issue template yaml files

This commit is contained in:
Luis Antonio Obis Aparicio 2024-08-29 22:44:49 +02:00
parent 170ebcc961
commit 4d6cd1e76c
No known key found for this signature in database
GPG Key ID: C54E6140D8902563
9 changed files with 43 additions and 46 deletions

View File

@ -3,7 +3,6 @@
name: Bugs name: Bugs
description: The go command, standard library, or anything else description: The go command, standard library, or anything else
title: "import/path: issue title" title: "import/path: issue title"
body: body:
- type: markdown - type: markdown
attributes: attributes:
@ -72,15 +71,15 @@ body:
- type: textarea - type: textarea
id: what-did-you-do id: what-did-you-do
attributes: attributes:
label: "What did you do?" label: What did you do?
description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best." description: If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best.
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: actual-behavior id: actual-behavior
attributes: attributes:
label: "What did you see happen?" label: What did you see happen?
description: Command invocations and their associated output, functions with their arguments and return results, full stacktraces for panics (upload a file if it is very long), etc. Prefer copying text output over using screenshots. description: Command invocations and their associated output, functions with their arguments and return results, full stacktraces for panics (upload a file if it is very long), etc. Prefer copying text output over using screenshots.
validations: validations:
required: true required: true
@ -88,7 +87,7 @@ body:
- type: textarea - type: textarea
id: expected-behavior id: expected-behavior
attributes: attributes:
label: "What did you expect to see?" label: What did you expect to see?
description: Why is the current output incorrect, and any additional context we may need to understand the issue. description: Why is the current output incorrect, and any additional context we may need to understand the issue.
validations: validations:
required: true required: true

View File

@ -1,47 +1,47 @@
name: Pkg.go.dev bugs or feature requests name: Pkg.go.dev bugs or feature requests
description: Issues or feature requests for the documentation site description: Issues or feature requests for the documentation site
title: "x/pkgsite: issue title" title: "x/pkgsite: issue title"
labels: ["pkgsite"] labels: [pkgsite]
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: "Please answer these questions before submitting your issue. Thanks!" value: Please answer these questions before submitting your issue. Thanks!
- type: input - type: input
id: url id: url
attributes: attributes:
label: "What is the URL of the page with the issue?" label: What is the URL of the page with the issue?
validations: validations:
required: true required: true
- type: input - type: input
id: user-agent id: user-agent
attributes: attributes:
label: "What is your user agent?" label: What is your user agent?
description: "You can find your user agent here: https://www.google.com/search?q=what+is+my+user+agent" description: "You can find your user agent here: https://www.google.com/search?q=what+is+my+user+agent"
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: screenshot id: screenshot
attributes: attributes:
label: "Screenshot" label: Screenshot
description: "Please paste a screenshot of the page." description: Please paste a screenshot of the page.
validations: validations:
required: false required: false
- type: textarea - type: textarea
id: what-did-you-do id: what-did-you-do
attributes: attributes:
label: "What did you do?" label: What did you do?
description: "If possible, provide a recipe for reproducing the error. Starting with a Private/Incognito tab/window may help rule out problematic browser extensions." description: If possible, provide a recipe for reproducing the error. Starting with a Private/Incognito tab/window may help rule out problematic browser extensions.
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: actual-behavior id: actual-behavior
attributes: attributes:
label: "What did you see happen?" label: What did you see happen?
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: expected-behavior id: expected-behavior
attributes: attributes:
label: "What did you expect to see?" label: What did you expect to see?
validations: validations:
required: true required: true

View File

@ -1,15 +1,15 @@
name: Pkg.go.dev package removal request name: Pkg.go.dev package removal request
description: Request a package be removed from the documentation site (pkg.go.dev) description: Request a package be removed from the documentation site (pkg.go.dev)
title: "x/pkgsite: package removal request for [type path here]" title: "x/pkgsite: package removal request for [type path here]"
labels: ["pkgsite/package-removal"] labels: [pkgsite/package-removal]
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: "Please answer these questions before submitting your issue. Thanks!" value: Please answer these questions before submitting your issue. Thanks!
- type: input - type: input
id: package-path id: package-path
attributes: attributes:
label: "What is the path of the package that you would like to have removed?" label: What is the path of the package that you would like to have removed?
description: | description: |
We can remove packages with a shared path prefix. 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. For example, a request for 'github.com/author' would remove all pkg.go.dev pages with that package path prefix.
@ -18,7 +18,7 @@ body:
- type: textarea - type: textarea
id: package-owner id: package-owner
attributes: attributes:
label: "Are you the owner of this package?" label: Are you the owner of this package?
description: | description: |
Only the package owners can request to have their packages removed from pkg.go.dev. Only the package owners can request to have their packages removed from pkg.go.dev.
If the package path doesn't include your github username, please provide some other form of proof of ownership. If the package path doesn't include your github username, please provide some other form of proof of ownership.
@ -27,7 +27,7 @@ body:
- type: textarea - type: textarea
id: retraction-reason id: retraction-reason
attributes: attributes:
label: "What is the reason that you could not retract this package instead?" label: What is the reason that you could not retract this package instead?
description: | description: |
Requesting we remove a module here only hides the generated documentation on pkg.go.dev. Requesting we remove a module here only hides the generated documentation on pkg.go.dev.
It does not affect the behaviour of proxy.golang.org or the go command. It does not affect the behaviour of proxy.golang.org or the go command.

View File

@ -1,56 +1,56 @@
name: Gopls bugs or feature requests name: Gopls bugs or feature requests
description: Issues or feature requests for the Go language server (gopls) description: Issues or feature requests for the Go language server (gopls)
title: "x/tools/gopls: issue title" title: "x/tools/gopls: issue title"
labels: ["gopls", "Tools"] labels: [gopls, Tools]
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: "Please answer these questions before submitting your issue. Thanks!" value: Please answer these questions before submitting your issue. Thanks!
- type: textarea - type: textarea
id: gopls-version id: gopls-version
attributes: attributes:
label: "gopls version" label: gopls version
description: "Output of `gopls -v version` on the command line" description: Output of `gopls -v version` on the command line
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: go-env id: go-env
attributes: attributes:
label: "go env" label: go env
description: "Output of `go env` on the command line in your workspace directory" description: Output of `go env` on the command line in your workspace directory
render: shell render: shell
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: what-did-you-do id: what-did-you-do
attributes: attributes:
label: "What did you do?" label: What did you do?
description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best." description: If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best.
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: actual-behavior id: actual-behavior
attributes: attributes:
label: "What did you see happen?" label: What did you see happen?
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: expected-behavior id: expected-behavior
attributes: attributes:
label: "What did you expect to see?" label: What did you expect to see?
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: editor-and-settings id: editor-and-settings
attributes: attributes:
label: "Editor and settings" label: Editor and settings
description: "Your editor and any settings you have configured (for example, your VSCode settings.json file)" description: Your editor and any settings you have configured (for example, your VSCode settings.json file)
validations: validations:
required: false required: false
- type: textarea - type: textarea
id: logs id: logs
attributes: attributes:
label: "Logs" label: Logs
description: "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" description: "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"
validations: validations:
required: false required: false

View File

@ -1,7 +1,7 @@
name: Go vulnerability management - bugs and feature requests name: Go vulnerability management - bugs and feature requests
description: Issues or feature requests about Go vulnerability management description: Issues or feature requests about Go vulnerability management
title: "x/vuln: issue title" title: "x/vuln: issue title"
labels: ["vulncheck or vulndb"] labels: [vulncheck or vulndb]
body: body:
- type: markdown - type: markdown
attributes: attributes:
@ -21,7 +21,7 @@ body:
- type: textarea - type: textarea
id: reproduce-latest-version id: reproduce-latest-version
attributes: attributes:
label: "Does this issue reproduce at the latest version of golang.org/x/vuln?" label: Does this issue reproduce at the latest version of golang.org/x/vuln?
validations: validations:
required: true required: true
- type: textarea - type: textarea
@ -34,19 +34,19 @@ body:
- type: textarea - type: textarea
id: what-did-you-do id: what-did-you-do
attributes: attributes:
label: "What did you do?" label: What did you do?
description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best." description: If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best.
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: actual-behavior id: actual-behavior
attributes: attributes:
label: "What did you see happen?" label: What did you see happen?
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: expected-behavior id: expected-behavior
attributes: attributes:
label: "What did you expect to see?" label: What did you expect to see?
validations: validations:
required: true required: true

View File

@ -1,7 +1,7 @@
name: Proposals name: Proposals
description: New external API or other notable changes description: New external API or other notable changes
title: "proposal: import/path: proposal title" title: "proposal: import/path: proposal title"
labels: ["Proposal"] labels: [Proposal]
body: body:
- type: markdown - type: markdown
attributes: attributes:
@ -9,7 +9,7 @@ body:
- type: textarea - type: textarea
id: proposal-details id: proposal-details
attributes: attributes:
label: "Proposal Details" label: Proposal Details
description: "Please provide the details of your proposal here." description: Please provide the details of your proposal here.
validations: validations:
required: true required: true

View File

@ -2,8 +2,6 @@ name: Language Change Proposals
description: Changes to the language description: Changes to the language
labels: [Proposal, LanguageChange, LanguageChangeReview] labels: [Proposal, LanguageChange, LanguageChangeReview]
title: "proposal: spec: proposal title" title: "proposal: spec: proposal title"
body: body:
- type: markdown - type: markdown
attributes: attributes:

View File

@ -1,7 +1,7 @@
name: Go Telemetry Proposals name: Go Telemetry Proposals
description: Changes to the telemetry upload configuration description: Changes to the telemetry upload configuration
title: "x/telemetry/config: proposal title" title: "x/telemetry/config: proposal title"
labels: ["Telemetry-Proposal"] labels: [Telemetry-Proposal]
projects: ["golang/29"] projects: ["golang/29"]
body: body:
- type: textarea - type: textarea

View File

@ -2,4 +2,4 @@ blank_issues_enabled: true
contact_links: contact_links:
- name: Questions - name: Questions
about: Please use one of the forums for questions or general discussions about: Please use one of the forums for questions or general discussions
url: https://go.dev/wiki/Questions url: https://go.dev/wiki/Questions