Commit graph

47 commits

Author SHA1 Message Date
Joey Hess
94d735c12a fix fsevents rename handling
For both files and whole directories; also tested on moving whole dirs out
of and into the working copy.
2012-12-28 16:20:05 -04:00
Joey Hess
64664248b6 OSX no longer affected by kqueue bugs 2012-12-27 15:52:57 -04:00
Joey Hess
9aab70de66 always check with ls-files before adding new files
Makes it safe to use git annex unlock with the watcher/assistant.
And also to mix use of the watcher/assistant with regular files stored in git.

Long ago, I had avoided doing this check, except during the startup scan,
because it would be slow to run ls-files repeatedly.

But then I added the lsof check, and to make that fast, got it to detect
batch file adds. So let's move the ls-files check to also occur when it'll
have a batch, and can check them all with one call.

This does slow down adding a single file by just a bit, but really only
a little bit. (The lsof check is probably more expensive.) It also
speeds up the startup scan, especially when there are lots of new files
found by the scan.

Also, fixed the sleep for annex.delayadd to not run while the threadstate
lock is held, so it doesn't unnecessarily freeze everything else.

Also, --force no longer makes it skip the lsof check, which was not
documented, and seems never a good idea.
2012-10-02 17:41:23 -04:00
Joey Hess
17957c3397 todo: restart 2012-08-09 16:14:18 -04:00
Joey Hess
3247415c56 update; split out hard todo 2012-07-07 11:12:11 -06:00
Joey Hess
6cc3eb97db update 2012-06-28 14:06:22 -04:00
Joey Hess
1f09ae686e update 2012-06-27 21:11:39 -04:00
Joey Hess
3138a49084 update 2012-06-21 13:11:22 -04:00
Joey Hess
9f1a29762b blog for the day 2012-06-21 01:07:37 -04:00
Joey Hess
4afefb48f1 thought 2012-06-20 15:29:12 -04:00
Joey Hess
8bdb331b60 bug 2012-06-19 10:17:06 -04:00
Joey Hess
39746e30dc typo 2012-06-19 10:11:28 -04:00
Joey Hess
d832a474e9 fixed 2012-06-19 09:19:40 -04:00
Joey Hess
424e58d960 update 2012-06-19 02:16:31 -04:00
Joey Hess
bf3339e5b7 Merge branch 'master' into watch 2012-06-17 15:45:35 -04:00
Joey Hess
ec197feec0 update 2012-06-17 02:08:28 -04:00
Joey Hess
31c15aa9b9 update 2012-06-17 01:34:10 -04:00
Joey Hess
da261b31de surveyed the OSX and BSD options for file monitoring 2012-06-17 01:28:09 -04:00
Joey Hess
9356f11c60 surveyed the OSX and BSD options for file monitoring 2012-06-17 01:25:48 -04:00
Joey Hess
bd8319e78c update and blog for the day
the last of the bad bugs is fixed!
2012-06-15 22:59:32 -04:00
Joey Hess
a95149ac0f quarantine idea to avoid repeated lsof calls 2012-06-15 12:22:28 -04:00
Joey Hess
06caf52f03 blog for the day 2012-06-14 20:06:43 -04:00
Joey Hess
f9cc2acc71 bug 2012-06-13 14:32:11 -04:00
Joey Hess
74aa310ad6 update 2012-06-12 17:01:52 -04:00
Joey Hess
aba425fb2b update 2012-06-11 02:09:22 -04:00
Joey Hess
b20c270d00 update 2012-06-10 19:11:04 -04:00
Joey Hess
109bd9c08b blog for the day 2012-06-07 21:37:59 -04:00
Joey Hess
a79aebbe2a update 2012-06-06 16:54:39 -04:00
Joey Hess
8aa194bf80 update 2012-06-06 15:51:34 -04:00
Joey Hess
e17bc40c31 update 2012-06-06 15:24:51 -04:00
Joey Hess
81d4991fa3 thoughts 2012-06-06 15:13:18 -04:00
Joey Hess
899334223f fixed 2 races! Only 1 serious race to go! 2012-06-06 14:33:12 -04:00
Joey Hess
141fa3c94d update 2012-06-06 00:01:17 -04:00
Joey Hess
d05a22b5f6 closed a race, although a less likely similar one remains 2012-06-05 20:34:25 -04:00
Joey Hess
d3cee987ca separate source of content from the filename associated with the key when generating a key
This already made migrate's code a lot simpler.
2012-06-05 19:51:03 -04:00
Joey Hess
77188ff04d update 2012-06-05 19:03:39 -04:00
Joey Hess
b5c617b623 one more 2012-06-05 18:54:25 -04:00
Joey Hess
40456953c2 another one 2012-06-05 15:20:13 -04:00
Joey Hess
0eec65c815 races 2012-06-05 15:10:04 -04:00
Joey Hess
b86825e42b update 2012-06-04 21:29:26 -04:00
Joey Hess
b51520b0d5 update 2012-06-04 18:16:18 -04:00
Joey Hess
39fb9db043 add 2012-06-04 15:47:19 -04:00
Joey Hess
0accc932cb update 2012-06-04 15:40:11 -04:00
Joey Hess
9b40cd7461 update 2012-06-04 15:23:56 -04:00
Joey Hess
9791d1dfe7 update; worked on watch branch today 2012-06-04 15:16:59 -04:00
Joey Hess
595d13020b updates 2012-05-31 15:25:26 -04:00
Joey Hess
45a01db6ad add preliminary design 2012-05-26 21:11:19 -04:00