-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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 github.com/flc1125/go-twca/mid #67567
Comments
@jba Is it currently feasible to hide github.com/flc1125/go-twca/mid (module), but leave github.com/flc1125/go-twca/mid (pkg of github.com/flc1125/go-twca@v1.0.5)? |
No. Exclusions are based on path prefix. |
@flc1125 , it will exclude all the child packages of /flc1125/go-twca/mid also from pkgsite. Is it what you intend ? |
Yes, or if there is anything I need to do that would be more convenient to operate, you can also tell me. @ansaba |
Hi @flc1125! So just to clarify, if we remove the documentation for https://pkg.go.dev/github.com/flc1125/go-twca/mid it will also get rid of the documentation for https://pkg.go.dev/github.com/flc1125/go-twca@v1.0.5/mid (and all other versions of this package). If that works for you we can just delete the documentation for both of these, but the go command will still be able to see both packages. If you do want to have users for https://pkg.go.dev/github.com/flc1125/go-twca@v1.0.5/mid, you probably will want to retract all versions of https://pkg.go.dev/github.com/flc1125/go-twca/mid. I can see that the module proxy has a copy of v1.0.0 for module github.com/flc1125/go-twca/mid (https://proxy.golang.org/cached-only/github.com/flc1125/go-twca/mid/@v/v1.0.0.info) and your documentation for https://pkg.go.dev/github.com/flc1125/go-twca@v1.0.5/mid links to the "latest" version, which is that module you are trying to delete. The go command prefers github.com/flc1125/go-twca/mid to github.com/flc1125/go-twca when matching on the package. To retract all versions of github.com/flc1125/go-twca/mid, you will want to:
And that should take care of it! If you have any questions about this process or any of this didn't make sense feel free to ask. |
@suzmue Hello, I would like to know about this part Sure, here is your translated text: Here are my adjustments and the related versions: |
@suzmue However, I tried importing the mid package, and I found that it works correctly.
|
I think it has resolved my issue. Thank you all very much for your assistance. |
I accidentally published:
github.com/flc1125/go-twca/mid
, but what I actually want to keep is:github.com/flc1125/go-twca
. So please help me delete:github.com/flc1125/go-twca/mid
.I am the owner of the repository, which can be verified through the address.
Thank you very much.
The text was updated successfully, but these errors were encountered: