-
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 go mod #935
Add go mod #935
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.
Thanks for being willing to accept this change! Now we'll be able to build gh-ost with Go 1.16 without having to revert go build
back to GO111MODULE=auto
(the default in Go 1.15).
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.
Shoot for the stars
👋 @natewernimont-wk this ran into automated testing failures with the following output:
A rollback to I haven't had time to dig into "why", but the command that triggered the problem was:
|
@shlomi-noach this is failing on an error I could use some context around:
It appears that function doesn't exist in That lead me to wondering if a patch was committed to the I'm curious if you had any ideas how this may have happened. I suppose the options are to add it to |
@timvaillancourt right. What I'm suggesting:
I'm just trying to think whether there's been more changes local to |
Related: |
openark/golib#11 is merged, and @timvaillancourt either that |
@shlomi-noach thanks for the PR and background ❤️! I'll look out for this if this PR runs into any other problems 👍 |
This is passing real-world testing as of commit: 71d27d0 If anyone has time to test this on more environments that would be much appreciated! 🙇 |
This has passed several-100 tests on real tables, so I'll merge this 👍 |
* Add a go.mod file * run go mod vendor again * Move to a well-supported ini file reader * Remove GO111MODULE=off * Use go 1.16 * Rename github.com/outbrain/golib -> github.com/openark/golib * Remove *.go-e files * Fix for `strconv.ParseInt: parsing "": invalid syntax` error * Add test for '[osc]' section Co-authored-by: Nate Wernimont <[email protected]>
Thanks for providing go mod for gh-ost! When are we going to have 1.1.5 release for the change? |
Hi @d-bytebase, we're currently investigating a data corruption bug that we believe may have been introduced by an updated dependency in this PR - once we've identified the cause and fixed it, the plan is to put out a new release based on the |
Looks like this change was never been released? Can we cut a release for this PR? Thanks! |
Description
This is a merge PR of the user-submitted PR: #932
Unfortunately this step is required as our
gh-ost
testing won't run on external forksscript/cibuild
returns with no formatting errors, build errors or unit test errors.cc @natewernimont-wk / @shlomi-noach