-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
deps: bump go-libedit #38345
deps: bump go-libedit #38345
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.
Reviewed 2 of 2 files at r1.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @benesch)
Thanks @knz! Unfortunately it looks like we need to also teach the go-libedit .gitignore file to ignore zcgo_flags files (knz/go-libedit#18). I wrestled with dep for a while but couldn't figure out any other solution. (Without that PR, |
rebasing pr |
Ok, so once knz/go-libedit#18 is in place, we need to bump this PR to include that commit and also apply this diff to Gopkg.toml: diff --git a/Gopkg.toml b/Gopkg.toml
index 456f6c329f..d2455825e8 100644
--- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -25,6 +25,12 @@ ignored = [
"github.com/google/protobuf/examples/tutorial",
]
+noverify = [
+ # We generate Go code with cgo configuration flags into go-libedit in order
+ # to link against our own version of libedit.
+ "github.com/knz/go-libedit/unix"
+]
+
# The collation tables must never change.
[[constraint]]
name = "golang.org/x/text" That ensures that we can generate zcgo_flags files into our vendored copy of go-libedit without causing Git to complain about untracked files, or causing dep to complain that there are extra files in go-libedit. |
Woohoo, thanks @knz! Note that you'll need to run |
done |
Scratch that bit about needing to re-run diff --git a/Gopkg.toml b/Gopkg.toml
index 456f6c329f..7bb3d5483e 100644
--- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -25,6 +25,12 @@ ignored = [
"github.com/google/protobuf/examples/tutorial",
]
+noverify = [
+ # We generate Go code with cgo configuration flags into go-libedit in order
+ # to link against our own version of libedit.
+ "github.com/knz/go-libedit"
+]
+
# The collation tables must never change.
[[constraint]]
name = "golang.org/x/text"
|
Requested by @benesch, needed for bug fixes. Release note: None
wait how is that different? |
5631894
to
d89efca
Compare
It doesn't have the trailing Anyway, not to worry! I still have the commit bit here apparently so I was able to update the patch accordingly. 🤞 |
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.
LGTM if it LGTY, @knz!
let's fly! bors r+ |
38345: deps: bump go-libedit r=knz a=knz Requested by @benesch in #32623 (comment), needed for bug fixes. Release note: None Co-authored-by: Raphael 'kena' Poss <knz@cockroachlabs.com>
Build succeeded |
Requested by @benesch in #32623 (comment), needed for bug fixes.
Release note: None