-
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/pedroalbanese/edgetk #55882
Comments
Can you elaborate this further? |
Will it work if I start from the latest version? I mean, releasing version 1.2.4, will the directories present in pkg.go.dev/github.com/pedroalbanese/edgetk and previous versions disappear? I need to host the new version of the program under the same name, but without the existing directories in godoc, which are long gone.. That program was my tests program, my vade mecum, which is a prototype that implements various algorithms to test compatibility with other tools. There is no more need to be online and the official tool I want to release does not have such directories. I would like the package to be deleted from version 1.2.3 and below. |
You will need to publish a new version (v1.2.4+) with a go.mod that specifies retraction. |
But this way I would have to specify retraction in all go.mod of all versions from this one? "github.com/pedroalbanese/edgetk@v1.2.4" could not be found. I cannot release new versions. |
Listen, there is documentation referring to the pkg.go.dev website at https://pkg.go.dev/about#adding-a-package. On this page there is a section called "Removing a package" which says: "If you would like to hide versions of a module on pkg.go.dev, as well as from the go command, you should retract them. Retracting a module version involves adding a retract directive to your go.mod file and publishing a new version.See the Go blog post New module changes in Go 1.16 and the modules reference for details. If you cannot retract your module, you can file a request for the pkgsite team to remove your package." As I did three days ago. Well, I need to remove the previous versions of my application and add the latest one. I can't do either one. Note that I fulfill all the requirements for "file a request" here, as the documentation says, ie: I need my module removed and I can't do it by my own means. I don't speak English and I didn't expect to have to explain myself when removing a module that belongs to me, I hope I don't have to beg or wait a week for this. I humbly request that versions prior to 1.2.3 be removed from the server, and version 1.2.4 added. Thanks in advance. |
Here it exists: |
Sorry for all the trouble. I see v1.2.5 was published so it should be the latest. Proxy also agrees. https://proxy.golang.org/github.com/pedroalbanese/edgetk/@latest But for some reason, pkgsite fails to process it. @golang/tools-team @jamalc can you help fogure out why pkgsite doesn't recognize these new versions? |
An issue with usage of the exclude directive in your go.mod file is preventing processing. The exclude directive requires a module path and module version. |
@jamalc What if it don't have a version? Like v0.0.0-something? I don't know what the versions are.. |
Now I managed to update in godoc, but the directories are still there even excluding in go.mod. This removal method does not work. Directories continue on page. |
The submodules only relationship to github.com/pedroalbanese/edgetk is that they share a prefix. The exclude directive has no effect on the pkgsite UI for displaying submodules. If your goal is to keep the module github.com/pedroalbanese/edgetk visible and hide the submodules at github.com/pedroalbanese/edgetk/* we can exclude the paths below from ever being visible on pkg.go.dev. Hiding these modules no affect on what's available via the module proxy. In the future if you decide to use these paths for new packages in the github.com/pedroalbanese/edgetk module, we'll have to un-exclude them. Documentation for these modules will become unavailable on the site. Should I proceed with hiding these paths? github.com/pedroalbanese/edgetk/c509 |
Yes, please hide them. Leave only the cmd directory. Thanks |
Done. |
Thank you very much! |
What is the path of the package that you would like to have removed?
https://pkg.go.dev/github.com/pedroalbanese/edgetk
Are you the owner of this package?
Yes!
What is the reason that you could not retract this package instead?
This folders do not exist anymore and I need the name
Please remove my old package:
https://pkg.go.dev/github.com/pedroalbanese/edgetk?utm_source=godoc
Thanks in advance!
The text was updated successfully, but these errors were encountered: