Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

add a magic 'there's a new version to download' string to b2d-cli version #69

Closed
SvenDowideit opened this issue Mar 14, 2014 · 8 comments

Comments

@SvenDowideit
Copy link
Contributor

ala docker.

and it would be good to indicate the version of docker they're running. Eventually, it would be good to tie the version numbers together

@SvenDowideit
Copy link
Contributor Author

@riobard
Copy link
Contributor

riobard commented Mar 18, 2014

There are three versions we need to show: the boot2docker ISO version, the boot2docker-cli version, and the docker version. For the latter two it's relatively easy to get the version strings locally and compare with the GitHub release tags. I'm not sure how to figure the version of a local ISO image. Any suggestions?

@gmlewis
Copy link
Contributor

gmlewis commented Mar 18, 2014

Maybe we can get @SvenDowideit to add either an MD5 or SHA1 hash to this service:
https://api.github.com/repos/boot2docker/boot2docker/releases
and then we could simply reverse-lookup the hash of the current local ISO to report the version number.

@tianon
Copy link
Contributor

tianon commented Mar 18, 2014

If we can get a very simple ISO file format reader going, there is a "version" file inside that can be used. 7z can get at it trivially, but I think a dep on 7z just to determine the version number of our local ISO would be absurd. :)

@riobard
Copy link
Contributor

riobard commented Mar 18, 2014

@tianon Yeah, that's a bit overkill :)

I like @gmlewis's proposal. The hash of ISO images can be used for integrity check after downloading too, so we get double benefits :) @SvenDowideit will you be able to add a hash to the GitHub releases?

@riobard
Copy link
Contributor

riobard commented Apr 9, 2014

@SvenDowideit is there any plan to add hashes of the ISO files?

@SvenDowideit
Copy link
Contributor Author

yes, a plan exists.

@tianon
Copy link
Contributor

tianon commented Feb 26, 2018

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).

@tianon tianon closed this as completed Feb 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants