Restructuring Go modules version approach #503
Replies: 3 comments 4 replies
-
I'm in agreement.
…On Thu, Apr 4, 2024, 2:41 PM Christopher Puschmann ***@***.***> wrote:
@johnweldon <https://github.com/johnweldon> What do you think about both
points?
—
Reply to this email directly, view it on GitHub
<#503 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMOWT5VIOEAYC2A2EHZATY3XCIBAVCNFSM6AAAAABFTY5APKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMJUHAYDG>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I think there's a simpler option with a better outcome:
This solves the problem of having two copies of the code immediately, should be transparent to users, and so doesn't require a major version bump. The reasons it should be transparent to users are: A) For Go modules users, this is just shifting between two different permitted represenations of B) For legacy GOPATH users, if any still exist, it's still transparent, as Go versions 1.9.7+, 1.10.3+, and 1.11 added transitional support for consuming code that has migrated to modules from GOPATH mode, even when it has a v2+ major version. Since go-ldap itself has since moved on to requiring Go 1.14+ anyway, we can depend on users having this functionality. In this way, we can simplify away the additional copy of the code immediately, without needing a user-visible deprecation timeline. |
Beta Was this translation helpful? Give feedback.
-
As discussed in #502 and #467
What do you think @cpuschma ?
Beta Was this translation helpful? Give feedback.
All reactions