golang / gddo

Go Doc Dot Org
https://godoc.org
BSD 3-Clause "New" or "Revised" License
1.1k stars 266 forks source link

all: deploy with Go 1.12 #603

Closed dmitshur closed 5 years ago

dmitshur commented 5 years ago

Now that Go 1.12 is out, gddo should be updated for it. This involves:

Previously #572 for Go 1.11.

/cc @andybons @shantuo @julieqiu

myitcv commented 5 years ago

@dmitshur has this landed yet? (there doesn't appear to be a way from a godoc.org page to see what version of Go is in use)

Either way, there appears to be an issue with the search index again

Screen Shot 2019-03-14 at 11 16 28

Possibly a repeat of https://github.com/golang/gddo/issues/508

dmitshur commented 5 years ago

Thanks for reporting. The search index issue is a known consequence of the deploy not being done yet, as reflected by the status of this issue. It should be resolved when the deploy is done.

(there doesn't appear to be a way from a godoc.org page to see what version of Go is in use)

You’ll be able to tell when it’s done when https://godoc.org/cmd/go/internal/renameio displays package documentation rather than 404 (it’s a package that’s new to 1.12).

myitcv commented 5 years ago

Thanks for confirming this issue is still outstanding.

You’ll be able to tell when it’s done when https://godoc.org/cmd/go/internal/renameio displays package documentation rather than 404 (it’s a package that’s new to 1.12).

Perhaps a slightly more robust way of determining the Go version being "run" by godoc.org would be to include the version string in the page footer?

Screen Shot 2019-03-14 at 13 08 20

dmitshur commented 5 years ago

Perhaps a slightly more robust way of determining the Go version being "run" by godoc.org would be to include the version string in the page footer?

I agree, that would be a helpful feature. There's already an open issue tracking it, see https://github.com/golang/gddo/issues/177. I've added your picture illustrating what it can look like there.

dmitshur commented 5 years ago

This is done now.

https://godoc.org/cmd/go/internal/renameio displays the docs for that new package, and searching for fmt, http finds the packages from standard library because they're installed without errors now.

Please let us know if you spot any issues.