]> Cypherpunks repositories - gostls13.git/commitdiff
.github: clean up issue forms
authorSean Liao <sean@liao.dev>
Thu, 23 Nov 2023 18:43:12 +0000 (18:43 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 27 Nov 2023 17:23:51 +0000 (17:23 +0000)
bugs:
* drop unused labels
* drop the reproduce checkbox:
  it's not a strong signal and introduces clutter in github as a task list
* link go.dev/play

govuln:
* use correct label
* ask for version of the tool
* link go.dev/play

telemetry:
* align title with purpose

Change-Id: Id7dd876e518c75dc22e9aec43d9af6e18af088fc
Reviewed-on: https://go-review.googlesource.com/c/go/+/544775
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>

.github/ISSUE_TEMPLATE/00-bug.yml
.github/ISSUE_TEMPLATE/04-vuln.yml
.github/ISSUE_TEMPLATE/12-telemetry.yml

index 3e64b836557defb5b8dc1583086d4e9ee7640a53..f3997ec3c120fbb179187dcd9b77401a93432fab 100644 (file)
@@ -2,7 +2,6 @@
 # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
 name: Bugs
 description: The go command, standard library, or anything else
-labels: [ 'kind/bug', 'bug' ]
 title: "import/path: issue title"
 
 body:
@@ -15,18 +14,14 @@ body:
     id: go-version
     attributes:
       label: Go version
-      description: What version of Go are you using (`go version`)?
+      description: |
+        What version of Go are you using (`go version`)?
+
+        Note: we only [support](https://go.dev/doc/devel/release#policy) the two most recent major releases.
       placeholder: ex. go version go1.20.7 darwin/arm64
     validations:
       required: true
 
-  - type: checkboxes
-    id: reproduce-latest-release
-    attributes:
-      label: Reproducibility
-      options:
-        - label: Does this issue reproduce with the latest release?
-
   - type: textarea
     id: os-and-processor
     attributes:
@@ -78,7 +73,7 @@ body:
     id: what-did-you-do
     attributes:
       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 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:
       required: true
 
index 1759697307db65963d4502c1073ddbf5de0c17f1..ae1356886cbfdea460cea721a1022961f9558ec3 100644 (file)
@@ -1,17 +1,21 @@
 name: Go vulnerability management - bugs and feature requests
 description: Issues or feature requests about Go vulnerability management
 title: "x/vuln: issue title"
-labels: ["vulncheck", "vulndb"]
+labels: ["vulncheck or vulndb"]
 body:
   - type: markdown
     attributes:
       value: "Please answer these questions before submitting your issue. Thanks! To add a new vulnerability to the Go vulnerability database (https://vuln.go.dev), see https://go.dev/s/vulndb-report-new. To report an issue about a report, see https://go.dev/s/vulndb-report-feedback."
   - type: input
-    id: go-version
+    id: govulncheck-version
     attributes:
-      label: go version
-      description: What version of Go are you using (`go version`)?
-      placeholder: ex. go version go1.20.7 darwin/arm64
+      label: govulncheck version
+      description: What version of govulncheck are you using (`govulncheck -version`)?
+      placeholder: |
+        Go: devel go1.22-0262ea1ff9 Thu Oct 26 18:46:50 2023 +0000
+        Scanner: govulncheck@v1.0.2-0.20231108200754-fcf7dff7b242
+        DB: https://vuln.go.dev
+        DB updated: 2023-11-21 15:39:17 +0000 UTC
     validations:
       required: true
   - type: textarea
@@ -31,7 +35,7 @@ body:
     id: what-did-you-do
     attributes:
       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 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:
       required: true
   - type: textarea
index 787a6641651e935295bb4581a3a2165ba4c6349c..4215abfa99012b47ad4e27ee3ffa3987b3003067 100644 (file)
@@ -1,6 +1,6 @@
 name: Go Telemetry Proposals
 description: New telemetry counter or update on an existing one
-title: "x/telemetry/config: issue title"
+title: "x/telemetry/config: proposal title"
 labels: ["Telemetry-Proposal"]
 projects: ["golang/29"]
 body: