js-ipfs icon indicating copy to clipboard operation
js-ipfs copied to clipboard

Feature: Programmatic way to re-initialise repo

Open TheDiscordian opened this issue 4 years ago • 5 comments

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.

TheDiscordian avatar Jun 15 '21 23:06 TheDiscordian

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.

welcome[bot] avatar Jun 15 '21 23:06 welcome[bot]

This could be useful porcelain in browser context, but low priority.

lidel avatar Oct 01 '21 14:10 lidel

Per 2021-11-12, @TheDiscordian may take this as part of BootCamp. w00t w00t!

BigLep avatar Nov 12 '21 15:11 BigLep

@BigLep unfortunately I forgot! (I took on 3 ideas apparently, but I did make one of them :sweat_smile:)

TheDiscordian avatar Jan 25 '22 14:01 TheDiscordian

@TheDiscordian maybe Launchpad v2 ?

lidel avatar Apr 08 '22 14:04 lidel

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!

SgtPooki avatar May 26 '23 19:05 SgtPooki