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
code.google.com is shutting down so update the dep #16054
Conversation
Or review #16032 :) |
@@ -18,7 +18,7 @@ clone git github.com/microsoft/hcsshim 7f646aa6b26bcf90caee91e93cde4a80d0d8a83e | |||
clone git github.com/mistifyio/go-zfs v2.1.1 | |||
clone git github.com/tchap/go-patricia v2.1.0 | |||
clone git golang.org/x/net 3cffabab72adf04f8e3b01c5baf775361837b5fe https://github.com/golang/net.git | |||
clone hg code.google.com/p/gosqlite 74691fb6f837 | |||
clone git github.com/mxk/go-sqlite 167da9432e1f4602e95ea67b67051cfa34412e3f |
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.
is there a commit that's closer to the original? there's a lot of code change.
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.
As far as time is concerned, mxk/go-sqlite@1ad6fca is pretty close to what we were using before. (May 30, 2013 vs May 25, 2013; https://code.google.com/p/gosqlite/source/detail?r=74691fb6f83716190870cde1b658538dd4b18eb0)
Not sure if that actually means anything, and haven't had a chance to check the code diff yet.
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.
ya i dont think it does :/ i tried to see the commits to the hq repo, but they dont align, however they were pointing people to use this repo, so its semi weird...
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.
Do you happen to have a link to where they suggest using this particular repo? I can't find any suggestion like that myself. 😢
Alternatively, we could switch over to go-sqlite3
completely (#15387 (comment)).
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.
https://code.google.com/p/go-sqlite/
On Thu, Sep 3, 2015 at 5:18 PM, Tianon Gravi notifications@github.com
wrote:
In hack/vendor.sh
#16054 (comment):@@ -18,7 +18,7 @@ clone git github.com/microsoft/hcsshim 7f646aa6b26bcf90caee91e93cde4a80d0d8a83e
clone git github.com/mistifyio/go-zfs v2.1.1
clone git github.com/tchap/go-patricia v2.1.0
clone git golang.org/x/net 3cffabab72adf04f8e3b01c5baf775361837b5fe https://github.com/golang/net.git
-clone hg code.google.com/p/gosqlite 74691fb6f837
+clone git github.com/mxk/go-sqlite 167da9432e1f4602e95ea67b67051cfa34412e3fDo you happen to have a link to where they suggest using this particular
repo? I can't find any suggestion like that myself. [image: 😢]Alternatively, we could switch over to go-sqlite3 completely (#15387
(comment)
#15387 (comment)).—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/16054/files#r38711350.
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.
I'm tryinng that sha tho
On Thu, Sep 3, 2015 at 5:19 PM, Jessie Frazelle jess@docker.com wrote:
https://code.google.com/p/go-sqlite/
On Thu, Sep 3, 2015 at 5:18 PM, Tianon Gravi notifications@github.com
wrote:In hack/vendor.sh
#16054 (comment):@@ -18,7 +18,7 @@ clone git github.com/microsoft/hcsshim 7f646aa6b26bcf90caee91e93cde4a80d0d8a83e
clone git github.com/mistifyio/go-zfs v2.1.1
clone git github.com/tchap/go-patricia v2.1.0
clone git golang.org/x/net 3cffabab72adf04f8e3b01c5baf775361837b5fe https://github.com/golang/net.git
-clone hg code.google.com/p/gosqlite 74691fb6f837
+clone git github.com/mxk/go-sqlite 167da9432e1f4602e95ea67b67051cfa34412e3fDo you happen to have a link to where they suggest using this particular
repo? I can't find any suggestion like that myself. [image: 😢]Alternatively, we could switch over to go-sqlite3 completely (#15387
(comment)
#15387 (comment)).—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/16054/files#r38711350.
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.
Wow, I obviously can't read. 😳
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.
It is really crazy that it doesn't have the proper hg
history imported though. I can't imagine why they wouldn't.
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.
right its so weird!
On Thu, Sep 3, 2015 at 5:24 PM, Tianon Gravi notifications@github.com
wrote:
In hack/vendor.sh
#16054 (comment):@@ -18,7 +18,7 @@ clone git github.com/microsoft/hcsshim 7f646aa6b26bcf90caee91e93cde4a80d0d8a83e
clone git github.com/mistifyio/go-zfs v2.1.1
clone git github.com/tchap/go-patricia v2.1.0
clone git golang.org/x/net 3cffabab72adf04f8e3b01c5baf775361837b5fe https://github.com/golang/net.git
-clone hg code.google.com/p/gosqlite 74691fb6f837
+clone git github.com/mxk/go-sqlite 167da9432e1f4602e95ea67b67051cfa34412e3fIt is really crazy that it doesn't have the proper hg history imported
though. I can't imagine why they wouldn't.—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/16054/files#r38711689.
510e1a6
to
6705943
Compare
the diff is so completely different idk |
maybe we should just use something else :/ |
Yeah, that's why I suggested we should consider/test mattn's go-sqlite3
that we're already importing. 👍
|
ooo yeah i will pop it out i didnt know if there is a reson we werent using it already |
There was, but it's been shown to work successfully for packaging needs, so
I'm +1. 👍
|
6705943
to
5efd2ea
Compare
cool! updated! |
@@ -3,5 +3,5 @@ | |||
package graphdb | |||
|
|||
import ( | |||
_ "code.google.com/p/gosqlite/sqlite3" // registers sqlite | |||
_ "github.com/github.com/mattn/go-sqlite3" // registers sqlite |
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.
github.com/github.com
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.
ah i was too slow to fix and you saw it :ashamed:
On Thu, Sep 3, 2015 at 5:40 PM, Tianon Gravi notifications@github.com
wrote:
In pkg/graphdb/conn_sqlite3_unix.go
#16054 (comment):@@ -3,5 +3,5 @@
package graphdbimport (
- _ "code.google.com/p/gosqlite/sqlite3" // registers sqlite
- _ "github.com/github.com/mattn/go-sqlite3" // registers sqlite
github.com/github.com
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/16054/files#r38712452.
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
5efd2ea
to
4a864a7
Compare
it works! |
omg @LK4D4 will be excited we only have 1 sqlite package now 🎊 |
LGTM |
LGTM |
code.google.com is shutting down so update the dep
There's a warning when running
|
It's fixed in another pr On Sat, Sep 5, 2015 at 9:07 PM -0700, "Shijiang Wei" notifications@github.com wrote: There's a warning when running make binary. ---> Making bundle: binary (in bundles/1.9.0-dev/binary) github.com/docker/docker/docker/var/tmp/go-link-pJY0ZF/000006.o: In function `unixDlOpen': — |
It is just a warning tho we do not use dlopen On Sat, Sep 5, 2015 at 9:07 PM -0700, "Shijiang Wei" notifications@github.com wrote: There's a warning when running make binary. ---> Making bundle: binary (in bundles/1.9.0-dev/binary) github.com/docker/docker/docker/var/tmp/go-link-pJY0ZF/000006.o: In function `unixDlOpen': — |
I see. It's #16094 |
ping @tianon