add a push retry thread

This commit is contained in:
Joey Hess 2012-06-25 16:38:12 -04:00
parent 0b146f9ecc
commit 5cfe91f06d
5 changed files with 82 additions and 36 deletions

View file

@ -13,8 +13,9 @@ all the other git clones, at both the git level and the key/value level.
[The watching can be done with the existing inotify code! This avoids needing
any special mechanism to notify a remote that it's been synced to.]
**done**
1. Periodically retry pushes that failed. Also, detect if a push failed
due to not being up-to-date, pull, and repush.
1. Periodically retry pushes that failed. **done** (every half an hour)
1. Also, detect if a push failed due to not being up-to-date, pull,
and repush.
2. Use a git merge driver that adds both conflicting files,
so conflicts never break a sync.
3. Investigate the XMPP approach like dvcs-autosync does, or other ways of