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

Implement jsipfs repo fsck and respective http-api endpoint -- /api/v0/repo/fsck #1768

Closed
hacdias opened this issue Dec 3, 2018 · 3 comments
Assignees
Labels
exp/expert Having worked on the specific codebase is important kind/wontfix P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked

Comments

@hacdias
Copy link
Member

hacdias commented Dec 3, 2018

Hello!

As we're building IPFS Desktop, we want users to have the best and most simplified experience they can with IPFS. So we also want IPFS Desktop to start up correctly after unexpected shutdowns, even though there are lock files from the previous run.

We noticed that go-ipfs has the command ipfs repo fsck available and it's enabled on its HTTP API. I'd like to know if there are any plans to create this entry point for js-ipfs and if so, how can I help/when will it be available?

/cc @ipfs/gui-team 😄

@daviddias
Copy link
Member

Is this essential for IPFS Desktop? If yes, would you be willing to take a stab at it @hacdias?

@lidel
Copy link
Member

lidel commented Dec 9, 2018

@daviddias please move this issue to ipfs/js-ipfs repo and rename it to "Implement jsipfs repo fsck"

(I feel it does not belong to js-ipfs-http-client because it does not make sense to expose it over HTTP API: stale lockfile cleanup makes sense BEFORE daemon starts. If API port is available, it means it started correctly, so there is no need to run this command.)

@daviddias daviddias transferred this issue from ipfs-inactive/js-ipfs-http-client Dec 9, 2018
@daviddias daviddias changed the title Support for /api/v0/repo/fsck Implement jsipfs repo fsck and respective http-api endpoint -- /api/v0/repo/fsck Dec 9, 2018
@alanshaw alanshaw added exp/expert Having worked on the specific codebase is important status/ready Ready to be worked P2 Medium: Good to have, but can wait until someone steps up labels Dec 9, 2018
@achingbrain
Copy link
Member

js-ipfs is being deprecated in favor of Helia. You can #4336 and read the migration guide.

This is not planned in Helia.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
exp/expert Having worked on the specific codebase is important kind/wontfix P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants