-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ipfs-update
design + implementation
#1842
Comments
this is important for 0.3.9 release |
@jbenet we will need some sort of endpoint for the tool to query to discover what versions are available, and where to download them. |
We will need something like:
And each of those hashes would resolve to a directory with a child directory for each architecture. |
How will this work when ipfs has been installed through the system package manager? |
@JJJollyjim thats a good question. there should probably be some code to check for an installation method... Although, we should probably do it similar to how chrome does. You only install with your package manager, but updates happen through the app itself. |
we already have it. in https://github.com/ipfs/distributions/pull/10/files#diff-d2772e81a298311bb7bd125ec42d37deR43 we add a json file to the distributions repo with all the info per version. |
@whyrusleeping where do you get that? From the chromium website:
In fact, my Chrome install (Arch Linux) is a couple of versions old because I haven't updated from the AUR recently. Windows install: Arch install: Assuming you're planning to get Just my thoughts, love what you're doing with IPFS! |
@JJJollyjim ah, yeah. youre right. I got confused with steam. |
@jbenet can i curl dist.ipfs.io/versions or something for that then? |
@whyrusleeping you'll be able to:
this is done but i cant push an example because the network am in is blocking all non-http traffic and i need to setup some cjdns style tunnel to look like HTTP/TLS. |
|
an example will be at: https://ipfs.io/ipfs/QmZiSAYkU7gZtqYeZWL21yuwgFtRnJu1JjDzR6Qd2qdDBr once i'm back at a real network. |
@whyrusleeping it's pushed to git: https://github.com/ipfs/distributions and make. ipfs just needs to look more like http/tls. |
@jbenet could i get a json object or something back from the versions endpoint? having just a list works... but its not as nice |
@whyrusleeping deal with the versions list or PR https://github.com/ipfs/distributions -- i dont have time this week for dev. |
ipfs update is a thing and has shipped! |
(meant to post this last week, apparently i didnt)
ipfs-update
design + implementationipfs-update
is a subtool that updates an ipfs distribution.Requirements:
ipfs update
ipfs-update
ipget
?)ipfs
binary.ipfs-update install <ipfs-0.3.8.tar.gz
)Phases:
dist.ipfs.io
Commands
The text was updated successfully, but these errors were encountered: