jedbrown / git-fat

Simple way to handle fat files without committing them to git, supports synchronization using rsync
BSD 2-Clause "Simplified" License
620 stars 136 forks source link

Feature Request: rclone support #93

Open Jwink3101 opened 4 years ago

Jwink3101 commented 4 years ago

I may do the work myself but I wanted to document it.

rclone is "rsync for the cloud" and has many of the same features as rsync. I think it would be easy enough to add an rclone mode instead of rsync. Then, users can use S3, B2, etc. Basically, whatever they want!

The biggest downside to rclone over rsync is that rclone doesn't apply the rsync algorithm to only make small changes. However, the way git-fat works, I don't think it matters. git-fat pushes full copies of every file based on their sha1 so even a small change still needs a whole new copy.

I am not sure how the API would look. Probably something like if [rclone] is in .gitfat it will use rclone mode. Users would have to have rclone obviously!

jedbrown commented 4 years ago

Yes, I'd be interested in a way to support a range of cloud storage without git-fat needing to support each custom interface. See also #86.

malaybasu commented 4 years ago

This will be an awesome enhancement and would leave git-lfs out of water.