Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Story: [ipfs-pack] Use a Single Pack to Track Many Files Across an OS #129

Open
flyingzumwalt opened this issue Jan 19, 2017 · 2 comments
Open

Comments

@flyingzumwalt
Copy link
Contributor

flyingzumwalt commented Jan 19, 2017

This is an edge case that we wanted to capture.

Given:

  • I have many files spread across my OS
  • I want one ipfs-pack with one manifest for all of my files

Option 1: put the ipfs-pack at the root of your filesystem and selectively add files (see Story: Selectively Add Files)

Option 2: Disable "internal paths only" mode on filestore. By default, filestore uses only "internal paths", meaning that it only allows you to reference files that are inside the IPFS pack's root directory. This is similar to git, whose repositories only allow you to add content that is inside the git repository's working directory.

"internal paths only" mode can be turned off but we strongly discourage it because moving the ipfs-pack would break all the paths, etc...

@flyingzumwalt
Copy link
Contributor Author

@kevina have you come across this use case, where people want to register many files but would not want to build multiple ipfs repos or manifests? If so, can you provide more background?

@kevina
Copy link

kevina commented Jan 19, 2017

Not sure. The ipfs-pack idea was never really considered, it was just assumed there would be one repo. You might want to post something to ipfs/kubo#2634 and ipfs/kubo#875 as I am sure a lot of people are watching that p.r. and issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants