Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync to git #441

Open
djmitche opened this issue Aug 3, 2024 · 1 comment
Open

Sync to git #441

djmitche opened this issue Aug 3, 2024 · 1 comment
Labels

Comments

@djmitche
Copy link
Collaborator

djmitche commented Aug 3, 2024

@lauft pointed out that the sync model would map well to the Git model. We could build a server implementation wrapping Git, using a similar set of files to those in the cloud storage: a latest file, a bunch of version files, and a bunch of snapshot files.

The latest file would be contentious: changing in every commit. However, that's precisely enforcing the replica invariant. Those conflicts can occur both on git pull (when new versions arrive) and on git push (if latest has changed since git pull).

@djmitche
Copy link
Collaborator Author

djmitche commented Aug 3, 2024

This is probably a bit much for a "good first issue", but maybe consider it a "good second issue"!

@djmitche djmitche changed the title Add a git server backend for sync Sync to git Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant