Commit graph

4585 commits

Author SHA1 Message Date
Joey Hess
522f568450 add TransferScanner thread
Efficiently finding transfers that need to be done to get two repos back
in sync seems like an interesting problem.
2012-07-22 23:16:56 -04:00
Joey Hess
26e4e65307 filter out special remotes when pulling 2012-07-22 15:09:40 -04:00
Joey Hess
e4f714d1be pull from newly mounted git remotes 2012-07-22 15:06:18 -04:00
Joey Hess
4ec9244f1a add a path field to remotes
Also broke out some helper functions around constructing remotes,
to be used later.
2012-07-22 14:30:43 -04:00
Joey Hess
e4592649d6 Merge branch 'master' into assistant
Conflicts:
	git-annex.cabal
2012-07-22 12:50:54 -04:00
http://joeyh.name/
345806b2dd Added a comment 2012-07-22 16:03:52 +00:00
hamish
a77064cf65 Added a comment: dbus vs polling 2012-07-22 07:13:37 +00:00
Joey Hess
898611ce5a add news item for git-annex 3.20120721 2012-07-21 17:05:17 -04:00
Joey Hess
5aa9a2d426 Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-21 17:03:12 -04:00
Joey Hess
b902a2960c releasing version 3.20120721 2012-07-21 17:01:19 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnYD2ZzaOz-0anQDrN-Hg8Tvh5_C7wtStk
33e12c7183 Added a comment: Portability 2012-07-21 20:31:33 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlUbH3eytydcwlWqv8oauE2Jg4NwcV9uA0
7c1f16b31a Added a comment: Special 2012-07-20 23:45:15 +00:00
Joey Hess
b8cf9f2a7e oops, I made it support KDE too 2012-07-20 19:38:31 -04:00
Joey Hess
163dd88ee2 blog for the day 2012-07-20 19:33:31 -04:00
Joey Hess
b48d7747a3 debugging improvements
add timestamps to debug messages

Add lots of debug output in the assistant's threads.
2012-07-20 19:29:59 -04:00
Joey Hess
9c7475eb46 update 2012-07-20 18:17:44 -04:00
Joey Hess
42e73537d1 detect KDE automounting
Best dbus events I could find were setupDone from org.kde.Solid.Device.
There may be some spurious events, but that's ok, the code will only
check to see if new mounts are available.

It does not try to auto-start this service if it's not running.
2012-07-20 18:14:57 -04:00
Joey Hess
8b458fe564 link 2012-07-20 16:37:30 -04:00
Joey Hess
c42bf7e32e add 2012-07-20 16:31:06 -04:00
Joey Hess
aa72a6e51e fixed 2012-07-20 15:09:00 -04:00
Joey Hess
133b4581d1 Merge branch 'master' into assistant 2012-07-20 15:08:15 -04:00
Joey Hess
f6d4786b86 left unsafe imports here; added a comment with a rationalle 2012-07-20 15:07:48 -04:00
Joey Hess
9d26b532ab use safe FFI imports for diskfree
There's a minor performance overhead to doing this, but this way I don't
have to worry about a situation where statfs might block for a long time.
For example, when it's on a network filesystem.
2012-07-20 15:03:58 -04:00
Joey Hess
da4c506d61 use safe FFI imports
This avoids blocking all threads when calling waitchange_kqueue,
which blocks.
2012-07-20 15:03:24 -04:00
http://joeyh.name/
aa1c64cb4b Added a comment 2012-07-20 18:17:04 +00:00
Joey Hess
833bd24a33 tweak 2012-07-20 12:01:28 -04:00
http://mildred.fr/
4726639f68 added pcre-devel dependency 2012-07-20 11:05:08 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
55c512ff2c 2012-07-20 07:39:14 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
e99f700c90 2012-07-20 07:38:08 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
3e3b34ad10 2012-07-20 07:31:14 +00:00
Joey Hess
2fce3940b5 catch all errors 2012-07-20 02:16:09 -04:00
Joey Hess
d9f26115c3 use dbus to activate GduVolumeMonitor if it's not already running 2012-07-20 01:59:21 -04:00
Joey Hess
e8ccf0bd11 update 2012-07-19 23:46:24 -04:00
Joey Hess
6b4fe507f6 only use dbus when there's a client connected we know will send mount events 2012-07-19 23:34:33 -04:00
Joey Hess
bd7b5cd415 fixed 2012-07-19 21:31:04 -04:00
Joey Hess
0496a3971d store whole Mntents
This way, if a mount point was already mounted, but something else
gets mounted there, it'll be seen as a new mount.
2012-07-19 21:25:26 -04:00
Joey Hess
7298507cf2 Merge branch 'master' into assistant 2012-07-19 21:22:34 -04:00
Joey Hess
ac044de486 cleanup 2012-07-19 21:20:38 -04:00
Joey Hess
4bcc92abd7 now working on OSX
While this seems to work fine when used in a simple program,
when I load it in ghci, it segfaults about half the time. Don't know why,
and seems ghci specific, but if I get reports of crashes, I'll need to look
into that.
2012-07-19 21:19:29 -04:00
Joey Hess
f768cddf3a fix build on OSX 2012-07-19 20:44:58 -04:00
Joey Hess
107a7b9388 try to make Utility.Mounts portable
This is an unholy mashup, but it just might work. It works on Linux,
that's all I've tested. :)
2012-07-19 20:38:58 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnbBRfl5F8gKRr1ko8Ai6FbEZStXXNF1S4
55da0fbf62 Added a comment 2012-07-19 22:41:54 +00:00
Joey Hess
d5051ec088 update 2012-07-19 16:29:22 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
896a8fa803 2012-07-19 18:53:23 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
f65f62c1e5 Added a comment: dbus vs polling 2012-07-19 17:38:40 +00:00
Joey Hess
5868aada92 Merge branch 'master' of ssh://git-annex.branchable.com 2012-07-19 13:19:32 -04:00
Joey Hess
c99710a310 blog for the day 2012-07-19 13:19:11 -04:00
Joey Hess
f20a40f9d4 MountWatcher thread
Currently only prints mount points when mounts happen.
2012-07-19 13:04:33 -04:00
Joey Hess
e2c86a4b58 extacted Mounts.hsc from hsshellscript
Converted from using c2hs to using hsc2hs, just because other code
in git-annex uses hsc2hs.

Various cleanups.

This code is LGPLed, so I had to include that licence.
2012-07-19 12:53:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo
c6e6521209 Added a comment 2012-07-19 14:41:40 +00:00