From 3d4cb6cbb44dc014420a6bee453a09313902cc7f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 8 Nov 2012 19:41:36 -0400 Subject: blog for the day --- Assistant/Sync.hs | 2 ++ .../assistant/blog/day_125__xmpp_push_continues.mdwn | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 doc/design/assistant/blog/day_125__xmpp_push_continues.mdwn diff --git a/Assistant/Sync.hs b/Assistant/Sync.hs index 1ded407fe..9eaad5469 100644 --- a/Assistant/Sync.hs +++ b/Assistant/Sync.hs @@ -66,6 +66,8 @@ reconnectRemotes notifypushes rs = void $ do - as "git annex sync", except in parallel, and will co-exist with use of - "git annex sync". - + - After the pushes to normal git remotes, also handles pushes over XMPP. + - - Avoids running possibly long-duration commands in the Annex monad, so - as not to block other threads. - diff --git a/doc/design/assistant/blog/day_125__xmpp_push_continues.mdwn b/doc/design/assistant/blog/day_125__xmpp_push_continues.mdwn new file mode 100644 index 000000000..010ab14da --- /dev/null +++ b/doc/design/assistant/blog/day_125__xmpp_push_continues.mdwn @@ -0,0 +1,15 @@ +I've finished building the XMMP side of git push over XMPP. Now I only +have to add code to trigger these pushes. And of course, fix all the bugs, +since none of this has been tested at all. + +Had to deal with some complications, like handling multiple clients that +all want to push at the same time. Only one push is handled at a time; +messages for others are queued. Another complication I don't deal with yet +is what to do if a client stops responding in the middle of a push. It +currently will wait forever for a message from the client; instead it +should time out. + +---- + +Jimmy got the OSX builder working again, despite my best attempts to add +dependencies and break it. -- cgit v1.2.3