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:https://pkg.go.dev/github.com/dgoffredo/go-batch/batch #41661

Closed
dgoffredo opened this issue Sep 27, 2020 · 2 comments
Closed

x/pkgsite:https://pkg.go.dev/github.com/dgoffredo/go-batch/batch #41661

dgoffredo opened this issue Sep 27, 2020 · 2 comments
Labels
FrozenDueToAge pkgsite/package-removal Issues for package removal. See https://pkg.go.dev/about#removing-a-package pkgsite

Comments

@dgoffredo
Copy link

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/dgoffredo/go-batch/batch

What is your user agent?

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Screenshot

Screenshot from 2020-09-27 15-42-09

What did you do?

I searched for my recently-created Go package, and the website says that my project does not have one of the whitelisted licenses. I then changed the license (from SQLite to Unlicense), and waited a while (caches, I figure) before refreshing on multiple browsers. pkg.go.dev still doesn't like the license. You can see that my project uses the Unlicense here: https://github.com/dgoffredo/go-batch/blob/master/LICENSE.md.

What did you expect to see?

I expected to see a rendering of my projects documentation, as is currently shown on the older website https://godoc.org/github.com/dgoffredo/go-batch/batch.

What did you see instead?

I saw the aforementioned license restriction message.

@gopherbot gopherbot added this to the Unreleased milestone Sep 27, 2020
@jamalc
Copy link

jamalc commented Sep 28, 2020

Your module is not valid because its path is incorrectly declared in your go.mod file. The about page has more information on adding a package to pkg.go.dev. You can see details when you attempt to download your module from the module proxy with the steps listed.

❯ GOPROXY=https://proxy.golang.org GO111MODULE=on go get github.com/dgoffredo/go-batch
go: github.com/dgoffredo/go-batch upgrade => v0.0.0-20200927192038-4d50eff3369e
go get: github.com/dgoffredo/go-batch@v0.0.0-20200927192038-4d50eff3369e: parsing go.mod:
	module declares its path as: github.com/dgoffredo/go-batch/batch
	        but was required as: github.com/dgoffredo/go-batch

Once you've updated the go.mod file go get the new version through the module proxy. After a few minutes the documentation should be visible on pkg.go.dev.

@jamalc jamalc closed this as completed Sep 28, 2020
@dgoffredo
Copy link
Author

Following your instructions resolved the issue, thank you.

@hyangah hyangah added the pkgsite/package-removal Issues for package removal. See https://pkg.go.dev/about#removing-a-package label May 20, 2022
@golang golang locked and limited conversation to collaborators May 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge pkgsite/package-removal Issues for package removal. See https://pkg.go.dev/about#removing-a-package pkgsite
Projects
None yet
Development

No branches or pull requests

5 participants