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

2618 Коммитов

Автор SHA1 Сообщение Дата
Hana (Hyang-Ah) Kim 74e803dd33 _content/blog: correct go work use usage
And drop the link to the Go project contribution guide
which is not necessary.

Change-Id: Ied0e433a4e1949716e1955054bd7af8ab902e433
Reviewed-on: https://go-review.googlesource.com/c/website/+/525155
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
2023-09-01 19:47:14 +00:00
Matthew Dempsky ca1fc50a3b _content/doc/comment: mention "reports whether" idiom
Mention the idiom of using "reports whether" to describe functions
that return a boolean.

While here, replace several uses of "func" with "function". In the Go
spec, "func" is a keyword used in function declarations and function
literals, but the declared object is always referred to as a
"function".

Also, change "arguments" to "parameters". Again, in the Go spec,
"arguments" is used to describe the operands that appear in a call
expression, whereas "parameters" are the objects declared in a
function signature.

Change-Id: I01dfafd05af1852a8d2056bdabbda1e2bcc8cbb7
Reviewed-on: https://go-review.googlesource.com/c/website/+/524956
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-01 07:02:54 +00:00
Ian Lance Taylor 2bbd800a01 _content/doc/comment: document removal of common prefix
Fixes golang/go#61373

Change-Id: I60fa1be13cb7e32af5169e303f5e1c40d207edc4
Reviewed-on: https://go-review.googlesource.com/c/website/+/524039
Reviewed-by: Russ Cox <rsc@golang.org>
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>
2023-08-31 00:55:40 +00:00
Ian Lance Taylor fa6fe8b9e9 _content/doc/go1.21: mention encoding/binary.NativeEndian
For golang/go#57237
Fixes golang/go#62349

Change-Id: I2407281b1635e3689f6e225da2ea7f562f321203
Reviewed-on: https://go-review.googlesource.com/c/website/+/524675
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-08-31 00:16:05 +00:00
Dmitri Shuralyov 0daeb8a107 _content/blog: fix list item formatting in rebuild.md
It was meant to be one bullet point, not two.

Change-Id: I113f1cef44319f95aff110c6f3ef1d1dad9a69b2
Reviewed-on: https://go-review.googlesource.com/c/website/+/524396
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: Russ Cox <rsc@golang.org>
2023-08-30 21:41:25 +00:00
Russ Cox 4f91f9e3eb _content/blog: add rebuild
Change-Id: I424b79460e903392f73270ee68fe88fc0ba49811
Reviewed-on: https://go-review.googlesource.com/c/website/+/523635
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-28 17:55:14 +00:00
Deleplace 6fcd42d2ce _content: apply white color in transparent gopher, for dark theme.
Fixes golang/go#62316

Change-Id: I5bda00629a5de3e3266911c0c518b6c2078e4b97
Reviewed-on: https://go-review.googlesource.com/c/website/+/523415
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-28 15:17:07 +00:00
Michael Pratt 979dfe99a8 _content/doc/pgo: mention PGO tools wiki page
Change-Id: Id1ce731a377173b15bc7398a1f4b6d7cfb06e2c0
Reviewed-on: https://go-review.googlesource.com/c/website/+/523495
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
2023-08-28 14:35:12 +00:00
Eli Bendersky b3ac5e3658 _content/blog: fix link to sample in h2push post
The link pointed to the old home of the blog.
Moreover, in the new world of modules, `go get` isn't a very convenient
way to obtain samples, so pointing directly to the code repository
instead.

Change-Id: I2dca199cf817920347445a5db17521a349a93c64
Reviewed-on: https://go-review.googlesource.com/c/website/+/522677
Run-TryBot: Eli Bendersky <eliben@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-25 16:25:24 +00:00
Ian Lance Taylor b94b1663e6 _content: correct pkg.dev.go links to pkg.go.dev
Fixes golang/go#62225

Change-Id: I6de01f1176494d3c83c638333194201013e21f85
Reviewed-on: https://go-review.googlesource.com/c/website/+/522075
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
2023-08-23 13:47:51 +00:00
Jonathan Amsterdam 5a066bd7e3 _content/blog/slog.md: blog post for log/slog
Change-Id: Ia4c4a4f0ea5e635393e205874aad62de14811eec
Reviewed-on: https://go-review.googlesource.com/c/website/+/518017
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Seth Vargo <sethvargo@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
2023-08-22 15:42:44 +00:00
Eli Bendersky 07cc88f98d _content/doc/go1.21: fix anchor name typo in link
Reported by Jochen Voss on the golang-nuts list

Change-Id: Ic0986948c13b30ce98a4bb763da883ab4fafd76b
Reviewed-on: https://go-review.googlesource.com/c/website/+/520215
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
2023-08-17 12:37:07 +00:00
yuuji.yaginuma 50ad5fc9ac _content/doc/go1.21: remove redundant close bracket
This added by https://go-review.googlesource.com/c/go/+/500956. But there is not an open bracket.
I assume this is just a typo.

Change-Id: I3609db7cc628ddd3bf24573d409185802f425e45
GitHub-Last-Rev: f0f00d306b
GitHub-Pull-Request: golang/website#241
Reviewed-on: https://go-review.googlesource.com/c/website/+/519015
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2023-08-16 02:09:50 +00:00
Dmitri Shuralyov b1f8652375 _content/doc: update go.dev/doc/toolchain's backport description
Match the behavior as implemented in CL 518675 and CL 518815,
and ready to be released in the next set of minor releases.

For golang/go#57001.

Change-Id: I4404530994e636173f636aefb83bd64e208eba3c
Reviewed-on: https://go-review.googlesource.com/c/website/+/519216
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-15 17:10:11 +00:00
Russ Cox b4f95f9960 blog: add a pair of posts, compat and toolchain
Change-Id: Ia05eedfb1ed2ef6104b944ed3ffd94536ee99cd0
Reviewed-on: https://go-review.googlesource.com/c/website/+/519215
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
2023-08-14 16:09:08 +00:00
tcdsv 2128396a0d _content/doc/tutorial: remove mention of init function
the init function is removed from the code example: f7341273fe

Change-Id: Id247fed6f46ad83e47c9871519ed8001dca79c62
GitHub-Last-Rev: 012feea9eb
GitHub-Pull-Request: golang/website#230
Reviewed-on: https://go-review.googlesource.com/c/website/+/507096
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2023-08-10 19:27:04 +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
Suzy Mueller 74679e8775 _content/security/vuln: fix VS Code settings documentation
Update docs to use the preferred settings style for VS Code.

Fixes golang/go#61633

Change-Id: I2eb079bbc5a65a99330adcabe38b3bb315dc2402
Reviewed-on: https://go-review.googlesource.com/c/website/+/517776
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-08-10 16:11:29 +00:00
Alexander Yastrebov ed47ec0cac _content/doc/go1.21: fix links
* fix godebug link
* fix spec links

Fixes golang/go#61880

Change-Id: If705e27c297285199fe970927fdf31b66831bff1
GitHub-Last-Rev: ca5255e3a4
GitHub-Pull-Request: golang/website#239
Reviewed-on: https://go-review.googlesource.com/c/website/+/517860
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-08-10 15:19:20 +00:00
Prudhvi Krishna Chintala 343057cab4 _content: added 'ESC' event handler to avoid focus trap.
https://screencast.googleplex.com/cast/NTYwNTg4MTkwODU1OTg3Mnw3Mzg5NzAyNi04Ng

Change-Id: I4246a560be1dbbd1f7a8126715940373249f5ac8
Reviewed-on: https://go-review.googlesource.com/c/website/+/517778
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-08-10 11:36:36 +00:00
Russ Cox 6cc10c446b _content: make "Press Esc to move out of the editor" message stop flickering
It's distracting to have this "Press Esc to move out of the editor"
message flicker on and off as focus shifts around the pages, especially
since it moves everything else up and down.

Make the message permanent and unobtrusive instead.

Change-Id: Iabe7a723f01ff2b54c49b3ef1214a1787b2751cd
Reviewed-on: https://go-review.googlesource.com/c/website/+/517695
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-09 16:33:15 +00:00
Ian Lance Taylor 98d0ae50c7 _content/doc/go1.21: fix grammar error
Fixes golang/go#61855

Change-Id: I7affe4337395c5f6cddb07ca92eef6249806100a
Reviewed-on: https://go-review.googlesource.com/c/website/+/517217
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-08 21:32:15 +00:00
Robert Griesemer 4011a97385 website: fix minor grammatical mistake in comparable.md
Change-Id: I051e221eaeee5f29df281fdf6c8bc88873cadadd
Reviewed-on: https://go-review.googlesource.com/c/website/+/490095
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-08 20:58:46 +00:00
Ian Lance Taylor c5f035074e _content/doc/go1.21: correct Buffer.AvailableBuffer link
Fixes golang/go#61861

Change-Id: Iaeac7e4ce427f98b6fc3faa10403620430c06e44
Reviewed-on: https://go-review.googlesource.com/c/website/+/517375
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2023-08-08 20:17:28 +00:00
Ian Lance Taylor a5040e7bce _content/doc/go1.21: correct grammar error
Fixes golang/go#61854

Change-Id: Ia53bb95150901ccecf038962577e9eaa30755f16
Reviewed-on: https://go-review.googlesource.com/c/website/+/517255
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-08 20:04:58 +00:00
Koya IWAMURA d6072af1f2 _content/doc: fix link in Go1.21 Release Notes
Change-Id: Iac71701b32ab529a0fa6f16fd711045093820112
GitHub-Last-Rev: cf450d727e
GitHub-Pull-Request: golang/website#238
Reviewed-on: https://go-review.googlesource.com/c/website/+/517115
Reviewed-by: t hepudds <thepudds1460@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: t hepudds <thepudds1460@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-08 19:06:12 +00:00
Dmitri Shuralyov 47aa77ee5c cmd/golangorg, internal/history: add test case for Go 1.21.0
Go 1.21.0 is the first major Go release that explicitly includes the
trailing ".0" version component. Add a test case covering changes to
the history.Version type and the template that uses it.

For golang/go#57631.

Change-Id: I97581b650604c25b6996305ecf4ad9d883cd85ba
Reviewed-on: https://go-review.googlesource.com/c/website/+/497498
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-08 16:32:18 +00:00
Eli Bendersky 5872eae16b blog: add Go 1.21 announcement
Change-Id: I66dab03d7ce4a2d5a8cbf759d77a50999a375e3a
Reviewed-on: https://go-review.googlesource.com/c/website/+/512055
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-08 15:50:49 +00:00
Michael Anthony Knyszek cbd53f2c11 _content/doc/go1.21.html: add note about panic nil behavior
For golang/go#25448.

Change-Id: I775ad6d8d8952da8fa94c39c44a2420501b63b57
Reviewed-on: https://go-review.googlesource.com/c/website/+/517036
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
2023-08-08 15:39:58 +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
Mauri de Souza Meneguzzo 315f653c94 _content/doc: copypaste.js included more than once
The copypaste js script is included twice, once in the site.tmpl and a second time in install.html.

Change-Id: I5ba7cefa0e4a9f209adebd0cda8c3f855dc40f3f
GitHub-Last-Rev: 6490c1773c
GitHub-Pull-Request: golang/website#235
Reviewed-on: https://go-review.googlesource.com/c/website/+/516415
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-08-08 00:31:44 +00:00
Prudhvi Krishna Chintala 2c2263031c _content: made content activated by mouse dismissible using ESC key
https://screencast.googleplex.com/cast/NTcyNjIwNDA4MTQ3MTQ4OHwxOTQwNzQyNS04ZA

