Briefly describe pidfd, and note the extra opened file descriptors as
per request in [1].
[1]: https://github.com/golang/go/issues/62654#issuecomment-2170992329
Updates golang/go#62654.
For golang/go#65614.
Co-authored-by: Michael Pratt <mpratt@google.com>
Change-Id: Ie2a8e917cbbb1c6129a1706c22c9993222855bc4
Reviewed-on: https://go-review.googlesource.com/c/website/+/603717
Reviewed-by: 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>
Auto-Submit: Michael Pratt <mpratt@google.com>
All blog posts for major Go releases include a dot, other than the one
for Go 1.2. Fix the inconsistency and add a redirect from the old page.
Change-Id: I2f08142b6e802808be49adb5abf1562ab2d6fd73
Reviewed-on: https://go-review.googlesource.com/c/website/+/603795
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Change-Id: If55ced63c7cd5becc2dbd1e2ce35af0d5e29abe4
GitHub-Last-Rev: ba9b266857
GitHub-Pull-Request: golang/website#295
Reviewed-on: https://go-review.googlesource.com/c/website/+/601515
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
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>
The old https://blogs.dropbox.com is inaccessible.
Change-Id: I48de0ea61be4ea7954d461a1bea4e6d3b6cfd785
Reviewed-on: https://go-review.googlesource.com/c/website/+/602836
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Change-Id: I8fe0452619ed588d17bb12c413ca11f3b1d9aded
Reviewed-on: https://go-review.googlesource.com/c/website/+/602835
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
I had a small discussion with @ianlancetaylor here:
https://groups.google.com/g/golang-nuts/c/uon32LDerjM/m/dvg0mxbwAAAJ?utm_medium=email&utm_source=footer
I would like to clarify this entry about method sets a bit because the current explanation is a bit confusing. I believe there is no reason for the Write method of Buffer to use a value receiver. In this case, the sentence about the compiler's ability to implicitly take addresses doesn't make sense.
What I believe is implied here is a hypothetical situation where the code from the example is allowed by Go, and then it is noted that this makes no sense as the result would be lost in the caller.
Change-Id: Ie4de77364165d59178e2b1e6e1393370e06d1755
GitHub-Last-Rev: 40392d43f0
GitHub-Pull-Request: golang/website#296
Reviewed-on: https://go-review.googlesource.com/c/website/+/601996
Auto-Submit: Ian Lance Taylor <iant@google.com>
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>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
I'm part of the Gophers-Latam Community. I am excited to present our
translation of the Tour of Go, a collaborative effort of our community.
It's available at https://go-tour-lat.appspot.com/.
Fixesgolang/go#64454
Change-Id: Icd6e1f8ec340deea992858571c03bc2ae933d72b
GitHub-Last-Rev: 45234eb657
GitHub-Pull-Request: golang/website#264
Reviewed-on: https://go-review.googlesource.com/c/website/+/545855
Reviewed-by: Thiago Mowszet <thiagomowszet@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
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>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Change-Id: I49bad5dc6816241357546d68274acb1ea0fa8391
GitHub-Last-Rev: 27b48c2c47
GitHub-Pull-Request: golang/website#294
Reviewed-on: https://go-review.googlesource.com/c/website/+/601495
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
For golang/go#68526.
For golang/go#65614.
Change-Id: I260da94ffaae0d6583e6396b0a78b46dd298313c
Reviewed-on: https://go-review.googlesource.com/c/website/+/600936
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>
These anchor links allow users to copy the links for jumping tos
the specific sections easily.
We use javascript to add these links to handle both .html
and .md file format contents. If we had only markdown-based
contents, we could've adjusted the markdown-to-html renderer
instead of relying on javascript. Alternatively, we can try
to rewrite the html in a later pass, but html dom query and
rewrite is simpler in JS.
In order to minimize styling changes in the header text,
we set up the anchor on ¶ symbol that appears only on hover.
This is similar to how pkg.go.dev handles header anchor links.
Adjust the code for TOC generation (in godocs.js), since
now the heading elements include ¶, we want to drop it but
use the first part of the heading elements when compiling
TOC.
Fixesgolang/go#68596
Change-Id: Idfe4734c54c636e426b579fdcd697156e87b5747
Reviewed-on: https://go-review.googlesource.com/c/website/+/601055
Reviewed-by: 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>
Rob Pike pointed out that it could be clearer and more self-contained,
as well as being clear about generic methods never happening.
Change-Id: I854a38e20b4a7cd695bb3fa0a237759c5f7224d3
Reviewed-on: https://go-review.googlesource.com/c/website/+/599475
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Add this file now so that it's possible to preview the latest release
notes draft at https://tip.golang.org/doc/go1.24, and to include that
link in the tracking issue. Based on CL 588057 that did this for 1.23.
For golang/go#68545.
Change-Id: I07f30023d23ec027927f7417ebece4110f221efa
Reviewed-on: https://go-review.googlesource.com/c/website/+/600179
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
For golang/go#65614.
Change-Id: Iecdebfaf4e7467734e60f30867ebcf926e31e97b
Reviewed-on: https://go-review.googlesource.com/c/website/+/599775
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>
Fixesgolang/go#67659
Change-Id: I01b22c68049f89694513185ac9076e4fa8d94114
Reviewed-on: https://go-review.googlesource.com/c/website/+/598095
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@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
This is a grammar rules that my fingers will never learn, and sometimes
my eyes do not notice...
Change-Id: If6c5e8b45702844996f13802ffb041d0e7d6a322
Reviewed-on: https://go-review.googlesource.com/c/website/+/598696
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
A common use-case for reading the telemetry documentation is to discover
how to enable or disable telemetry, yet the configuration section is
somewhat far down the page.
Add a new info callout with quick commands to enable or disable
telemetry.
For golang/go#68204
Change-Id: I6efc366401e626ed436905bda35fe75ae1c4bc57
Reviewed-on: https://go-review.googlesource.com/c/website/+/598695
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Very minor tweaks:
- Remove (c) pseudosymbol.
- Remove "All Rights Reserved."
- Change "Google Inc." (no longer exists) to "Google LLC".
[git-generate]
echo '
,s/\(c\) //
,s/ All rights reserved.//
,s/Google Inc./Google LLC/
w
q
' | sam -d LICENSE
Change-Id: I01330570f8d0a932becb8464519182970fdd48f3
Reviewed-on: https://go-review.googlesource.com/c/website/+/598590
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This aligns the existing release notes with the upcoming release notes for Go
1.24 and newer (https://go.dev/cl/556817).
The term Standard library is more common, both in spoken and written
communication about Go. Also, it is engrained in commands like
go test std, which is not going to change.
Change-Id: I5cc2bfc608effe40befa8f168b1f08b9882ce7dd
Reviewed-on: https://go-review.googlesource.com/c/website/+/598096
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>
Change-Id: I44e55d90c989117fe13b5b3dfc5534543595aa28
Reviewed-on: https://go-review.googlesource.com/c/website/+/598275
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
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>
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>
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>
Add a section explaining how our tooling handles versions
that are not recognized by the Go module proxy.
Change-Id: Iee0f201c75e04993569ceff52f9808ca9246e997
Reviewed-on: https://go-review.googlesource.com/c/website/+/596496
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Update x/build to pick up changes for new x/oscar repo.
Change-Id: I42cee48d593b5e4b061230a83af0e7f1c1c4eeca
Reviewed-on: https://go-review.googlesource.com/c/website/+/596695
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>
Some packages (iter, maps, structs, and unique) are mentioned in
the "Core library" section and there is no content (except
comments) in the "Minor changes" section for them. Remove.
For golang/go#65614.
Change-Id: I9989b83e5cb9893c1d5aa90b36035d797916ae8e
Reviewed-on: https://go-review.googlesource.com/c/website/+/595959
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
A statement in the go work use docs that was meant to clarify that go
work use would clean up use statements where the directories did not
exist ended up causing confusion.
Remove that statement for now. We might want to add something back in
the future.
Fixesgolang/go#68245
Change-Id: I74b0ebdf7d11e8e03a4e18f58e49ec02a896c091
Reviewed-on: https://go-review.googlesource.com/c/website/+/595997
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Rename no-build to nobuild, no-run to norun because it's forbidden
to use hyphen in a build constraint name.
Change-Id: Ide0cd3c72f6c79c640b601c0526e08223de04610
Reviewed-on: https://go-review.googlesource.com/c/website/+/594815
Reviewed-by: 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: Than McIntosh <thanm@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Change-Id: I82fff4cc6ac4bba6686ae18d7fb27ac5d79116b3
Reviewed-on: https://go-review.googlesource.com/c/website/+/517655
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: Joedian Reid <joedian@google.com>
Change-Id: Ie62e9132520d6fc08e90f99160f4696b60db9670
Reviewed-on: https://go-review.googlesource.com/c/website/+/593875
Reviewed-by: Joedian Reid <joedian@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Fixesgolang/go#68113
Change-Id: I58b38f4d4c4f6d4dc26d55170c7ed44b09542c57
Reviewed-on: https://go-review.googlesource.com/c/website/+/594295
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Using doc/next content as of 2024-06-21 (commit 1b4f1dc95d221c1e9d0afb9067fd6a09f12dd061).
For golang/go#65614.
Change-Id: Ifa21855a92dc99f480ea605947cc48d542ff5193
Reviewed-on: https://go-review.googlesource.com/c/website/+/594035
Auto-Submit: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
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>
- Add missing '// +build' comments for generics examples.
- Add build tags 'OMIT', 'no-run' for solutions examples.
- Move content_test.go to the root because 'go' ignores
packages in the '_content' directory.
- Remove usages of deprecated 'io/ioutil'.
Change-Id: I8e6b717d43df9e2b55e4b796db5b316860f42103
Reviewed-on: https://go-review.googlesource.com/c/website/+/592875
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Add a warning against checking in go.work files together with a
sentence about where it might be okay.
Fixesgolang/go#53502
Change-Id: I1f643fc75c2951a9dcd56db11d612989dadcaa59
Reviewed-on: https://go-review.googlesource.com/c/website/+/580115
Reviewed-by: Eli Bendersky <eliben@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
The word "workspace" was intended to be used.
Fixesgolang/go#67740
Change-Id: I942f3301eaaf8f3fc6eb8964d3ebe90503bdbc60
Reviewed-on: https://go-review.googlesource.com/c/website/+/590043
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
If golangbuild is run from a directory other than x/website root or its
cmd/golangbuild directory, it's more useful to use the embedded content
than a directory that does not exist.
This was previously possible by explicitly setting the -content flag to
the empty string. This change makes it possible to leave the flag unset,
which can be handy for go run golang.org/x/website/cmd/golangorg@latest.
Change-Id: Id0e33515b15934fdfcd1cbe594ad4c7b969a1d21
Reviewed-on: https://go-review.googlesource.com/c/website/+/589936
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
CC BY 4.0 is the correct version for Gophers.
Change-Id: I0f3b7d50a17f248fbf485f111b52eb703972dbfd
Reviewed-on: https://go-review.googlesource.com/c/website/+/588995
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Hajime Hoshi <hajimehoshi@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Add this file now so we can use the https://tip.golang.org/doc/go1.23
both before and after the release note fragments are merged, meaning
we won't need to tell people to abruptly stop looking at /doc/next and
start looking at /doc/go1.23 sometime in the next few weeks.
The /doc/next page may still be useful in some contexts where a moving
target URL works better than a fixed one, so leave it behind for now.
For golang/go#65614.
Change-Id: Ib28608f56b2a88b44e554bf24c04873f3ed6961b
Reviewed-on: https://go-review.googlesource.com/c/website/+/588057
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
By now the supported and tested Go versions are Go 1.22 and 1.21.
Update the website deployment to start using the Go 1.22 runtime.
See https://cloud.google.com/appengine/docs/standard/lifecycle/support-schedule#go.
Change-Id: I376e36e8aa0f8128c1bcdce6a199c51f163e9c33
Reviewed-on: https://go-review.googlesource.com/c/website/+/587475
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
The improved release note process is being used starting with Go 1.23.
That means instead of a single doc/go1.23.html draft file in the main
Go repository, doc/next contains a set of release note fragments.
Having small, orthogonal files avoids merge conflicts, and a release
note test requires that release notes are written and included in the
same CL that's adding new APIs. As a result, the set of completed
release notes even before we enter the release freeze is greater than
ever before.
While it's possible to view those fragments using tip.golang.org
(e.g., by visiting https://tip.golang.org/doc/next), reading them
that way isn't practical. The relnote generate tool exists to merge
fragments into a complete Markdown document, and this tool will be
used when eventually moving a complete draft of Go 1.23 release notes
to x/website.
To aid the remaining work of completing the release note draft, this
change adds a dynamic /doc/next page to preview what the relnote
generate tool will produce. Combined with existing functionality of
the -tip flag, it makes https://tip.golang.org/doc/next display a live
preview of the checked-in release notes draft.
It can also be used to preview release note draft locally. For example,
if $HOME/gotip is a Go checkout where one is editing doc/next content:
go run golang.org/x/website/cmd/golangorg@latest -goroot=$HOME/gotip
Will serve a live preview at http://localhost:6060/go.dev/doc/next.
It can be slightly more convenient to refresh a browser without having
to re-run 'relnote generate'.
For golang/go#64169.
For golang/go#65614.
Change-Id: Ie1d3650076421a95a691dd84a554a113dd1187b1
Reviewed-on: https://go-review.googlesource.com/c/website/+/587436
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: Jonathan Amsterdam <jba@google.com>