ipfs-shipyard / ipscend

🚀 Publish all your Web pages to IPFS, track released versions and more!
MIT License
262 stars 28 forks source link

Printed hash on `public` is not the same as the one that a user gets a url to #108

Closed daviddias closed 7 months ago

daviddias commented 7 years ago

On a ipscend publish

  { path: 'public',
    hash: 'Qmd6DAJkSKDLV8HYodQeTxkH5JywxmUjG4TPwAa8MF2TkF',
    size: 735894 } ]
Published public with the following hash: QmezL5kwYHSL1vaKRhs1Ugxq9pCPTJU3PiKEvjTu6utSNm
You can access it through your local node or through a public IPFS gateway:
http://localhost:8080/ipfs/QmezL5kwYHSL1vaKRhs1Ugxq9pCPTJU3PiKEvjTu6utSNm
http://ipfs.io/ipfs/QmezL5kwYHSL1vaKRhs1Ugxq9pCPTJU3PiKEvjTu6utSNm
olizilla commented 7 years ago

Also of note, the ipscend.json looks like this:

{
  "versions": [
    {
      "hash": "QmezL5kwYHSL1vaKRhs1Ugxq9pCPTJU3PiKEvjTu6utSNm",
      "timestamp": "2017-05-25T12:15:58.942Z"
    }
  ],
  "path": "public"
}
enricomarino commented 7 years ago

PR #89 should fix it

andriytyurnikov commented 6 years ago

any updates on this one?

david4096 commented 6 years ago

Also experiencing this problem, had to go look at the paths to find the actual hash that would resolve properly on ipfs.io.

https://ipfs.io/ipfs/QmUsfqmcXvAPk9UE2h9FfNDLNEyztMVAcRbfsWMeggtv2g was in ipscend.json as the most recent publish which points to a directory off the path.

The hashes printed to stdout from ipscend publish were more useful.

https://ipfs.io/ipfs/QmVas4TF6xYaMpUr3Qcc13bkocTm67NCbYHLd3T6i9pHPG .

daviddias commented 5 years ago

Hi @andriytyurnikov, @david4096, @enricomarino! I'm no longer maintaining this module. The good news is that there is one way better on the block, check the deprecation notice -- https://github.com/ipfs-shipyard/ipscend/blob/master/README.md#deprecation-notice -- to find a url to it and a tutorial on how to use it!