We all know that cool URIs don't change. But my thing was hosted at github.com/kensanata/oddmu, at alexschroeder.ch/cgit/oddmu, and now it's at src.alexschroeder.ch/oddmu.git … something tells me that using the repository URL was not a cool idea.

$ go install github.com/kensanata/oddmu@latest
go: downloading github.com/kensanata/oddmu v0.0.0-20240301202355-e3ceaf031ef1
go: github.com/kensanata/oddmu@latest: version constraints conflict:
	github.com/kensanata/oddmu@v0.0.0-20240301202355-e3ceaf031ef1: parsing go.mod:
	module declares its path as: alexschroeder.ch/cgit/oddmu
	        but was required as: github.com/kensanata/oddmu

But this also doesn't work:

$ go install alexschroeder.ch/cgit/oddmu@latest
go: alexschroeder.ch/cgit/oddmu@latest: unrecognized import path "alexschroeder.ch/cgit/oddmu": parse https://alexschroeder.ch/cgit/oddmu?go-get=1: no go-import meta tags (meta tag src.alexschroeder.ch/oddmu.git did not match import path alexschroeder.ch/cgit/oddmu)

I guess I have to fix that package name. And – hypothetically! – everybody else who depends on it must also fix it. Or maybe there's some way to save it by using "go mod replace"? Gaaah.
#goLang