Uh oh!
There was an error while loading. Please reload this page.
Add support for client binary on upgrade - #242
Conversation
SvenDowideit
commented
Aug 28, 2014
mmm, a couple of things to consider On Linux, this is dangerous - I install my |
nathanleclaire
commented
Aug 28, 2014
Agreed, however I'm not sure what the best way to test this would be. Perhaps with the Github API?
Were you thinking this would be optional as a flag, or something that should prompt the user? |
SvenDowideit
commented
Aug 28, 2014
yup, same GH api request as we make to get the iso version number (and we can amend that one to ask the VM what its version is too..) |
nathanleclaire
commented
Sep 1, 2014
OK, I have added the requested changes:
PTAL @SvenDowideit and @tianon 👍 |
There was a problem hiding this comment.
Capitalise Docker or you'll make James cry.
SvenDowideit
commented
Sep 2, 2014
neat - do you want to do the same for the |
There was a problem hiding this comment.
Docker, and go on, tell them the version they have
SvenDowideit
commented
Sep 2, 2014
this would close boot2docker/osx-installer#63 |
nathanleclaire
commented
Sep 2, 2014
Yes - perhaps in a separate PR - this would over-write the existing (running) executable with the latest release if it is behind? And it would continue to be part of |
nathanleclaire
commented
Sep 2, 2014
OK @SvenDowideit I have implemented the additional feedback! Let me know if I missed anything. One thing I had thought of is - should we move existing |
There was a problem hiding this comment.
What's this blank line here for?
There was a problem hiding this comment.
It's an artifact from vim-go (run goimports on save hook).
SvenDowideit
commented
Oct 14, 2014
@nathanleclaire darn - i presume this got lost in the busyness? |
nathanleclaire
commented
Oct 14, 2014
Yes - finishing it is relatively low hanging fruit but it's too late for this release I'm afraid :( (well, unless the b2d release goes later than the docker 1.3 release) |
If mount fails, let's "modprobe" the partition type and try again
e852ac8 to
46ea9a9Comparenathanleclaire
commented
Dec 13, 2014
Implemented some new stuff (boot2docker-cli binary upgrade) and code review feedback. @SvenDowideit when you get back from vacation and @tianon PTAL |
There was a problem hiding this comment.
Why the random blank line here? 😄
There was a problem hiding this comment.
goimports as an editor hook >_>
There was a problem hiding this comment.
But this doesn't make sense as a goimports change. It's not "remote stuff" being pushed below, it's just other random stdlib imports.
There was a problem hiding this comment.
Must've accidentally added it - I'll fix
There was a problem hiding this comment.
Very wishful thinking, and will likely be very wrong (especially since it doesn't even account for GOARM, let alone the actual ARM version of the current system). Please remove and add a default: case that returns an error like was mentioned above. 😉
There was a problem hiding this comment.
As a side note, this is where using uname -m as a URL component completely breaks down. For example, on my Pogoplug, I get armv5tel, but armv5el is also very much a thing (ie, the bits after the number mark supported features).
tianon
commented
Dec 16, 2014
Lots of little nits, but overall I'm a fan. 👍 |
SvenDowideit
commented
Dec 16, 2014
I'm a big fan :) |
`boot2docker upgrade` will support the Docker client binary, boot2docker-cli binary, and boot2docker ISO now. Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
69e84dd to
11c898cComparenathanleclaire
commented
Dec 16, 2014
Nice revised with the feedback from review. @SvenDowideit@tianon PTAL |
11c898c to
59a7970CompareSigned-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
59a7970 to
4a02ecaCompareThere was a problem hiding this comment.
Can you add console here so we get nice highlights? 👼
ie:
$ command hereoutput hereSigned-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
a173a35 to
b931320CompareSigned-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
tianon
commented
Dec 16, 2014
LGTM |
1 similar comment
daghack
commented
Dec 16, 2014
LGTM |
Add support for client binary on upgrade
Went ahead and implemented this, looking for feedback, how do those file permissions look to you?
ping @SvenDowideit@tianon