-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ipfs add <url> #6065
Comments
Completely agree. Personally, I'd like to replace FYI, if you'd like to implement this, it shouldn't be hard. We already have a "WebFile" file type (defined in |
@Stebalien I will try for my first contrib here. |
@Jorropo I've started hacking on this as well. Happy to collaborate if you want. I've got > ipfs add https://google.cloud.storage/v0/b/bucket/o/Qm...?alt=media&token=XXXXX
added Qm... https:/google.cloud.storage/v0/b/bucket/o/Qm...?alt=media
added Qm... https:/google.cloud.storage/v0/b/bucket/o
added Qm... https:/google.cloud.storage/v0/b/bucket
added Qm... https:/google.cloud.storage/v0/b
added Qm... https:/google.cloud.storage/v0
added Qm... https:/google.cloud.storage
added Qm... https:
> ipfs cat Qm...
hello world! The url is recognized and a |
With respect to the file paths, I'm not sure, I'd have to see the code. For nocopy, we do actually (fow now) send the files over the HTTP API. We just also send the full path of the file in an We handle The easiest path for TL;DR: Make |
Great! And that should work for cluster-ctl automatically as well, no? |
|
@jmank88 personaly I just copied the code from urlstore command to add and with an filestore.IsUrl test if that an url, if it is just fire the good one, I'm moving this code to an external file to not produce duplicate (wich is ironicaly very hard for me because I'm new with go). |
@Stebalien second PR is up as a draft. Blocked waiting for release of |
@Stebalien Third is up. Blocked waiting for |
All done and merged. |
Version information:
Type:
enhancement
Description:
I noticed that IPFS Cluster supported
ipfs-cluster-ctl add <url>
, but that feature isn't in IPFS. I think it's a pretty amazing command and I'd rather use that thanurlstore
.Relevant : ipfs-cluster/ipfs-cluster#701 (comment)
The text was updated successfully, but these errors were encountered: