feat: support remote pinning services in ipfs-http-client#3293
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 |
|
@Gozala also, had trouble with building unless I bumped "ipfs-core-types" to "^0.2.0" – mind rebasing this PR? |
|
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. |
achingbrain
left a comment
There was a problem hiding this comment.
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-clientTODO
pin remote add|ls|rmandpin remote service add|ls|rmRefs
Requires: ipfs/kubo#7661
cc: ipfs/ipfs-gui#91, ipfs/ipfs-webui#1615, @jessicaschilling, @rafaelramalho19, @achingbrain, @jacobheun