Re:Go’s Major Versioning Sucks – From a Fanboy
by infogulch on Wednesday September 16, 2020 @12:13AM
(#24489464)
If you write something for internal use and can enforce version upgrades could you not just keep the last, say, 3 versions in the repo HEAD and delete folders v1-v20? Between go.mod and go.sum, historical dependencies will still resolve fine because they point at the old commit. If you know you will never release another patch for a particular major version I think you could just drop the directory from the repo.
[ Parent
| on HN ]
There are no comments on this comment yet.