-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add a go.mod file #932
Add a go.mod file #932
Conversation
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.
While I don't own this repo, I want to share my view, I'm unhappy with go.mod
. I realize this is where most go
projects are going, but personally I'm uncomfortable supporting a project with go.mod
. This is not my decision here.
0819e3d
to
be3fbb3
Compare
Would you mind sharing the issues with supporting a project with go.mod? It seems simpler than the current state in my eyes, so I am very curious why you prefer the current state. |
Heh, at the risk of making an utter fool of myself, here goes. But first:
My reservations about
Anecdotally I'm a maintainer for a large scale |
@shlomi-noach thanks your your feedback on this!
Yes, Golang 1.16 defaults to assuming you're running
I'd argue you ARE a golang expert 😄
I'm curious if using To my knowledge a dependency disappearing off the internet is resolved by this approach and it also prevents We've been moving towards that approach for most database-related repos at GitHub and haven't had any complaints, but we probably don't spend enough time developing these repos (we mostly run databases) to know all the gotchas that approach might have created At first we avoided |
Do you see now why I said I'm not an expert? 😂 Let me look into it -- thanks for letting me know you're moving towards that approach! |
@shlomi-noach sure, let me know what you think! I'm curious if you can spot any gotchas we didn't think of there To be more clear, this is done in these steps:
|
Some internal discussion in the Vitess team shows people are (obviously) more familiar than myself on this topic. For the Vitess project it looks like an overkill, but for |
Closed in favor of #935 |
A Pull Request should be associated with an Issue.
Related issue: #933
Description
This PR moves gh-ost to use go modules.
script/cibuild
returns with no formatting errors, build errors or unit test errors.