Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leave cluster and remove all pins in the process #1728

Open
RubenKelevra opened this issue Jun 29, 2022 · 0 comments
Open

Leave cluster and remove all pins in the process #1728

RubenKelevra opened this issue Jun 29, 2022 · 0 comments
Assignees
Labels
effort/hours Estimated to take one or several hours exp/intermediate Prior experience is likely helpful good first issue Good issue for new contributors help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up topic/design-ux UX strategy, research, not solely visual design

Comments

@RubenKelevra
Copy link
Collaborator

RubenKelevra commented Jun 29, 2022

Describe the feature you are proposing

It would be neat if there's a flag for ipfs-cluster-follow start it up and connect to the cluster, but then send a leave cluster message, remove all locally pins related to the cluster and then delete all files related to the cluster.

As there's already "run --init" I think something like "stop --cleanup" would be appropriate:

$ ipfs-cluster-follow <clusterName> run --init
$ ipfs-cluster-follow <clusterName> stop --cleanup

The flag --cleanup will also delete the ipfs-cluster-follow files in ~/.ipfs-cluster-follow. stop alone will just leave the cluster and unpin everything.

@RubenKelevra RubenKelevra added need/triage Needs initial labeling and prioritization kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up topic/design-ux UX strategy, research, not solely visual design need/maintainer-input Needs input from the current maintainer(s) and removed need/triage Needs initial labeling and prioritization labels Jun 29, 2022
@hsanjuan hsanjuan self-assigned this Jun 30, 2022
@hsanjuan hsanjuan added help wanted Seeking public contribution on this issue exp/intermediate Prior experience is likely helpful good first issue Good issue for new contributors effort/hours Estimated to take one or several hours and removed need/maintainer-input Needs input from the current maintainer(s) labels Jun 30, 2022
loomts added a commit to loomts/ipfs-cluster that referenced this issue Nov 28, 2023
loomts added a commit to loomts/ipfs-cluster that referenced this issue Dec 5, 2023
loomts added a commit to loomts/ipfs-cluster that referenced this issue May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/hours Estimated to take one or several hours exp/intermediate Prior experience is likely helpful good first issue Good issue for new contributors help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up topic/design-ux UX strategy, research, not solely visual design
Projects
None yet
Development

No branches or pull requests

2 participants