Граф коммитов

293 Коммитов

Автор SHA1 Сообщение Дата
Dmitri Shuralyov ee5e1f3cc4 internal/history: document Go 1.23.1 and 1.22.7 releases
Change-Id: I0ee4a16d8422be4d542f1e4ea2de0f456fca383d
Reviewed-on: https://go-review.googlesource.com/c/website/+/610802
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-09-05 15:18:41 +00:00
Dmitri Shuralyov d43f0ec556 internal/blog: populate author names in feeds
Go blog posts have metadata like:

by:
- Author Name
- Maybe Another Author

Those YAML lists were decoded into a slice of empty interfaces, each
holding a string, and all that was being ignored. Update it to parse
the []any type of p["by"] and to return an error if there aren't any
authors. There are only 2 existing blog posts that cause such errors,
but they're very old and can be ignored (or updated if needed).

There's probably more that can be done, like having one <author> XML
item per 'by' item in the YAML/JSON metadata of blog posts, but this
is a reasonable step forward.

For golang/go#68869.

Change-Id: I7b97a09b006bacf4835442a749cb0e467c7dbb47
Reviewed-on: https://go-review.googlesource.com/c/website/+/605537
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Hongxiang Jiang <hxjiang@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2024-08-16 19:56:31 +00:00
Sean Liao 702685aefd internal/dl: require macos 11
Fixes golang/go#68891
For golang/go#64207
For golang/go#65614

Change-Id: I9256d9de0687b9e3cf674b4d318f4d5023a9bf16
Reviewed-on: https://go-review.googlesource.com/c/website/+/605875
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-08-15 20:25:47 +00:00
Carlos Amedee 2cd74689d7 internal/history: remove draft notice, update deployment, add Go 1.23
This change:
Removes the draft notice from go1.23.md
Updates the deployment for golangorg to Go 1.23
Adds Go 1.23 to history/release.go

For golang/go#65614

Change-Id: I5afe34461fdb764b8f9759b0b8d894f72532ecf1
Reviewed-on: https://go-review.googlesource.com/c/website/+/605175
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-13 15:22:12 +00:00
David Chase c87b2eb979 internal/history: document Go 1.22.6 and 1.21.13 releases
Change-Id: If5481efb371aad0c61c4d0a0aec4ecbb8ebd3600
Reviewed-on: https://go-review.googlesource.com/c/website/+/603455
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-06 18:04:13 +00:00
Dmitri Shuralyov 6dc5e9bfb6 internal/history: catch empty non-nil fix summaries in TestReleases
When there are no security fixes (or no bug fixes) in a given release,
it's represented with a nil *FixSummary. Since it also may reasonably
be represented with an empty FixSummary, add a test to enforce one of
the two possible styles is consistently chosen. The template handles
an empty non-nil *FixSummary as a very generic "there were some fixes"
text, which is never what we want.

Change-Id: I96ac7cdf37ec7a8406f31500024150df422730bb
Reviewed-on: https://go-review.googlesource.com/c/website/+/603495
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-06 17:14:34 +00:00
Dmitri Shuralyov 624fadc019 internal/history: delete duplicate package comment
CL 296429 added history.go with a package comment even though there
was one in release.go. Drop one of the two, keeping one that sounds
slightly better and is located in the more typical place-a .go file
whose name is the same as the package name.

Change-Id: I31ab5ee4bc9fa02aaf98c0d399ae7d212f1fd2bc
Reviewed-on: https://go-review.googlesource.com/c/website/+/473236
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Rhys Hiltner <rhys.hiltner@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-07-10 20:28:20 +00:00
Dmitri Shuralyov f65c3a961a internal/gitfs: close response body in Repo.handshake
This was missed in CL 328213.

Change-Id: If62b9ee842b4b89725915ae74f755e66073264bd
Reviewed-on: https://go-review.googlesource.com/c/website/+/352329
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Rhys Hiltner <rhys.hiltner@gmail.com>
2024-07-10 20:28:17 +00:00
Russ Cox 3712d1ccfb cmd/golangorg: fix package link URLs
Doc comment text was linking to / instead of /pkg,
which was creating dead links. Fix that.

All other doc links were using /pkg/cmd/ instead of /cmd/.
And we were serving everything in cmd in both places.
Fix the links, and redirect /pkg/cmd/ to /cmd/.

