Commit graph

6723 commits

Author SHA1 Message Date
Joey Hess
7a20b3f1d5 more refactoring 2012-11-10 14:01:24 -04:00
Joey Hess
0cf4c3ba9c more nice refactoring 2012-11-10 13:00:13 -04:00
Joey Hess
7ab993ffc9 better data types allowed marvelous refactoring 2012-11-10 12:33:55 -04:00
Joey Hess
81953c2131 separate data type for push stages
This improves type safety.
2012-11-10 12:18:00 -04:00
Joey Hess
dedd2a407e version gnutls d-b to avoid segfault
debian testing still has the buggy version..
2012-11-10 11:49:02 -04:00
174.127.226.162
7fb9ee055c poll vote (Box.com) 2012-11-10 07:59:40 +00:00
Joey Hess
8b8964b523 refactor 2012-11-10 02:35:54 -04:00
Joey Hess
235f2ecb91 use a lookup table for speed 2012-11-10 02:18:19 -04:00
Joey Hess
2286032781 on second thought, do allow deferring StartingPush
My reasoning is that StartingPush could be received after another push
starts being received, and it would be better to respond to it afterwards
than not.
2012-11-10 01:41:28 -04:00
Joey Hess
16b2472574 refactor 2012-11-10 01:40:50 -04:00
Joey Hess
c0fab69f85 fix deferring of CanPush, and stop deferring StartingPush 2012-11-10 01:34:03 -04:00
Joey Hess
17ec59bcd1 Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-10 00:27:25 -04:00
Joey Hess
f57c2ef99e refactor 2012-11-10 00:24:26 -04:00
Joey Hess
0f8bbcc8fd refactor 2012-11-10 00:15:00 -04:00
Joey Hess
5fce2c013d refactor 2012-11-10 00:09:03 -04:00
Joey Hess
341d09adc2 fix exit code propigation 2012-11-10 00:02:55 -04:00
Joey Hess
ee0958e044 refactor 2012-11-09 23:52:51 -04:00
Joey Hess
c00ecfbb83 ensure handles get closed 2012-11-09 23:27:07 -04:00
Joey Hess
3f2467f253 increase chunk size
XMPP has no defined message size limits, but some servers will have ad-hoc
limits. However, 4k seems safe, even after the additional bloat of base64.
That should not exceed 8k.
2012-11-09 23:21:51 -04:00
Joey Hess
4a5e758a5a refactor 2012-11-09 23:17:47 -04:00
Joey Hess
6174c748af refactor 2012-11-09 23:12:54 -04:00
http://joeyh.name/
0c2ec80e53 removed 2012-11-10 00:37:23 +00:00
http://joeyh.name/
2ee94a5447 Added a comment 2012-11-10 00:36:55 +00:00
http://joeyh.name/
16651040a6 Added a comment 2012-11-10 00:36:49 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmmPHsszTlpa3s3x_LEzmEYkZfEmqq7IjU
b57568391d 2012-11-10 00:31:47 +00:00
Joey Hess
cb1999479e Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-09 18:23:40 -04:00
Joey Hess
ef34aa2be1 blog for the day 2012-11-09 18:23:00 -04:00
http://joeyh.name/
ded7d63266 Added a comment 2012-11-09 21:55:42 +00:00
Joey Hess
6acc4fa83f avoid excessive debugging 2012-11-09 17:51:26 -04:00
Joey Hess
276cbbf24f Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-09 17:42:26 -04:00
Joey Hess
62fa648455 xmpp git push is working!
Various final bug fixes, and tweaks that got it working.

Currently pushes a hardcoded ref, which needs to be fixed, etc.
2012-11-09 17:40:59 -04:00
karhun
625c51ee54 Added a comment 2012-11-09 21:37:20 +00:00
Joey Hess
1deda1db13 fix murderous typo 2012-11-09 17:33:34 -04:00
Joey Hess
47c032a748 run xmpp push actions in separate thread from xmpp client
Took me a while to figure out why the xmpp client was not receiving git xmpp
push messages after a push started.
2012-11-09 16:04:55 -04:00
https://www.google.com/accounts/o8/id?id=AItOawn7gQ1zZDdWhXy9H51W2krZYShNmKL3qfM
6fc64d0e3b Added a comment 2012-11-09 19:37:24 +00:00
Joey Hess
232b61e946 fix git push startup 2012-11-09 15:03:16 -04:00
Joey Hess
d7911e0377 fix link 2012-11-09 14:58:42 -04:00
Joey Hess
42594ffb4e Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-09 14:58:03 -04:00
http://joeyh.name/
63e59e41c4 Added a comment 2012-11-09 18:56:59 +00:00
karhun
bc9ca5c24a 2012-11-09 18:38:29 +00:00
Joey Hess
13547aa659 add canpush xmpp command 2012-11-09 14:34:06 -04:00
Joey Hess
887fe1714b flush stdout
It's block-buffered here.
2012-11-09 14:33:34 -04:00
Joey Hess
444e984727 don't treat foo::bar as a ssh url
It's a git-remote-helper location, and will be stored as just an url.
2012-11-09 13:50:23 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlsfh8P7pN2OBr24ztT_7AyYQLCcVqqa-4
bdc86f0260 Added a comment 2012-11-09 17:49:32 +00:00
http://joeyh.name/
cb098d73a6 Added a comment 2012-11-09 17:41:08 +00:00
Joey Hess
82ccb385e3 use xmpp::user@host for xmpp remotes
Inject the required git-remote-xmpp into PATH when running xmpp git push.
Rest of the time it will not be in PATH, and git won't be able to talk to
xmpp remotes.
2012-11-09 13:35:23 -04:00
Joey Hess
de7b8ed6b0 Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-09 12:15:25 -04:00
Joey Hess
fd65a299af add some OSX thing 2012-11-09 11:28:43 -04:00
Joey Hess
dd9fd5eded add packages I'm told are now needed to build from brew 2012-11-09 11:28:16 -04:00
Joey Hess
94ccfc92f9 look for gsha* commands, as installed on some OS's that think "GNU" is nonstandard 2012-11-09 11:27:50 -04:00