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

Use ipfs's MFS to store the files #7

Open
RubenKelevra opened this issue Mar 26, 2023 · 0 comments
Open

Use ipfs's MFS to store the files #7

RubenKelevra opened this issue Mar 26, 2023 · 0 comments

Comments

@RubenKelevra
Copy link

It would also be nice, if the files added to IPFS could be saved in the MFS instead of in pins.

For this, a folder-name would need to be specified in the config for a single git. git-lfs-ipfs would then run ipfs add with the parameter --to-files= followed by a filename for the file.

Something like “/$configured_folder/path/in/git-repo/$commitID-$filename” would probably be the best.

Using this, you can also set --pin=0 to avoid pinning the file, which gets messy fast - as there's no overview over the data stored. So you end up with just a bunch of numbers without no reference.

This also ensures that the users can easily push the folder to a remote pinning service via the GUI.

This was referenced Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant