Skip to content

Use ipfs's MFS to store the files #7

@RubenKelevra

Description

@RubenKelevra

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions