-
Notifications
You must be signed in to change notification settings - Fork 346
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
Adds go module support /v4 #41
Conversation
- no need for GOPATH
To be completely honest, I do not see a big advantage of doing this now. There was an initial wave of people coming over from the old repo to this one now because of the fact that GitHub introduced dependency / security updates for Go, so they were triggered by the dependant security alert of the CVE that was fixed in 3.2.1. Yes of course there were some issues, especially with transitive dependencies, but that was to be expected. I would suggest to let this be settled, take a few weeks to give also major projects to move the dependency over to this project for the 3.2.1. Then we need to fix #40, which could be considered a security fix in some undesired configurations and give people a chance to easily move from 3.2.1 to 3.2.2. IMHO, creating a v4 release now would just add more chaos instead of actually doing any good. But this is just my 2 cents. |
I am inclined to agree. Adding a go mod does not require v4. Though I would love to see the go mod added |
adding a go.mod without changing the import path is a breaking change (please don't!) without a go.mod, modules will allow the module (with |
Ah you are right sorry. I forgot the version was already at 3. Then yes we need to bump the version but vote then to wait to get all the inflight stuff done at the same time before tagging 4 |
Yes, I think that would make sense;
Step It would mean though that if there are plans to introduce breaking changes, a
|
I agree with some of these points, but waiting it just fighting the inventible. Also the earlier we do it, the fewer folks will have to migrate (if they so choose). It's unfortunate that we're forced into a SIV style import, but this is the landscape of Go modules. My 2 cents is the sooner we can adopt modules the less painful it will be. @thaJeztah wrt to point 3:
Suppose we merge this PR, and then tag a v4.0.0 on If I understood you correctly, you're suggesting we add/maintain |
No
I would consider
I have quite a love/hate relationship with go modules, but in general agree that it would be good to move to modules (v4) as soon as possible. Under "regular" circumstances, I would say; merge and move, but if #40 is indeed a security fix, I would highly recommend doing the move to v4 after that is merged. Security releases should have as little friction as possible, and requiring users to accept a breaking change (move to v4, and because of that incompatible with all existing uses of the module), definitely will cause considerable more friction, so if it's possible to postpone that move until after #40 is merged, please do so (again, assuming that's a security fix that users may need to have). Looking at this PR w.r.t. "pros/cons" to move to modules "ASAP";
|
Thanks for the detailed response. One more 👍 I'd give is to solve transitive dependancy issues esp. when using I pushed a |
Thank you so much! Have a great weekend 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am still not completely happy with this (not with the PR, but with the whole situation), but I approve :)
@mfridman Could you please remove #32 from the list of linked issues (I somehow lack the permissions to do so), because this issue relates to the missing multiple strings in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do it.
@oxisto I won't be able to prepare a release for a few hours (meetings/day job). Any chance yourself or one of the other maintainers can prepare up a |
Introduces modules support with with
/v4
SIVfixes #5 #3 #30