js-ipfs
js-ipfs copied to clipboard
Feature: Programmatic way to re-initialise repo
Sometimes the repo corrupts, or can't be migrated (like here), and it needs to be manually deleted. This can be quite unintuitive for a user, and if a programmer wanted to handle it, I believe right now it'd be easiest to just create a new repo with a new name.
What I'm proposing is a function like IPFS.remove(repo string) so the error could be caught and handled, with the repo able to be easily removed if necessary.
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:
- "Priority" labels will show how urgent this is for the team.
- "Status" labels will show if this is ready to be worked on, blocked, or in progress.
- "Need" labels will indicate if additional input or analysis is required.
Finally, remember to use https://discuss.ipfs.io if you just need general support.
This could be useful porcelain in browser context, but low priority.
Per 2021-11-12, @TheDiscordian may take this as part of BootCamp. w00t w00t!
@BigLep unfortunately I forgot! (I took on 3 ideas apparently, but I did make one of them :sweat_smile:)
@TheDiscordian maybe Launchpad v2 ?
js-ipfs is being deprecated in favor of Helia. You can https://github.com/ipfs/js-ipfs/issues/4336 and read the migration guide.
Please feel to reopen with any comments by 2023-06-02. We will do a final pass on reopened issues afterward (see https://github.com/ipfs/js-ipfs/issues/4336).
Helia is not sharing ipfs configuration with Kubo AFAIK, Helia docs to confirm!