Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/pkgsite: cannot refresh documentation locally #54479

Open
elagergren-spideroak opened this issue Aug 16, 2022 · 2 comments
Open

x/pkgsite: cannot refresh documentation locally #54479

elagergren-spideroak opened this issue Aug 16, 2022 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite
Milestone

Comments

@elagergren-spideroak
Copy link

elagergren-spideroak commented Aug 16, 2022

What version of Go are you using (go version)?

$ go version
go version go1.19 darwin/amd64

Does this issue reproduce with the latest release?

This is the latest release.

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/Users/x/gopath/bin"
GOCACHE="/Users/x/Library/Caches/go-build"
GOENV="/Users/x/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/x/gopath/pkg/mod"
GONOPROXY="*.x.com,*.ys.com"
GONOSUMDB="*.x.com,*.y.com"
GOOS="darwin"
GOPATH="/Users/x/gopath"
GOPRIVATE="*.x.com,*.y.com"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.19"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/x/git/pkgsite/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/2b/74fz3jhd4wz4vnbf4z7ywzww0000gp/T/go-build2601878760=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

  1. Built the current master (ec5474e46b1e482b25ca9f24e124da8363c5c1f5) with Go 1.19.
  2. Ran pkgsite -list=false inside a local module.
  3. Edited a file.

What did you expect to see?

The documentation changes reflected.

What did you see instead?

They were not.


It seems this behavior is because module information is cached but never updated. It seems it could be updated by appending @master or @main, but this runs into #54478. Even if that were to work, I'm using a different dev branch (not master or main), which is #41312.

When run locally in a module, at least, x/pkgsite should update module information regularly, similar to gddo. (Which makes this related to #50229, but I see them as separate issues.)

@gopherbot gopherbot added this to the Unreleased milestone Aug 16, 2022
@elagergren-spideroak
Copy link
Author

elagergren-spideroak commented Aug 16, 2022

@gopherbot, please add label pkgsite and remove label documentation

@findleyr findleyr changed the title x/pkgstite: cannot refresh documentation locally x/pkgsite: cannot refresh documentation locally Aug 17, 2022
@jamalc
Copy link

jamalc commented Aug 29, 2022

Related to #40371.

@jamalc jamalc modified the milestones: Unreleased, pkgsite/later Aug 29, 2022
@jamalc jamalc added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite
Projects
None yet
Development

No branches or pull requests

3 participants