website/cmd/googlegolangorg
Dmitri Shuralyov 02b70d4b2e cmd/googlegolangorg: remove go-source meta tag where unnecessary
pkg.go.dev doesn't need the go-source meta tag to be set when the source
repository is hosted on GitHub; it detects that from the go-import meta
tag and does the rest itself. Only the protobuf repo still needs it:
its canonical source repository is on Gerrit but it prefers a mirror
repository on GitHub to be used for viewing the source code.

Also make the redirect message nicer, like CL 293415 did for
golang.org/x repos.

Change-Id: I489f17163fb574e0fb8edb8575af8b66ca7e5251
Reviewed-on: https://go-review.googlesource.com/c/website/+/485355
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-04-19 17:54:38 +00:00
..
.gcloudignore cmd/{admingolangorg,googlegolangorg}: update App Engine runtime to Go 1.19 2022-12-15 22:34:36 +00:00
README.md cmd/googlegolangorg: make google.golang.org a separate service 2021-06-16 18:39:28 +00:00
app.yaml cmd/{admingolangorg,googlegolangorg}: update App Engine runtime to Go 1.19 2022-12-15 22:34:36 +00:00
main.go cmd/googlegolangorg: remove go-source meta tag where unnecessary 2023-04-19 17:54:38 +00:00

README.md

This trivial App Engine app serves the small meta+redirector HTML pages for https://google.golang.org/. For example:

The page includes a meta tag to instruct the go tool to translate e.g. the import path "google.golang.org/appengine" to "github.com/golang/appengine". See go help importpath for the mechanics.

To update the public site, run:

gcloud app --project=golang-org deploy --promote app.yaml