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: package removal request for [type path here] #62341

Closed
sidneycao opened this issue Aug 29, 2023 · 5 comments
Closed

x/pkgsite: package removal request for [type path here] #62341

sidneycao opened this issue Aug 29, 2023 · 5 comments
Labels
pkgsite/package-removal Issues for package removal. See https://pkg.go.dev/about#removing-a-package pkgsite WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@sidneycao
Copy link

What is the path of the package that you would like to have removed?

github.com/SidneyCao/gofile
github.com/SidneyCao/tcping

Are you the owner of this package?

Yes

What is the reason that you could not retract this package instead?

Today i have changed my github accout name from SidneyCao to sidneycao,
and also the pkg path should changed from github.com/SidneyCao/gofile to github.com/sidneycao/gofile or
from github.com/SidneyCao/tcping to github.com/sidneycao/tcping

but now https://pkg.go.dev/ only shows github.com/SidneyCao/* and github.com/sidneycao/* will redirect to github.com/SidneyCao/*, which confused me a lot.

@sidneycao sidneycao added the pkgsite/package-removal Issues for package removal. See https://pkg.go.dev/about#removing-a-package label Aug 29, 2023
@gopherbot gopherbot added this to the Unreleased milestone Aug 29, 2023
@sidneycao
Copy link
Author

Now github.com/sidneycao/* will not redirect to github.com/SidneyCao/, but https://pkg.go.dev/ still not show github.com/sidneycao/.

@seankhliao
Copy link
Member

@sidneycao
Copy link
Author

Now i can see both, but the search result can only show github.com/SidneyCao/*

@bcmills
Copy link
Contributor

bcmills commented Aug 29, 2023

What is the reason that you could not retract this package instead?

When you change your GitHub username, GitHub leaves a redirect from the old repo location to the new one. You should be able to publish a retract directive in the go.mod file in the renamed repo location retracting the range of versions that used the old module path.

Please give that a try and let us know whether it works.

@bcmills bcmills added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 29, 2023
@sidneycao
Copy link
Author

It worked! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkgsite/package-removal Issues for package removal. See https://pkg.go.dev/about#removing-a-package pkgsite WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants