Skip to content

Commit 44a0f15

Browse files
Merge branch 'golang:master' into main
2 parents 10a01cd + 1b07b77 commit 44a0f15

File tree

4,685 files changed

+328927
-92714
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,685 files changed

+328927
-92714
lines changed

.github/ISSUE_TEMPLATE/00-bug.md

-45
This file was deleted.

.github/ISSUE_TEMPLATE/00-bug.yml

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
2+
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
3+
name: Bugs
4+
description: The go command, standard library, or anything else
5+
title: "import/path: issue title"
6+
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for helping us improve! 🙏 Please answer these questions and provide as much information as possible about your problem.
12+
13+
- type: input
14+
id: go-version
15+
attributes:
16+
label: Go version
17+
description: |
18+
What version of Go are you using (`go version`)?
19+
20+
Note: we only [support](https://go.dev/doc/devel/release#policy) the two most recent major releases.
21+
placeholder: ex. go version go1.20.7 darwin/arm64
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
id: go-env
27+
attributes:
28+
label: "Output of `go env` in your module/workspace:"
29+
placeholder: |
30+
GO111MODULE=""
31+
GOARCH="arm64"
32+
GOBIN="/Users/gopher/go/bin"
33+
GOCACHE="/Users/gopher/go/cache"
34+
GOENV="/Users/gopher/Library/Application Support/go/env"
35+
GOEXE=""
36+
GOEXPERIMENT=""
37+
GOFLAGS=""
38+
GOHOSTARCH="arm64"
39+
GOHOSTOS="darwin"
40+
GOINSECURE=""
41+
GOMODCACHE="/Users/gopher/go/pkg/mod"
42+
GONOPROXY=""
43+
GONOSUMDB=""
44+
GOOS="darwin"
45+
GOPATH="/Users/gopher/go"
46+
GOPRIVATE=""
47+
GOPROXY="https://proxy.golang.org,direct"
48+
GOROOT="/usr/local/go"
49+
GOSUMDB="sum.golang.org"
50+
GOTMPDIR=""
51+
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
52+
GOVCS=""
53+
GOVERSION="go1.20.7"
54+
GCCGO="gccgo"
55+
AR="ar"
56+
CC="clang"
57+
CXX="clang++"
58+
CGO_ENABLED="1"
59+
GOMOD="/dev/null"
60+
GOWORK=""
61+
CGO_CFLAGS="-O2 -g"
62+
CGO_CPPFLAGS=""
63+
CGO_CXXFLAGS="-O2 -g"
64+
CGO_FFLAGS="-O2 -g"
65+
CGO_LDFLAGS="-O2 -g"
66+
PKG_CONFIG="pkg-config"
67+
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/44/nbbyll_10jd0z8rj_qxm43740000gn/T/go-build2331607515=/tmp/go-build -gno-record-gcc-switches -fno-common"
68+
render: shell
69+
validations:
70+
required: true
71+
72+
- type: textarea
73+
id: what-did-you-do
74+
attributes:
75+
label: "What did you do?"
76+
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."
77+
validations:
78+
required: true
79+
80+
- type: textarea
81+
id: actual-behavior
82+
attributes:
83+
label: "What did you see happen?"
84+
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.
85+
validations:
86+
required: true
87+
88+
- type: textarea
89+
id: expected-behavior
90+
attributes:
91+
label: "What did you expect to see?"
92+
description: Why is the current output incorrect, and any additional context we may need to understand the issue.
93+
validations:
94+
required: true

.github/ISSUE_TEMPLATE/01-pkgsite.md

-49
This file was deleted.

.github/ISSUE_TEMPLATE/01-pkgsite.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Pkg.go.dev bugs or feature requests
2+
description: Issues or feature requests for the documentation site
3+
title: "x/pkgsite: issue title"
4+
labels: ["pkgsite"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: "Please answer these questions before submitting your issue. Thanks!"
9+
- type: input
10+
id: url
11+
attributes:
12+
label: "What is the URL of the page with the issue?"
13+
validations:
14+
required: true
15+
- type: input
16+
id: user-agent
17+
attributes:
18+
label: "What is your user agent?"
19+
description: "You can find your user agent here: https://www.google.com/search?q=what+is+my+user+agent"
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: screenshot
24+
attributes:
25+
label: "Screenshot"
26+
description: "Please paste a screenshot of the page."
27+
validations:
28+
required: false
29+
- type: textarea
30+
id: what-did-you-do
31+
attributes:
32+
label: "What did you do?"
33+
description: "If possible, provide a recipe for reproducing the error. Starting with a Private/Incognito tab/window may help rule out problematic browser extensions."
34+
validations:
35+
required: true
36+
- type: textarea
37+
id: actual-behavior
38+
attributes:
39+
label: "What did you see happen?"
40+
validations:
41+
required: true
42+
- type: textarea
43+
id: expected-behavior
44+
attributes:
45+
label: "What did you expect to see?"
46+
validations:
47+
required: true

.github/ISSUE_TEMPLATE/02-pkgsite-removal.md

-39
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Pkg.go.dev package removal request
2+
description: Request a package be removed from the documentation site (pkg.go.dev)
3+
title: "x/pkgsite: package removal request for [type path here]"
4+
labels: ["pkgsite/package-removal"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: "Please answer these questions before submitting your issue. Thanks!"
9+
- type: input
10+
id: package-path
11+
attributes:
12+
label: "What is the path of the package that you would like to have removed?"
13+
description: |
14+
We can remove packages with a shared path prefix.
15+
For example, a request for 'github.com/author' would remove all pkg.go.dev pages with that package path prefix.
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: package-owner
20+
attributes:
21+
label: "Are you the owner of this package?"
22+
description: |
23+
Only the package owners can request to have their packages removed from pkg.go.dev.
24+
If the package path doesn't include your github username, please provide some other form of proof of ownership.
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: retraction-reason
29+
attributes:
30+
label: "What is the reason that you could not retract this package instead?"
31+
description: |
32+
Requesting we remove a module here only hides the generated documentation on pkg.go.dev.
33+
It does not affect the behaviour of proxy.golang.org or the go command.
34+
Instead we recommend using the retract directive which will be processed by all 3 of the above.
35+
36+
If you have deleted your repo, please recreate it and publish a retraction.
37+
38+
Retracting a module version involves adding a retract directive to your go.mod file and publishing a new version.
39+
For example: https://github.com/jba/retract-demo/blob/main/go.mod#L5-L8.
40+
See https://pkg.go.dev/about#removing-a-package for additional tips on retractions.
41+
validations:
42+
required: true

.github/ISSUE_TEMPLATE/03-gopls.md

-61
This file was deleted.

0 commit comments

Comments
 (0)