Description
The use of modules in go-codec introduced more headaches than necessary.
It has been a disaster, and I really wish I had waited until the dust settled before making this module aware, especially since so many people depended on this package and it has the atypical "package name differs from directory name" issue.
I regret jumping on modules that early, and having to constantly try to correct my mistakes.
It seems the dust has settled now and we have the tools to:
- support the simulation of a multi-module repository
We have 2 options:
- Make go/codec its own module using a tag: codec/vX.Y.Z
- Keep go as the only module, using a tag: vX.Y.Z
- Have both as modules using "same'ish" parallel tags (vX.Y.Z and codec/vX.Y.Z) and corresponding go.mod files
I am not sure if 3. above is supported by go modules. I read that a module doesn't include modules within it.
I will appreciate any thoughts on how best to resolve this. I am including references to places where I have seen folks have issues. I hope that you folks can respond and help me settle this once and for all with the best solution.
https://github.com/golang/go/wiki/Modules#publishing-a-release
https://golang.org/wiki/Modules#faqs--multi-module-repositories
@dmitshur
@arizvisa
@bvisness
@HZ89
@bcmills
@amarox
@thepudds
Activity