Commit graph

10372 commits

Author SHA1 Message Date
http://joeyh.name/
c9bb38c6a5 Added a comment 2013-04-24 15:30:04 +00:00
Joey Hess
e72f0b2898 only show latest warning, rather than combining warning alerts
In the case of the inotify limit warning, particularly, if it happens once
it will be happening repeatedly, and so combining alerts resulted in a
much too large alert message that took up a lot of memory and was too
large for the webapp to display.
2013-04-24 11:27:30 -04:00
Joey Hess
9f305483b0 typo; the inotify default limit is 8192, not 81920 2013-04-24 11:13:07 -04:00
Joey Hess
0392eb1f46 Merge branch 'master' of ssh://git-annex.branchable.com 2013-04-24 11:09:07 -04:00
Joey Hess
25c8258225 fix build 2013-04-24 11:08:35 -04:00
http://joeyh.name/
cbfb5493c0 Added a comment 2013-04-24 15:05:33 +00:00
Joey Hess
10fc9bc667 fix build 2013-04-24 10:48:06 -04:00
Joey Hess
47751372fb include sys/types.h
I have a report that this is necessary for freebsd.
It seemed not necessary for OSX, but even there the kqueue
man page says to include this header (along with sys/time.h
which it already does).
2013-04-24 10:39:52 -04:00
Joey Hess
3233e0fb60 revert addition of Includes: sys/event.h in cabal file
That is very dodgy; it makes *every* C file compiled have that header added
to it. Apparently sys/event.h needs some other header files to be included
on some OS's, and so this leads to compile failures in completely unrelated
places to the code that actually uses sys/event.h

This reverts commit c993d8e710, which added
this with no rationalle and I must have missed in amoung the other patches
when merging.

Also, Utility/kqueue.c already includes sys/event.h
2013-04-24 10:35:09 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm5iosFbL2By7UFeViqkc6v-hoAtqILeDA
866f25c0d3 Added a comment 2013-04-24 09:10:20 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm5iosFbL2By7UFeViqkc6v-hoAtqILeDA
2ad38a433a Added a comment 2013-04-24 06:30:16 +00:00
https://www.google.com/accounts/o8/id?id=AItOawn8nmg2ti0tVOD215PNBmLKvf2S4kXkQAY
9afb7ad2d6 Added a comment 2013-04-24 05:39:10 +00:00
Joey Hess
b2beae2ecd shorter 2013-04-23 20:20:09 -04:00
Joey Hess
ccbbc8b5ac reorg template; add section for transcript or log with format directive 2013-04-23 20:16:09 -04:00
Joey Hess
4b1cf3d731 Detect when the remote is broken like bitbucket is, and exits 0 when it fails to run git-annex-shell. 2013-04-23 20:06:02 -04:00
Joey Hess
74712c20f1 Merge branch 'master' of ssh://git-annex.branchable.com 2013-04-23 20:04:36 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkQafKy7hNSEolLs6TvbgUnkklTctUY9LI
f849e79173 Added a comment: Bugs... 2013-04-23 23:30:47 +00:00
http://joeyh.name/
431df952f3 Added a comment 2013-04-23 23:13:45 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnSenxKyE_2Z6Wb-EBMO8FciyRywjx1ZiQ
ad2ba804cd Added a comment: :'( no format directive in comments? 2013-04-23 23:13:02 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnSenxKyE_2Z6Wb-EBMO8FciyRywjx1ZiQ
1d969bc07c Tested with another server, seems to be related to bitbucket somehow 2013-04-23 23:04:29 +00:00
http://joeyh.name/
35f58a3afd Added a comment: you win at highlighting logs! 2013-04-23 23:04:13 +00:00
Joey Hess
6b0b044d83 close 2013-04-23 18:52:59 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnSenxKyE_2Z6Wb-EBMO8FciyRywjx1ZiQ
189ad83995 2013-04-23 22:50:22 +00:00
Joey Hess
20e3da03cd header 2013-04-23 18:47:35 -04:00
Joey Hess
1c4d5694a1 exclude moreinfo 2013-04-23 18:42:56 -04:00
Joey Hess
e97cbbc9bf typo 2013-04-23 18:42:01 -04:00
Joey Hess
e5b9eea755 sidebar 2013-04-23 18:41:42 -04:00
Joey Hess
ca3eb93573 close 2013-04-23 18:41:12 -04:00
Joey Hess
3e0bf1c0e8 tag 2013-04-23 18:40:19 -04:00
Joey Hess
9a7fa9fc20 add moreinfo page for bugs 2013-04-23 18:39:37 -04:00
Joey Hess
b33c90c069 Merge branch 'master' of ssh://git-annex.branchable.com 2013-04-23 18:24:21 -04:00
Joey Hess
327b465a75 blog for the day 2013-04-23 18:23:58 -04:00
Joey Hess
ca72b1ac7b assistant: when an add fails, requeue it for later
See analysis in bug report for one way this could happen.
2013-04-23 18:23:04 -04:00
http://joeyh.name/
2a2475e1b8 Added a comment 2013-04-23 22:11:32 +00:00
Joey Hess
53674cc3fd Merge branch 'master' of ssh://git-annex.branchable.com 2013-04-23 18:09:45 -04:00
Joey Hess
68f38a7ae6 show a message to tell why adding a file failed 2013-04-23 18:09:00 -04:00
http://joeyh.name/
e0f5abbf20 Added a comment 2013-04-23 21:41:32 +00:00
Joey Hess
f77be9d0d8 Merge branch 'master' of ssh://git-annex.branchable.com 2013-04-23 17:24:51 -04:00
Joey Hess
8b0dcb3136 add: avoid ugly error message when adding a deleted file in direct mode
Due to add using withFilesMaybeModified, it will get files that have been
deleted but are still in the index. So catch the IO error that results when
trying to stat such a file.
2013-04-23 17:22:56 -04:00
http://joeyh.name/
42b6db8803 Added a comment: glad I could help 2013-04-23 21:16:48 +00:00
Joey Hess
07580dc3df sync: Bug fix, avoid adding to the annex the dummy symlinks used on crippled filesystems.
The root of the problem is that toInodeCache sees a non-symlink, and so
goes on and generates a new inode cache for the dummy symlink.

Any place that toInodeCache, or sameFileStatus, or genInodeCache are called
may need to deal with this case. Although many of them are ok. For example,
prepSendAnnex calls sameInodeCache, which calls genInodeCache.. but if
the file content is not present, the InodeCache generated for its standin
file is appropriately not the same, and so it returns Nothing.

I've audited some, but have to say I'm not happy with this; it should be
handled at the type level somehow, or a toInodeCache wrapper be used that
is aware of dummy symlinks.

(The Watcher already dealt with it, via the guardSymlinkStandin function.)
2013-04-23 17:14:28 -04:00
Joey Hess
16503f5692 sync: Commit in direct mode even if no changes were staged
There may be already staged changes from a prior `git annex add`,
so always commit.

Also, suppressed the commit output, since it contains noise due to
typechanged files in direct mode.
2013-04-23 17:14:28 -04:00
http://joeyh.name/
fa9d37fab7 Added a comment 2013-04-23 20:16:26 +00:00
http://joeyh.name/
6532dab3e0 Added a comment: I am not a horse 2013-04-23 20:05:25 +00:00
http://joeyh.name/
985cfa3a95 Added a comment 2013-04-23 20:00:31 +00:00
http://joeyh.name/
105a83a46e Added a comment 2013-04-23 19:44:04 +00:00
Joey Hess
1425b30747 Merge branch 'master' of ssh://git-annex.branchable.com 2013-04-23 15:37:55 -04:00
Joey Hess
117d772a10 reopen; apparently separate bug although submitter is unclear 2013-04-23 15:37:19 -04:00
http://keverets.livejournal.com/
20c2bf294a Added a comment 2013-04-23 19:04:15 +00:00
Joey Hess
daecfd5bd7 more efficient data type for ChangeChan
Making this a tset of lists of Changes, rather than a tset of Changes
makes refilling it, in batch mode, much more efficient. Rather than needing
to add every Change it's collected one at a time, it can add them in one
fast batch operation.

It would be more efficient yet to use a Set, but that would need an Eq
instance for InodeCache.
2013-04-23 14:54:54 -04:00