golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
122.88k stars 17.52k forks source link

x/pkgsite: package removal request for github.com/jwcorle/sqs-extended-client-go #67873

Closed co-go closed 3 months ago

co-go commented 3 months ago

Due to a rename, the path of this package was adjusted when publishing v1.3.5. This package is still public, just under my new username (co-go).

I assumed that pkg.go.dev would redirect/rename the package, but it seems that both github.com/jwcorle/sqs-extended-client-go and github.com/co-go/sqs-extended-client-go are listed as separate packages on pkgsite.

suzmue commented 3 months ago

Removed!

co-go commented 3 months ago

Thanks @suzmue, any guidance on how I could get previous versions to show under the renamed pkg?

It seems that when trying to reference them directly (https://pkg.go.dev/github.com/co-go/sqs-extended-client-go@v1.0.0), I'm redirected to the old name, which now returns the 404.

suzmue commented 3 months ago

The short answer is that its not possible, these are treated as two different modules with two different module paths. Pkgsite organizes the versions by module and we are unlikely to make any changes to that.

Removing the package documentation from pkg.go.dev doesn't however prevent the module from being used, so you should still be able to download/install/depend on the old module versions with the path github.com/jwcorle/sqs-extended-client-go.

co-go commented 3 months ago

Understood. Thanks again!