Change-Id: I4c804d97c7485cf75ea16260a6d4143cf0a70f69
Reviewed-on: https://go-review.googlesource.com/c/website/+/516196
Reviewed-by: Neelesh Bodas <neelesh@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-08 00:25:38 +00:00
prudhvikrishna e98120d599 _content/css: fix for icon to appear in High Contrast Light Mode
https://screencast.googleplex.com/cast/NTUwNDM3ODE0NzQzODU5Mnw3ZDI4OTZhMy03ZA

Change-Id: Id0b179d91b9a099adc2af28ffa18b7eaa68b8508
Reviewed-on: https://go-review.googlesource.com/c/website/+/506677
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-08-07 21:06:47 +00:00
Dmitri Shuralyov 6a2a7e9b43 all: update esbuild dependency
Current esbuild version fails to build on Plan 9.
Pull in a newer version where that's been fixed.

Updates evanw/esbuild#3289.
For golang/go#61698.

Change-Id: Ie12bf81df57d22306857b6f51bb426cfa2a47cec
Cq-Include-Trybots: luci.golang.try:x_website-gotip-linux-amd64-misccompile
Reviewed-on: https://go-review.googlesource.com/c/website/+/516256
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2023-08-07 15:22:14 +00:00
Dominik Honnef 4136cf8c34 _content/security/fuzz: tweak example for running file2fuzz
When running file2fuzz without any arguments it will read from stdin.
This might confuse users who copy the commands from the example,
expecting something to happen. Suggest running it with -h instead.

Change-Id: I50cc776af66af5126fb283dee228df644c6e340d
Reviewed-on: https://go-review.googlesource.com/c/website/+/401954
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Dominik Honnef <dominik@honnef.co>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dominik Honnef <dominik@honnef.co>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-08-04 22:13:27 +00:00
David Chase 01ef4053a2 _content/doc: add CL 514997 to list in QUIC comment for go1.21.html
Change-Id: I9649bd9b02cb36b843acbe30b467de1ebfa52c38
Reviewed-on: https://go-review.googlesource.com/c/website/+/516135
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2023-08-04 18:47:31 +00:00
David Chase 1f6ba5cfa8 _content/doc: add Go 1.21 release notes
Copied from the main Go repo at CL 515955.
Deleted there in CL 516075.

For golang/go#58645.

Change-Id: If91f782f6429a53cbc52e0e37fbad88fb80db006
Reviewed-on: https://go-review.googlesource.com/c/website/+/516095
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-04 18:16:34 +00:00
prudhvikrishna 7efaa41d53 _content: fix for screen reader to announce links open in new window.
Change-Id: Ic2498cf765722cb1d914c37a2b544ae1f4bd6e08
Reviewed-on: https://go-review.googlesource.com/c/website/+/512095
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-08-03 21:30:56 +00:00
luisglopez7777 80138e489b _content: add dark mode to go.dev/tour
Change-Id: I8fe87632b3f863fc80290537a428c884a232f280
Reviewed-on: https://go-review.googlesource.com/c/website/+/509116
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-03 13:41:10 +00:00
Dmitri Shuralyov 4c82633110 _content: fix gorebuild import path
Somehow I looked directly at the URL and thought whether it'd be better
for the https://pkg.go.dev/golang.org/x/build/cmd/gorebuild link
to be shortened to https://golang.org/x/build/cmd/gorebuild or not¹,
yet completely failed to notice that it said tools instead of build.
Whoops!

¹ The upsides are that it's shorter and lets the package stay in control
  for deciding what it's "home" is, but the downside is that in practice
  it has no effect and just adds an extra redirect.

Change-Id: I43b02a7eb6405a0b7700c522cdd6a7939bcf9f1c
Reviewed-on: https://go-review.googlesource.com/c/website/+/515240
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2023-08-03 04:27:01 +00:00
Russ Cox e5f882dc95 cmd/golangorg: fix CachedURL, update rebuild template
The "not modified" response code is 304, not 206. Oops.
Use named constants to avoid similar mistakes in the future.

Also update rebuild template to show more version information.

For golang/go#57120.
For golang/go#58884.

Change-Id: I2c3ddf25cede0b5a853fa971226463a997f168c7
Reviewed-on: https://go-review.googlesource.com/c/website/+/515455
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-08-03 04:10:03 +00:00
Russ Cox 1e75b26cba _content: add rebuild page with reproducible build information
We now have a command to reproduce Go builds posted on go.dev/dl.
Add a dashboard that people can check to see its results.
We should be able to link to this page from https://reproducible-builds.org/citests/.

For golang/go#57120.
For golang/go#58884.

Change-Id: I0bd1f9c26a9a003aa1f301125083195fdeb048b4
Reviewed-on: https://go-review.googlesource.com/c/website/+/513700
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-03 02:08:39 +00:00
Russ Cox c999d51337 _content: update for golang.org/x/example changes
golang.org/x/example/stringutil.Reverse moved to
golang.org/x/example/hello/reverse.String.
Update references accordingly.

Fixes golang/go#61722.

Change-Id: Ib041697bc1c5c40d2b6ccefc7550caaedf338b2d
Reviewed-on: https://go-review.googlesource.com/c/website/+/515238
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
2023-08-03 02:08:24 +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
Suzy Mueller 496c979d26 _content/doc/tutorial: fix vulncheck tutorial links
Fixes golang/go#61663

Change-Id: I46a4c0f74aa8c64b7d1eee73b9533c56f8ef8233
Reviewed-on: https://go-review.googlesource.com/c/website/+/514635
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Brandon Kessler <bkessler@google.com>
2023-07-31 22:49:54 +00:00
Cameron Balahan abdc8f0e80 Fixing an error in the way commands are displayed in the gonew blog post
Change-Id: Ic6893334e813a5e79c99a1561da977d9ae5e319c
Reviewed-on: https://go-review.googlesource.com/c/website/+/514555
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-31 18:53:44 +00:00
Cameron Balahan edbee6f9dd _content/blog: Adding blog post for gonew command
Change-Id: Idcb4569ac86831472f771302773e317f7b903581
Reviewed-on: https://go-review.googlesource.com/c/website/+/514475
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2023-07-31 18:03:31 +00:00
prudhvikrishna 60cac895de _content: fix for links to have underline on keyboard focus
Change-Id: I373e92ffe1f245eb0bd5b696d9885fe290f1b326
Reviewed-on: https://go-review.googlesource.com/c/website/+/506676
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-07-28 18:03:51 +00:00
prudhvikrishna b424f0c6d0 _content/css: provide fix for text to meet the color contrast
requirements

https://screenshot.googleplex.com/8RiRhFfeua2HQM8.png
https://screenshot.googleplex.com/fTHSYz3NnJ7YPDN.png

Change-Id: I04d00b4468e93f93ea418cb11df01976b150fb80
Reviewed-on: https://go-review.googlesource.com/c/website/+/506375
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-07-28 18:03:48 +00:00
Mauri de Souza Meneguzzo c860785947 _content: fix error preventing some features to load in dl page
There was an error when setting up the callback for page load in the /dl page, preventing some features to load properly. The error was due to some methods being invoked for the playground textarea field, that for this specific page is not in the dom.

Updated the logic for page load to wait for dom content loaded or check document.readyState since the page might be loaded already when we try to set up the callback.

Fixes: golang/go#61587

Change-Id: I82508a2661167af19b1b4375c66b46ae50c08617
GitHub-Last-Rev: 8415de173b
GitHub-Pull-Request: golang/website#234
Reviewed-on: https://go-review.googlesource.com/c/website/+/513315
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-07-26 20:21:15 +00:00