Skip to content
This repository has been archived by the owner. It is now read-only.

How can IPFS deal with the latest version of a datum? #192

Closed
piotr-yuxuan opened this issue Oct 28, 2016 · 5 comments
Closed

How can IPFS deal with the latest version of a datum? #192

piotr-yuxuan opened this issue Oct 28, 2016 · 5 comments
Labels

Comments

@piotr-yuxuan
Copy link

piotr-yuxuan commented Oct 28, 2016

First, thank you for IPFS, it seems to be a definitely fun and perhaps promising idea :-)

Any document is dynamic most of the time: its URL can change and so can its content itself. IPFS hashes solves the first part but how can we retrieve the latest available version of a document?

To the best of my knowledge, tree-based version control system (such as git) makes it trivial to access to parents of a document but further revisions are less easily accessible.

@leroycep
Copy link

leroycep commented Oct 30, 2016

The IPNS (InterPlanetary Name Space) solves the issue of accessing the latest document. It is described near the end of the IPFS white paper.

Every user is assigned a namespace at /ipns/<NodeId>. Then a user can put new files at places underneath this, like /ipns/<NodeId>/cat.gif, which would link to a IPFS content address in its metadata.

@fasiha
Copy link

fasiha commented Nov 19, 2016

Here’s a tidy summary how people accomplish this: https://ipfs.io/ipfs/QmdPtC3T7Kcu9iJg6hYzLBWR5XCDcYMY7HV685E3kH3EcS/2015/09/15/hosting-a-website-on-ipfs/ 😊

@piotr-yuxuan
Copy link
Author

piotr-yuxuan commented Jan 13, 2017

Great thank you for your explanations, I can close it.

@RichardLitt
Copy link
Contributor

RichardLitt commented Jan 18, 2017

Let's keep this open to make it more easily searchable. Adding the answered label. :)

@RichardLitt RichardLitt reopened this Jan 18, 2017
@madavieb
Copy link

madavieb commented May 23, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants