Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

feat: support remote pinning services in ipfs-http-client #3293

Merged
merged 57 commits into from
Jan 30, 2021

Conversation

lidel
Copy link
Member

@lidel lidel commented Sep 18, 2020

Part of ipfs/kubo#7559

This adds basic boilerplate for supporting remote pinning commands from ipfs/kubo#7661 in js-ipfs-http-client

TODO

Refs

Requires: ipfs/kubo#7661
cc: ipfs/ipfs-gui#91, ipfs/ipfs-webui#1615, @jessicaschilling, @rafaelramalho19, @achingbrain, @jacobheun

This adds basic boilerplate for supporting remote pinning commands
introduced in ipfs/kubo#7661

License: MIT
Signed-off-by: Marcin Rataj <[email protected]>
@lidel
Copy link
Member Author

lidel commented Sep 18, 2020

@achingbrain is it possible to add generic tests to interface-ipfs-core but limit implementation to http client for now?
(I think I've seen a way for suppressing tests in js-ipfs)

@achingbrain
Copy link
Member

is it possible to add generic tests to interface-ipfs-core but limit implementation to http client for now

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

@lidel
Copy link
Member Author

lidel commented Nov 3, 2020

@Gozala mind taking over and pushing this over finish line when you have time?

@jacobheun
Copy link
Contributor

@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.

@lidel lidel assigned hugomrdias and unassigned Gozala Nov 10, 2020
@lidel
Copy link
Member Author

lidel commented Nov 10, 2020

Handing over to @hugomrdias @Gozala 🤝

@Gozala Gozala self-assigned this Nov 16, 2020
docs/core-api/PIN.md Outdated Show resolved Hide resolved
packages/interface-ipfs-core/type/pin/remote.ts Outdated Show resolved Hide resolved
packages/interface-ipfs-core/type/pin/remote/service.ts Outdated Show resolved Hide resolved
@hugomrdias hugomrdias removed their assignment Dec 9, 2020
@lidel
Copy link
Member Author

lidel commented Dec 9, 2020

@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

@Gozala
Copy link
Contributor

Gozala commented Dec 11, 2020

Errors on CI are related to #3442

@Gozala
Copy link
Contributor

Gozala commented Jan 20, 2021

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.

Copy link
Member

@achingbrain achingbrain left a 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

@lidel
Copy link
Member Author

lidel commented Jan 29, 2021

@Gozala FYI I've just bumped this PR to use go-ipfs 0.8.0-rc2 so we identify issues early (if any)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants