gaak99 / oxly

oxly auto-merges Dropbox file revisions with a git-like cli
MIT License
9 stars 1 forks source link

(pre) push should check for new revisions #3

Open gaak99 opened 7 years ago

gaak99 commented 7 years ago

The user should be warned if a new revision was saved on Dropbox before a push is done.

gaak99 commented 5 years ago

Stepping back a bit ...

The current code has data races galore -- was not orig designed to be robust if mult users at once -- but if we now can make it so would be nice...

Would be xtra nice if we had a way (api, lock file? aka file.lck) to upload the new version and update ancdb atomically -- but only if here there we're no changes to data file or ancdb since we last fetched it. If it detects a change then it errors out.

In lieu of that, we should probably replace one big ancdb with a file.anc per data file -- thus limit the collisions if working with mult files.