Open jbenet opened 2 years ago
shouldn't happen though -- ipfs-update should probably make use of ipfs properties and route around broken gateways
Yes, it's possible to try additional gateways here. However, unfortunately CAR export from gateways is not standardized yet. A promising proposal to enable this which is being looked into in the coming year is https://github.com/ipfs/go-ipfs/issues/8234. Until then this means that using HTTP Gateways involves some trust so we can't just grab any arbitrary gateway off of https://ipfs.github.io/public-gateway-checker/ and use it.
If we wanted to push ahead with this without CAR export being standardized it's certainly possible to do one+ of:
/api/v0/dag/export
endpoint from whichever gateways expose it, while knowing it will soon be obsoleted and isn't supported on a number of gateways (e.g. Cloudflare's).Note: If you have an IPFS daemon running you can do ipfs-update fetch latest
and it will pull the data over a local IPFS node that supports the IPFS HTTP API (e.g. go-ipfs) which gives you lots of IPFS properties 😄.
Version information:
ipfs
Description:
ipfs-update
should probably make use of ipfs properties and route around broken gatewaysCommand Output:
hang
hang
hang