-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: support remote pinning services in ipfs-http-client #3293
Conversation
This adds basic boilerplate for supporting remote pinning commands introduced in ipfs/kubo#7661 License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
@achingbrain is it possible to add generic tests to |
Yes - add the tests to the suite as normal and skip them in /packages/ipfs/test/core/interface.spec.js and /packages/ipfs/test/http-api/interface.js |
@Gozala mind taking over and pushing this over finish line when you have time? |
@lidel, @hugomrdias might pick up the rest of the pinning service work so he might be able to take this over if @Gozala is full up. |
Handing over to |
@Gozala fYSA go-ipfs 0.8.0-rc1 just shipped, you can switch tests to run against https://www.npmjs.com/package/go-ipfs/v/0.8.0-rc1
|
This reverts commit 0da1850.
Errors on CI are related to #3442 |
For some reason when testing in browser node process just won't exit. It must be due to https://github.com/ipfs/js-ipfs/pull/3293/files#diff-bd8c36bcaf63bb93ceec2bb8a8a7d261692b8e416c10eed90d3e03232bc3873e but I just can't seem to figure out why. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just need to sort the merge conflicts out
Note: filter on Array<T> does refine T type.
65d9586
to
9d8b44b
Compare
License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
@Gozala FYI I've just bumped this PR to use go-ipfs 0.8.0-rc2 so we identify issues early (if any) |
Implement [remote pinning service API](https://github.com/ipfs/pinning-services-api-spec) in ipfs-http-client.
This adds basic boilerplate for supporting remote pinning commands from ipfs/kubo#7661 in
js-ipfs-http-client
TODO
pin remote add|ls|rm
andpin remote service add|ls|rm
Refs
Requires: ipfs/kubo#7661
cc: ipfs/ipfs-gui#91, ipfs/ipfs-webui#1615, @jessicaschilling, @rafaelramalho19, @achingbrain, @jacobheun