git-remote-ipfs
git-remote-ipfs copied to clipboard
git transport helper for ipfs
Sponsorship options are missing from this repository with over a hundred stars.
Readme doesnt tell me how i can install this and use it. Would be great to have a nice readme like https://github.com/diasdavid/ipscend
I want to enable cloning repositories from IPNS, setting upstream to the IPFS hash present at clone.
Would be nice to work out how to get the [ipfs shell api](https://godoc.org/github.com/ipfs/go-ipfs-api#Shell) from an embedded node. Would also benefit @noffle's ipget and others. cc @whyrusleeping
Push
Now that clone/fetch is working, push is the next step. For now, I just plan to add commits to a remote, and print the new root hash of that repo....
fatal: loose object ... (stored in /tmp/git-remote-ipfs-test-.../.git/objects/aa/bbb...) is corrupt
seeing this from time to time: ``` /tmp/go-stress236604264 --- FAIL: TestClone_unpacked (3.16s) fetch_test.go:91: tmpDir created: /tmp/git-remote-ipfs-test-e8e816fd1bfb81577674856923dc86c17fdc48ac fetch_test.go:66: 'git clone ipfs://QmYFpZJs82hLTyEpwkzVpaXGUabVVwiT8yrd6TK81XnoGB/unpackedTest /tmp/git-remote-ipfs-test-e8e816fd1bfb81577674856923dc86c17fdc48ac': Cloning into '/tmp/git-remote-ipfs-test-e8e816fd1bfb81577674856923dc86c17fdc48ac'... error: object file /tmp/git-remote-ipfs-test-e8e816fd1bfb81577674856923dc86c17fdc48ac/.git/objects/c6/94d28ad470f3a1d8e7bc8a0baf092f04773a9c is empty...