-
Notifications
You must be signed in to change notification settings - Fork 889
chore: add /v2 to import module path #9037
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
Conversation
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA 1 out of 2 committers have signed the CLA. |
Not sure how to sign the CLA. We have a corporate CLA for Netflix. |
go mod requires semantic versioning with versions greater than 1.x This was a mechanical update by running: ``` go install github.com/marwan-at-work/mod/cmd/mod@latest mod upgrade ```
@coryb you have to type a comment with
|
Do we need this right now? For the The first version of the product is closed source, so for go module reasons, the two products will never be confused externally. Additional question, Does this mean that anyone importing |
Reading https://go.dev/ref/mod#major-version-suffixes
I will defer judgment to others, but these imports are backwards compatible to the previous v0.x.x. I think the only package that is created for external use is the |
I am not blocking this PR btw, just curious |
I think this only refers to releases within the same major version stream. That document also says:
and
I am pretty fuzzy on the go.mod version requirements myself, I just know that we cant import the latest coder release because it fails:
Anyway, it looks like the PR doesn't work because of several other places where the package name is hard-coded in generators. I fixed the protos and some locations in ./scripts, but there seem to be more. I need to fix my dev environment to run these things locally so probably makes sense for someone else to recreate this work, or patch my PR. |
Ooof this is enough validation for me. We have a few generators yea 😢 |
Doing #9072 instead |
closing in favor of #9072 |
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running: