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

track: Pinning #59

Closed
1 of 4 tasks
daviddias opened this issue Jan 26, 2016 · 5 comments
Closed
1 of 4 tasks

track: Pinning #59

daviddias opened this issue Jan 26, 2016 · 5 comments
Labels
exp/expert Having worked on the specific codebase is important status/deferred Conscious decision to pause or backlog

Comments

@daviddias
Copy link
Member

The pin command let's you control what hashes (blocks) are not garbage collected, meaning that they are not removed unless you specifically tell the IPFS node to do so.

To learn more about the pinning, you can

Implementation Roadmap

  • complemente core object implementation object #58
  • jsipfs pin add ... - Pins objects to local storage.
  • jsipfs pin rm ... - Removes the pinned object from local storage. (By default, recursively. Use -r=false for direct pins).
  • jsipfs pin ls []... - List objects pinned to local storage.
@daviddias daviddias added help wanted exp/expert Having worked on the specific codebase is important labels Jan 26, 2016
@daviddias daviddias changed the title feature: pin pin Feb 23, 2016
@daviddias
Copy link
Member Author

Updated this issue

@daviddias daviddias mentioned this issue Feb 23, 2016
15 tasks
@AdamStone
Copy link

Hi, really interested in the possibilities of fully browser-based IPFS apps so I wanted to try to contribute. I started a pin implementation here. Let me know if you see any obvious problems with what I have so far, I'm basically trying to figure out the infrastructure as I go. Thanks!

@daviddias
Copy link
Member Author

Hi @AdamStone , welcome! :D

My apologies for the time to reply, wanted to get back to you faster. This is great, thank you for contributing! Pinning is one of the things it would be really nice to have for the js-ipfs milesone 1 :):)

It would really help the process if you could submit a PR, making it very obvious what code you have changed (and also CI will run the tests per commit). Would you mind working in that way?

@AdamStone
Copy link

Sure, no problem.

#107

@daviddias daviddias added help wanted Seeking public contribution on this issue and removed help wanted labels Apr 4, 2016
@daviddias daviddias removed the help wanted Seeking public contribution on this issue label Apr 18, 2016
@daviddias daviddias changed the title pin track: jsipfs pin Aug 15, 2016
@daviddias daviddias added status/deferred Conscious decision to pause or backlog and removed js-ipfs-backlog labels Dec 5, 2016
@daviddias daviddias changed the title track: jsipfs pin track: Pinning Jan 9, 2017
@daviddias
Copy link
Member Author

The whole endeavour is happening on #107

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 status/deferred Conscious decision to pause or backlog
Projects
None yet
Development

No branches or pull requests

2 participants