| Age | Commit message (Collapse) | Author |
|
Change-Id: I12e667f1945eb9440147842c3374756dbd8b09ef
|
|
This affects declaring fields in struct using field name instead of
naked names.
|
|
Change-Id: I73aa112ba125b56dbdaf2727a3a7165c03de9b3f
|
|
The deploy process constructs a _goroot.zip file which is used as the
source of main Go repository content when serving go.dev. Start using
the same _goroot.zip file when running tests in Cloud Build.
Also move the flag.Parse to happen at the top of main, before some of
the flag values are accessed and potentially overridden.
For golang/go#78211.
Change-Id: Iaf182301836917d062c5f4c329db6bbc171415da
Reviewed-on: https://go-review.googlesource.com/c/website/+/763840
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
|
|
Even though the deployed version of go.dev/doc/godebug no longer has
the "{{raw <code>" bad escaping, TestAll still fails during the deploy
process. This is because it turns out that it doesn't use the same
_goroot.zip file that the website uses to serve content. Instead, it
uses GOROOT from the go version used to run the tests, and that version
doesn't have the fixed godebug.md yet.
For now, to fix the deploy process breakage sooner, disable the check
that was recently added in CL 746741.
For golang/go#78211.
Change-Id: I5052f6ef2bc283e8751dca39f5131eb66c67cff3
Reviewed-on: https://go-review.googlesource.com/c/website/+/763740
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: David Chase <drchase@google.com>
|
|
The {{raw `…`}} sequence is commonly used in Markdown templates to
include a block as is. If such a sequence is used in a Markdown file
while its 'template' field in metadata is accidentally set to off
(the new default value as of go.dev/cl/733500), it gets rendered as
'{{raw <code>' HTML which is almost certainly not what was intended.
It should be possible to catch these in TestAll.
For golang/go#78211.
Change-Id: I7bba708bc41a6421f3aae88e10d30574de7a9294
Reviewed-on: https://go-review.googlesource.com/c/website/+/746741
Reviewed-by: Alan Donovan <adonovan@google.com>
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>
|
|
Most of the go.dev content is in the _content directory of x/website,
but some of the pages (e.g., go_spec.html, asm.html, godebug.md, etc.)
canonically live in the main Go repository.
Extend TestAll to help catch problems automatically in those files too.
For golang/go#78211.
Change-Id: I48ac3f8b2338ef1300461a860fe2cc4c2c30ac02
Reviewed-on: https://go-review.googlesource.com/c/website/+/746740
Reviewed-by: Alan Donovan <adonovan@google.com>
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>
|
|
The use of strings.TrimPrefix on filepath.ToSlash output works on all
OSes when testTree is given a relative path like "../../_content",
but it doesn't work on Windows if testTree is given an absolute path.
The next change will do that (in order to process GOROOT/doc content),
so prepare for it by migrating to filepath.Rel to compute relative path.
For golang/go#78211.
Change-Id: I2117d916e1c4112bfbd667597e32622039040dd0
Reviewed-on: https://go-review.googlesource.com/c/website/+/756501
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
This change:
Removes the draft notice from go1.26.md
Updates the deployment for golangorg to Go 1.26
Adds Go 1.26 to history/release.go
Fixes golang/go#75005.
Change-Id: I3dc8457a3ec0fa2e3909b3592afe29db586db73a
Reviewed-on: https://go-review.googlesource.com/c/website/+/743900
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
|
|
Markdown files are no longer treated as Go templates by default.
Pages that need template processing must explicitly set
"template: true" in their front matter.
This prevents unintended HTML escaping of template-like syntax
(e.g., "<" and ">") in Markdown content.
Fixes golang/go#75552
Change-Id: If00328831cd6b119043d9c2055fd21076943e2c4
Reviewed-on: https://go-review.googlesource.com/c/website/+/733500
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>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
By now the supported and tested Go versions are Go 1.25 and 1.24.
Update the website deployment to start using the Go 1.25 runtime.
See https://cloud.google.com/appengine/docs/standard/lifecycle/support-schedule#go.
Change-Id: I5e86431be0665f1d7f104b79a547baf5566bba89
Reviewed-on: https://go-review.googlesource.com/c/website/+/695996
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
|
|
This change:
Removes the draft notice from go1.25.md
Updates the deployment for golangorg to Go 1.25
Adds Go 1.25 to history/release.go
For golang/go#71661
Change-Id: I1b74a1a92c47f6044a43ac2dd4609e7a52f11b45
Reviewed-on: https://go-review.googlesource.com/c/website/+/695375
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Bypass: David Chase <drchase@google.com>
|
|
We emit a <div class=markdown> around the whole output of goldmark,
so that CSS style rules can easily select them (without affecting
HTML tables in the spec, for example).
The default style for markdown tables now has thin grey lines,
grey headings, and a little padding.
Also, remove the FS middleware used to inject default.tmpl
into x/tools/gopls/doc, since that file is now actually present.
And add it to the fake data at _content/gopls/doc.
Fixes golang/go#67368
Change-Id: If91e702c394d73a181bd780711e8be6f661f2e59
Reviewed-on: https://go-review.googlesource.com/c/website/+/691616
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>
Auto-Submit: Alan Donovan <adonovan@google.com>
|
|
Rather than serving docs at the gopls release itself, this CL
causes us to serve whatever is on the release branch. This allows
us to cherrypick doc fixes into the branch without all the fuss
of a gopls release.
Change-Id: I5f99458407388747a093219cac16e178f28ba527
Reviewed-on: https://go-review.googlesource.com/c/website/+/691415
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Alan Donovan <adonovan@google.com>
|
|
I forgot that "Gopls: Home" is not the string that appears
in the actual site. Sigh.
Updates golang/go#68977
Change-Id: Idfc0ab7412d84212aa91848aae5edcbca54444ff
Reviewed-on: https://go-review.googlesource.com/c/website/+/686820
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Commit-Queue: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
(The new file structure won't appear until the gopls 20 release,
and this causes AppEngine deployment to fail.)
Updates golang/go#68977
Change-Id: I2e9a7222bb3cada1f32be4da6614c135fec14815
Reviewed-on: https://go-review.googlesource.com/c/website/+/686819
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>
|
|
Use the Settings doc instead of Dummy for the assertion,
since it must pass both locally and in AppEngine deployment.
Also, link to new gopls docs.
Updates golang/go#68977
Change-Id: I8c1696c842617eb58005d94dc123aff6db6791dc
Reviewed-on: https://go-review.googlesource.com/c/website/+/686915
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>
|
|
The go.dev/gopls endpoint serves the gopls/doc
directory at the latest release of gopls;
the tip.golang.dev/gopls endpoint serves the latest
x/tools commit.
The GOLANGORG_LOCAL_X_TOOLS environment variable specifies
a local directory, overriding the use of git,
for previewing local doc changes.
Also, a command to recursively check links within the
go.dev/gopls subtree.
Fixes golang/go#68977
Change-Id: I5d92e6f0e5fdbed721a57f0a1ace2ac98e562fc8
Reviewed-on: https://go-review.googlesource.com/c/website/+/685635
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>
|
|
By now the supported and tested Go versions are Go 1.24 and 1.23.
Update the website deployment to start using the Go 1.23 runtime.
See https://cloud.google.com/appengine/docs/standard/lifecycle/support-schedule#go.
Change-Id: I714843c6e984f3ff13049dd92e1b998c6265003e
Reviewed-on: https://go-review.googlesource.com/c/website/+/655656
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
|
|
The go.mod file enforces Go 1.23.0 or higher.
Also drop the obsolete skip for /doc/godebug.
For golang/go#54200.
Change-Id: Iaab9bf954dfae72074b5c9b7cdfd5128871e62d6
Reviewed-on: https://go-review.googlesource.com/c/website/+/655655
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: Robert Findley <rfindley@google.com>
|
|
The month and year alone should be enough granularity for the purpose
of the introduction to Go 1.24. In this case, February 2025 refers to
when the go1.24.0 major release came out, but we released pre-release
versions even before then. Link to the dedicated release history page
where full details and exact dates can be found.
Add a test so we don't forget.
For golang/go#68545.
Fixes golang/go#54170.
Change-Id: Ia2bceee9208094b0623add6696585592f4399893
Reviewed-on: https://go-review.googlesource.com/c/website/+/654015
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>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
|
|
FileInfo.Name returns the base name, not the path. Here we need
the path.
This makes "go run ." from cmd/golangorg directory work again.
Change-Id: Iec7533758cf8a696a2696c28107caebf84bbed91
Reviewed-on: https://go-review.googlesource.com/c/website/+/648575
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>
|
|
Start using the GOROOT content from release-branch.go1.24, and add an
entry for the Go 1.24.0 release to the release history.
Removing the draft notice from the release notes is done in CL 647797.
For golang/go#68545.
Change-Id: Ib30082d4dcc0afaadcf22ba07e5e5f7e3f4761bc
Reviewed-on: https://go-review.googlesource.com/c/website/+/648498
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
|
|
The /issue and its alias /issues subtrees were missed in CL 634915.
Also group related subtrees together.
For golang/go#58484.
Change-Id: I598e2c7aa70f56bdfd3ec069347dca3d96f8e6d5
Reviewed-on: https://go-review.googlesource.com/c/website/+/636215
Reviewed-by: David Chase <drchase@google.com>
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>
|
|
This makes links in package docs work better.
Fixes golang/go#58484.
Change-Id: Ie399bf94262b0aaeb5eed7c0ef18a2a938e9ef7c
Reviewed-on: https://go-review.googlesource.com/c/website/+/634915
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>
|
|
The test already requires "https://go.dev/page" links to be written as
relative "/page" ones; it looks like an oversight not to do that right
away in these two cases.
Change-Id: I81f16e6b30db31351cf4bbe941ed01de969d6cd3
Reviewed-on: https://go-review.googlesource.com/c/website/+/633855
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: Ian Lance Taylor <iant@google.com>
|
|
While running go test -vet=all I saw a failure from unreachable code,
which lead me to run deadcode on the entire repo.
Change-Id: I20a7cd83f54595d12d46d1bdb714975e1efaf5e3
Reviewed-on: https://go-review.googlesource.com/c/website/+/633895
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
https://go.dev/issue/new already redirects to GitHub's issue tracker
with the "/choose" suffix, and
https://go.dev/issue/new/choose is 404.
Improve the test to handle this case and suggest the right fixed URL.
Change-Id: I15a7c80f0acbe3b24f834a6b87282b25cb4e4ea0
Reviewed-on: https://go-review.googlesource.com/c/website/+/633835
Reviewed-by: Michael Knyszek <mknyszek@google.com>
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>
|
|
Remove the Go version HTML from the screenshot so the test will
pass. The version mismatch is an artifact of the test setup.
Also, have screentest warn about using eval with quoted expressions.
I was doing this and couldn't understand why my fix to the learn
test wasn't working.
Lastly, describe how we could add a feature that shows the result
of evaluating each expression. My buggy version of this feature
helped me diagnose the above problem, but a proper implementation
is harder and not worth it now.
Change-Id: I411717cd2aafab97193082a392bcd792bd3c7534
Reviewed-on: https://go-review.googlesource.com/c/website/+/631715
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
- Document the preference for headless-shell, the stripped-down
Chrome binary. It is more reliable.
- Clarify output, reduce vertical whitespace.
- Fix race condition.
Change-Id: I8d879bf4442a089e1b3eeb47074c76fe46e87a53
Reviewed-on: https://go-review.googlesource.com/c/website/+/628056
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
The special case added in a previous CL is not the problem.
In general, waiting for components to render is a better solution.
Change-Id: Iadecccea7862db0cbfcfc525392b8859b78dda6d
Reviewed-on: https://go-review.googlesource.com/c/website/+/628055
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
That part of a URL is properly called a path.
Change-Id: I4ce1765e99a3e2d76bb600b90cdc4fd6f6e320f1
Reviewed-on: https://go-review.googlesource.com/c/website/+/627601
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
This is the first CL that makes breaking changes to screentest.
Breaking changes to commands are permitted by the Go compatibility
guarantee. Furthermore, this repo is at major version 0, and I found
no uses of screentest anywhere in the open source ecosystem or Google's
internal codebase, other than in this repo and x/pkgsite.
The changes include:
- Formerly deprecated script features, like the compare, output
and header directives, are now errors.
- The test and want URLs are now required, so they are arguments
instead of flags.
- Instead of taking a glob which is expanded by the program, screentest
now behaves like a normal Unix command and accepts a list of files,
leaving glob expansion to the shell. (The internal globbing was a
remnant of modeling the internal/screentest package on
internal/webtest, where globbing makes sense.)
Change-Id: Ie851705a5c5e37c1934c164360fb523f62888455
Reviewed-on: https://go-review.googlesource.com/c/website/+/627060
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
Modify the screen tests for cmd/golangorg to remove the 'compare'
directives.
Also move the test files under cmd/golangorg; it didn't make sense
to have them under cmd/screentest.
These changes mean the `screentest` command requires some arguments,
so provide a shell script to pass them.
Change-Id: I162aae6d66d93d8f7cc783ab54bf69355ee2ca56
Reviewed-on: https://go-review.googlesource.com/c/website/+/627056
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
By now, the /js/godocs.js and /js/playground.js scripts are already
loaded on all go.dev pages because they're included at the bottom of
the root site.tmpl template. The layout template for blog pages also
loads those scripts.
That means /js/godocs.js runs twice, and that causes duplicate anchor
links to be added to article headings.
Remove the duplicate scripts, keeping only play.js which isn't already
present in site.html. Update it to reuse the existing window.initFuncs
mechanism.
For golang/go#68596.
For golang/go#69816.
Change-Id: I709f4b8df30500bddbbf16f4ddd95f266f290472
Reviewed-on: https://go-review.googlesource.com/c/website/+/619015
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This reverts CL 556096.
Reason for revert: playground outage has been mitigated.
Change-Id: Ib8881259c5327e28f9842c7c7aa766340f204e98
Reviewed-on: https://go-review.googlesource.com/c/website/+/556275
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>
|
|
These tests are causing the go.dev deployment to fail due to
golang/go#65081.
Change-Id: I3585079098064680ef1a65494e7bc7c272956fa8
Reviewed-on: https://go-review.googlesource.com/c/website/+/556096
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
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>
|
|
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>
|
|
old wiki contained "Wiki: Index",
now it contains " Wiki: Home"
Update the "loading..." copy to match.
Change-Id: I27f5831d725dbeda8e33a5163edcbba58b8f6a38
Reviewed-on: https://go-review.googlesource.com/c/website/+/552975
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Run-TryBot: David Chase <drchase@google.com>
|
|
Insist on the canonical /issue/ and /wiki/ links instead.
Change-Id: I7a2eedda69bc3fcd11466722a41f00c9dbaf283f
Reviewed-on: https://go-review.googlesource.com/c/website/+/550323
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>
|
|
For not having been able to run this before submitting,
I was *so* close.
For golang/go#61940.
Change-Id: Ifb14b1ec35f731e7e886956ad422f92122625a38
Reviewed-on: https://go-review.googlesource.com/c/website/+/550135
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>
|