Open axic opened 8 years ago
I agree that tests should be added for the packfile-related methods. However, I do not have immediate plans to add them. Are you looking to build a new pull-git-repo implementation?
I did a PoC for using Ethereum+IPFS/Swarm as a backend: https://github.com/axic/git-remote-mango. Code quality is that of a hackathon 😃
Nice! I would think that since IPFS does data deduplication, packfiles might not be necessary.
For IPFS, conceptually, the objects are much better. Due to speed concerns and if the Git repo is only used for archival purposes (i.e. it is only pushed at every release, while the main development is on a different remote) using a packfile would be advantageous.
I plan to move on to Swarm, where packfiles wouldn't be needed at all.
I still think it would be good to have tests for the future :)
Can you add canonical tests for packfiles?