Change-Id: Ib5c205b3faf53aff0f0bb6d475fa942a6718e616
Reviewed-on: https://go-review.googlesource.com/c/website/+/596436
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-07-09 19:55:51 +00:00
Than McIntosh 8b8813fd5a internal/history: document Go 1.22.5 and 1.21.12 releases
Change-Id: Ib98bddcaae9eff2ddd12df74fe6f3f249c4c8970
Reviewed-on: https://go-review.googlesource.com/c/website/+/596115
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-07-02 17:11:04 +00:00
Oleksandr Redko c9f9352637 cmd,internal: replace deprecated ioutil with io and os
Change-Id: I1d66a5c7b087d9329628efb6ce8849a004663b51
Reviewed-on: https://go-review.googlesource.com/c/website/+/592895
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2024-06-21 19:00:48 +00:00
Michael Anthony Knyszek 7189aba396 internal/history: document Go 1.22.4 and 1.21.11 releases
Change-Id: I9431510f6371516e3a429ab804fa4cb72d344387
Reviewed-on: https://go-review.googlesource.com/c/website/+/590335
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-06-04 18:36:01 +00:00
Cherry Mui 4bde6d136c internal/history: document Go 1.22.3 and 1.21.10 releases
Change-Id: I2896372623027eceb1edfd9fea0cc8241295dff0
Reviewed-on: https://go-review.googlesource.com/c/website/+/583777
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-07 16:10:44 +00:00
cuishuang 8f868aaaa4 internal/screentest: fix function name in comment
Change-Id: I55dfed6ab5e87794d992519d2916080d9d60fe0f
Reviewed-on: https://go-review.googlesource.com/c/website/+/579197
Reviewed-by: qiu laidongfeng2 <2645477756@qq.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2024-04-16 16:00:25 +00:00
Dmitri Shuralyov 4b1a1380f1 internal/history: document Go 1.22.2 and 1.21.9 releases
Change-Id: I6f8a3ffecebb7a50798d03fc0693d42dc5ad791f
Reviewed-on: https://go-review.googlesource.com/c/website/+/576056
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-04-03 15:37:10 +00:00
cui fliter e2bd64a578 all: close HTML tags
Change-Id: I53355d0e3ecc63df6e1afccc0b0e6d69c31adc82
Reviewed-on: https://go-review.googlesource.com/c/website/+/569095
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: shuang cui <imcusg@gmail.com>
2024-03-08 01:59:20 +00:00
Michael Anthony Knyszek ea18705977 internal/history: document Go 1.22.1 and Go 1.21.8
Change-Id: I336ef9df817dc82bcf404bd72f859555d487fec0
Reviewed-on: https://go-review.googlesource.com/c/website/+/569295
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-03-05 17:49:44 +00:00
David Chase d6e9cb44cb internal/history: remove draft notice, update deployment, add Go 1.22
remove draft notice from go1.22.html
update deployment for golangorg to Go 1.22
add Go 1.22 to history/release.go

Change-Id: I1d24f46785548b798e2fc2e680d7624e85c94e89
Reviewed-on: https://go-review.googlesource.com/c/website/+/562255
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-02-06 21:41:58 +00:00
David Chase 157adb08f0 internal/history: document Go 1.21.7 and Go 1.20.14
Change-Id: I4a636df763d9f9dc4afaf9265c0c48207dd84923
Reviewed-on: https://go-review.googlesource.com/c/website/+/562096
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-06 18:52:11 +00:00
Robert Findley d1f7a06849 internal/play: fix share registration guard for golang.google.cn
CL 366056 added support for multiple play backends, but did not update
the pattern matching for golang.google.cn accordingly.

Change-Id: Ie992f86bb6879bb283db5a23870602ea1266d9ab
Reviewed-on: https://go-review.googlesource.com/c/website/+/556095
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-01-16 17:05:52 +00:00
Dmitri Shuralyov 084ad90bc3 internal/history: document Go 1.21.6 and 1.20.13 releases
Also format a previous entry more consistently.

Change-Id: I56e7b99f9b7aff819208f594dabcbb4154c9c803
Reviewed-on: https://go-review.googlesource.com/c/website/+/555035
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2024-01-09 18:19:15 +00:00
Suzy Mueller 813bd0c33a cmd/golangorg: return all known Go toolchain versions
Update https://go.dev/dl/mod/golang.org/toolchain/@v/list to list
all known toolchain versions. This previously only listed the
stable versions.

Returning only the stable versions of go was inconsistent with
proxy.golang.org, leading to a different experience when running the
go command with GOPROXY=direct. This prevented the go command from
identifying newer versions of the toolchain that have been released.

Fixes golang/go#61359

Change-Id: I09729cc4826e40e5d5ee1effff6ed476ff983595
Reviewed-on: https://go-review.googlesource.com/c/website/+/551595
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-01-02 21:08:52 +00:00
Russ Cox e2dd66fc34 _content: serve wiki pages on go.dev
The wiki pages have been copied to go.googlesource.com/wiki
and will be code reviewed using Gerrit, like other Go repos.
Unlike other Go repos, self-review will be permitted, and
there is no requirement for Googlers to be involved to make a change.
These relaxations are possible because the wiki has no production code.
The set of wiki +2'ers is a superset of the usual code +2'ers.

Fixes golang/go#61940.

Change-Id: I01823720091fbaa24e95e9c82abeaadba867a17c
Reviewed-on: https://go-review.googlesource.com/c/website/+/518297
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-12-15 02:06:41 +00:00
Russ Cox 94530e9339 _content/talks: fix many stale or broken links
Change to not use https://go.dev/ directly in the link,
preferring relative links. Also fix many stale or broken links.

Makes talks safe for upcoming link-checking test.

Change-Id: I9c19e052b4df842561c3c153be630c99102a790c
Reviewed-on: https://go-review.googlesource.com/c/website/+/548061
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
2023-12-08 03:23:25 +00:00
Russ Cox 90162a8e6f _content: move security to doc/security, with redirects
go.dev/security made sense as a URL when it was the security policy,
which might be considered not quite user-facing documentation.
But now it has grown into lots of definitely user-facing documentation,
so it should be in /doc with all the other user docs.

Move /security to /doc/security with redirects.

Change-Id: I4747bbd0d1c110a4c7f0ae2fe0098326cc8637b8
Reviewed-on: https://go-review.googlesource.com/c/website/+/548119
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
2023-12-08 03:22:56 +00:00
Russ Cox 0ad6f295fa _content: move testing/coverage to doc/build-cover, with redirects
By default documentation should be in doc/.
There is no strong reason to keep testing in its own tree,
so move the one file here, /testing/coverage/,
to doc/build-cover, which better describes what
this is (building with coverage, as opposed to go test -cover).
Add a redirect to keep existing links working.

Change-Id: Ic3a3dfa9ae98788a0a1558bac0ce3934b1ead815
Reviewed-on: https://go-review.googlesource.com/c/website/+/548118
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-12-08 03:22:54 +00:00
Carlos Amedee 0b9a73dea9 internal/history: document Go 1.21.5 and 1.20.12 releases
Change-Id: I63f25161b6a65be28c85faba67a0c8bf87f63dc8
Reviewed-on: https://go-review.googlesource.com/c/website/+/547535
Commit-Queue: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-12-05 18:22:47 +00:00
Jonathan Amsterdam 42c7c5d758 cmd/screentest,internal/screentest: add flag to run subset of tests
Add a -run flag to screentest, similar to the one for `go test`,
so the user can run only one or a few tests.

I found this useful when converting release notes to markdown.

Change-Id: I13efe9c5e95b4c939ce8d1b9442f723d51c04e05
Reviewed-on: https://go-review.googlesource.com/c/website/+/539497
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-11-10 12:12:18 +00:00
Jonathan Amsterdam 91adbeedb9 cmd/screentest,internal/screentest: add ints function, release notes tests
This CL is preparation for converting release notes to Markdown.
We want to use the screentest tool to help us minimize changes.

- internal/screentest: add a template function to generate a sequence
  of integers

- cmd/screentest/testdata: add relnotes.txt, which has a test for
  every release note.

Change-Id: Ibeb2419637bc73d93b88d4c378f5396967d3d70f
Reviewed-on: https://go-review.googlesource.com/c/website/+/539496
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-11-10 12:00:19 +00:00
Heschi Kreinick 579683a2b7 internal/history: document Go 1.21.4 and 1.20.11 releases
Change-Id: Id5deb52b58464da68bb47599c1ed82a32944ddf6
Reviewed-on: https://go-review.googlesource.com/c/website/+/540298
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-11-07 17:57:17 +00:00
Jonathan Amsterdam fa86b70e02 internal/web: allow markdown files to turn off templates
If a markdown file has `template: false` in its metadata,
it will not be treated as a template.

Change-Id: I81599ea02b05ff7693f5f816293433df4988b64c
Reviewed-on: https://go-review.googlesource.com/c/website/+/537497
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-11-01 12:26:52 +00:00
Dmitri Shuralyov 24b2e95ba7 internal/history: document Go 1.21.3 and 1.20.10 releases
Change-Id: I2b60b5f4129a565d23fd2eb5d64c0dbf578134b4
Reviewed-on: https://go-review.googlesource.com/c/website/+/534217
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-10 16:44:50 +00:00
Dmitri Shuralyov 9fc787971d internal/history: document future Go 1.21.3 and 1.20.10 releases
Change-Id: I88ba2892c8a0e953f0179dbd59eae9f43d1ecbce
Reviewed-on: https://go-review.googlesource.com/c/website/+/533955
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2023-10-09 18:51:52 +00:00
Michael Pratt b743353d73 internal/history: document Go 1.21.2 and 1.20.9 releases
Change-Id: Ida8e46ae0c8cd6241a96eac5565310b8b767d307
Reviewed-on: https://go-review.googlesource.com/c/website/+/533255
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2023-10-05 19:31:45 +00:00
Dmitri Shuralyov 1aed222fcd internal/{gitfs,webtest}: use strings.Cut
Basic cut functionality is available in the standard library as of
Go 1.18, so today's supported Go versions (1.21 & 1.20) can use it.

Also delete cutAny since it was unused.

Change-Id: Iafce0197979d58f4ff4226fd5f640e925ab9b559
Reviewed-on: https://go-review.googlesource.com/c/website/+/531700
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-02 18:37:27 +00:00
Cherry Mui 70cf2cb772 internal/history: document Go 1.19.13 release
Change-Id: If7a237813eb8a619ae86a125dde16be3cbc283b1
Reviewed-on: https://go-review.googlesource.com/c/website/+/526175
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-09-06 17:37:47 +00:00
Cherry Mui a41789e101 internal/history: document Go 1.21.1 and 1.20.8 releases
Change-Id: Ie19057da92a098ee0e501488f0f5c9a117a0d287
Reviewed-on: https://go-review.googlesource.com/c/website/+/526155
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-09-06 17:37:28 +00:00
Zxilly 05846d222a internal/dl: update system requirements
As described at https://go.dev/doc/go1.21#ports:

- Go 1.21 requires at least Windows 10 or Windows Server 2016;
  support for previous versions has been discontinued.
- Go 1.21 requires macOS 10.15 Catalina or later;
  support for previous versions has been discontinued.

For golang/go#23011.
For golang/go#52188.

Change-Id: I7a3dd6e82400b238a2220d34bcffbbfc2f1b68a1
GitHub-Last-Rev: c637a1c5aa
GitHub-Pull-Request: golang/website#240
Reviewed-on: https://go-review.googlesource.com/c/website/+/518235
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-10 16:45:10 +00:00
Michael Anthony Knyszek 958dd998bd internal/history: add Go 1.21, remove release notes draft notice
Also, update the golangorg deployment to use the Go 1.21 release branch.

Fixes golang/go#58645.

Change-Id: Ic83bbd34da083fd0358e4e345fdb02781cab43d6
Reviewed-on: https://go-review.googlesource.com/c/website/+/517035
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-08 14:28:30 +00:00
David Chase d6ad5f4775 internal/history: document Go 1.20.7 and 1.19.12 releases
For both minor releases, backported CLs were:

crypto/tls: restrict RSA keys in certificates to <= 8192 bits
cmd/asm, cmd/internal/obj: generate proper atomic ops for riscv64
net: tolerate permission errors in interface tests
cmd/compile: on PPC64, fix sign/zero extension when masking

Change-Id: I0f13a6a6251b50f8576ca522c7714ddf3975afc7
Reviewed-on: https://go-review.googlesource.com/c/website/+/514996
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2023-08-01 20:18:48 +00:00
Cherry Mui 487a70a01d internal/history: document Go 1.20.6 and 1.19.11 releases
Change-Id: I838f412392bc12e4d6b25b369bbd2c827400ba21
Reviewed-on: https://go-review.googlesource.com/c/website/+/508460
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
2023-07-11 17:32:15 +00:00
cui fliter bd3c46f4f9 all: fix some typos
Change-Id: I3ccc952d423f43762853382c2f613995e096e695
Reviewed-on: https://go-review.googlesource.com/c/website/+/502775
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-06-15 19:39:05 +00:00
David Chase 971277bf20 website/internal/history: updates for 1.20.5 and 1.19.10
Change-Id: I8bdf5d97fc0bd6877747d2f43bbc7d5c99442826
Reviewed-on: https://go-review.googlesource.com/c/website/+/501201
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2023-06-06 18:02:29 +00:00
Russ Cox 54f78e7f44 internal/history: fix typo in release table
Change-Id: Idcce36399d22b950a982b09ee6d9ac9ada4ab21d
Reviewed-on: https://go-review.googlesource.com/c/website/+/482840
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-06-05 20:27:29 +00:00
Russ Cox 415e97c3fb internal/short: stop using memcache
Cloud Datastore alone should be plenty fast enough for our redirects
and plenty high enough bandwidth for our traffic load.
Avoiding Memcache really means avoiding Redis, which makes
the admin.go.dev site work better, since I apparently didn't set up
the peering between the two projects correctly, and admin is not
deleting things from Redis as it should be. Redis seems like
premature optimization at this point, so disable it, in preparation
for deleting it entirely.

Change-Id: Icfa3a0668f944fac8dad3280eb24356234ff0fc2
Reviewed-on: https://go-review.googlesource.com/c/website/+/498635
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
2023-05-30 15:01:06 +00:00
Dmitri Shuralyov d1f28970d1 internal/history: include ".0" in go1.21.0 and onwards
Now that proposal go.dev/issue/57631 is accepted, the upcoming major Go
release version will not omit its trailing zero component in "go1.21.0".
Update the behavior and documentation of Version accordingly.

Drop IsMajor and IsMinor since they would need to be updated but aren't
used anywhere. Instead, add MajorPrefix and use it to not break the
future Go 1.21 release notes link. We decided those release notes
document the entire release series, not just the first release,
so it needs to eventually stay as "/doc/go1.21" and not "/doc/go1.21.0".

For golang/go#57631.

Change-Id: I069d171354752e5123b7950c45581a236b304f95
Reviewed-on: https://go-review.googlesource.com/c/website/+/497497
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2023-05-23 19:24:18 +00:00
Hana (Hyang-Ah) Kim bc5feef24a internal/short: allow and forward query part
For example, when we have a short link for vscode-go survey,
we want to preserve the information carried in the query part.

  go.dev/s/vscode-go-survey?gopls=true

Change-Id: I7ee0ea0783c2ab6e90b41ce07720e740999c9056
Reviewed-on: https://go-review.googlesource.com/c/website/+/496166
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2023-05-22 16:36:56 +00:00
Carlos Amedee 0a584939d7 internal/history: document Go 1.20.4 and 1.19.9 releases
Change-Id: I67f76d7bf4116b451019ae875bc9ca2c6ef55ad9
Reviewed-on: https://go-review.googlesource.com/c/website/+/491455
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
2023-05-02 17:30:22 +00:00
Dmitri Shuralyov eb076cb85a internal/history: document future Go 1.20.4 and 1.19.9 releases
Change-Id: I5fc471002322935129de27c4ec8407defccb26ff
Reviewed-on: https://go-review.googlesource.com/c/website/+/490375
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2023-04-28 18:22:57 +00:00
Jamal Carvalho ca4ce6e575 internal/screentest: ignore pointer fields in tests
Added pointer fields on chromedp structs to ignore list
for comparison tests to prevent test failures.

Change-Id: Iad8b781d50e15f0e548b439b520efe27aba0e017
Reviewed-on: https://go-review.googlesource.com/c/website/+/481480
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2023-04-05 14:55:51 +00:00