Commit graph

5402 commits

Author SHA1 Message Date
Joey Hess
521398cc3d Now uses the Haskell Glob library, rather than pcre-light, avoiding the need to install libpcre. Currently done only for Cabal or when the Makefile is made to use -DWITH_GLOB 2013-02-11 11:47:53 -04:00
Joey Hess
f202d997f4 Now uses the Haskell uuid library, rather than needing a uuid program.
Been meaning to do this for some time; Android port was last straw.

Note that newer versions of the uuid library have a Data.UUID.V4 that
generates random UUIDs slightly more cleanly, but Debian has an old version
of the library, so I do it slightly round-about.
2013-02-10 14:52:54 -04:00
Joey Hess
be6475216c blog for the day
Which spanned 5 am to 1 am. Urk.
2013-02-08 00:24:11 -04:00
Joey Hess
fe07ae4547 try percentage width.. will it work? 2013-02-07 20:30:02 -04:00
Joey Hess
cf89dff5fc sizing 2013-02-07 20:26:14 -04:00
Joey Hess
d2a0368a8e layout 2013-02-07 20:22:47 -04:00
Joey Hess
990bdfb049 layout 2013-02-07 20:20:45 -04:00
Joey Hess
f40ee46de4 Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-07 20:18:10 -04:00
Joey Hess
402eaf0e60 add my lca talk 2013-02-07 20:17:04 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm642UBkwhyj_oG2Fno1LiuO2naxCJYaN0
6279bb4d6b 2013-02-07 22:26:59 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmhjlfoU21OiXKH_MXw75Uq5EsX7LJW5p0
a2a7b049d2 Added a comment 2013-02-07 21:11:39 +00:00
http://joeyh.name/
3b220c2ec2 Added a comment 2013-02-07 18:12:17 +00:00
http://joeyh.name/
57ba696911 Added a comment 2013-02-07 18:11:31 +00:00
http://joeyh.name/
8410563b29 Added a comment 2013-02-07 18:10:16 +00:00
Joey Hess
3ff477623e update for release 2013-02-07 14:08:29 -04:00
Joey Hess
fa828055c0 add news item for git-annex 3.20130207 2013-02-07 14:04:04 -04:00
Joey Hess
57780cb3a4 Clean up direct mode cache and mapping info when dropping keys.
These files were left behind, and made getKeysPresent find keys that were
not present. It would be expensive to make getKeysPresent check that the
actual key files are present (it just lists the directories). But that's not
needed if we just clean up the stale cache and mapping files.

To handle systems that were in direct mode and got switched back with stale
direct mode files, made cleanObjectLoc remove all files in the key's directory.

git annex unused will still list keys that are gone but for which the stale
direct mode files exists. To deal with that, made dropunused remove the key's
directory even if the key does not seem to be present.
2013-02-07 08:28:40 -04:00
Joey Hess
21cfce02ee Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-07 08:09:40 -04:00
https://www.google.com/accounts/o8/id?id=AItOawksKHc0H_4WXgagabhi8w3dJjgkAl335R4
02257e4856 2013-02-07 11:59:35 +00:00
https://launchpad.net/~arand
be1b52dbcb 2013-02-07 11:58:38 +00:00
https://launchpad.net/~arand
d171083443 2013-02-07 11:51:49 +00:00
Joey Hess
ab18785888 add link to ghc-android 2013-02-07 07:51:07 -04:00
https://www.google.com/accounts/o8/id?id=AItOawksKHc0H_4WXgagabhi8w3dJjgkAl335R4
fb701583f3 2013-02-07 09:58:08 +00:00
https://www.google.com/accounts/o8/id?id=AItOawksKHc0H_4WXgagabhi8w3dJjgkAl335R4
b8e1d5e0ab 2013-02-07 09:48:23 +00:00
Joey Hess
50c9c194b1 Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-06 16:46:54 -04:00
Joey Hess
2a8dcc2d67 blog for the day 2013-02-06 16:45:02 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm642UBkwhyj_oG2Fno1LiuO2naxCJYaN0
36817bc744 2013-02-06 20:23:27 +00:00
Joey Hess
b1de99c1d4 uninit, unannex --fast: If hard link creation fails, fall back to slow mode. 2013-02-06 14:02:18 -04:00
Joey Hess
a9dbd9993e Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-06 13:04:53 -04:00
Joey Hess
547d7745fb pre-commit: Update direct mode mappings.
Making the pre-commit hook look at git diff-index to find changed direct
mode files and update the mappings works pretty well.

One case where it does not work is when a file is git annex added, and then
git rmed, and then this is committed. That's a no-op commit, so the hook
probably doesn't even run, and it certianly never notices that the file
was deleted, so the mapping will still have the original filename in it.

For this and other reasons, it's important that the mappings still be
treated as possibly inconsistent.

Also, the assistant now allows the pre-commit hook to run when in direct
mode, so the mappings also get updated there.
2013-02-06 12:44:19 -04:00
110.32.114.144
7f118017cd poll vote (An Ubuntu PPA would be supercool! Thanks for your great work!!) 2013-02-06 12:35:50 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkZktNHFhxC1kYA9KKdKpYJO4clq9WDsjE
c60da41411 Added a comment 2013-02-06 06:35:22 +00:00
Richard Hartmann
6266c5c4fc Fix typos 2013-02-06 00:42:30 +01:00
Joey Hess
ceb732bea7 Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-05 18:02:32 -04:00
Joey Hess
8b7cb14514 blog for the day 2013-02-05 18:02:02 -04:00
Joey Hess
f08b25f47e update 2013-02-05 17:45:53 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmRFKwny4rArBaz-36xTcsJYqKIgdDaw5Q
093c8a562a Added a comment 2013-02-05 21:33:13 +00:00
Joey Hess
af3a25ee03 Deal with stale mappings for deleted file in direct mode.
The most common way for a mapping to be stale is when a file was deleted,
or renamed. Nothing updates the mappings for deletions yet.
But they can also become stale in other ways. For example a file can
be modified.

So, the mapping is not trusted to be consistent. When we get a key,
only replace symlinks that still point to that key with its content.
When we drop a key, only put back symlinks for files that still have
the direct mode content.
2013-02-05 16:48:00 -04:00
Joey Hess
9174d4449a Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-05 16:04:01 -04:00
http://joeyh.name/
689b8136b3 Added a comment 2013-02-05 19:46:29 +00:00
http://joeyh.name/
645037a026 Added a comment 2013-02-05 19:45:24 +00:00
Joey Hess
bae10ffc18 tag and title 2013-02-05 15:44:02 -04:00
Joey Hess
434c6e9316 remove duplicate bug report 2013-02-05 15:42:58 -04:00
65.183.159.254
ab16c8e4db poll vote (Using only git-annex webapp to config does not seem to work: Create walkthough?) 2013-02-05 19:37:49 +00:00
http://joeyh.name/
2bb1e6725c Added a comment 2013-02-05 19:27:35 +00:00
http://joeyh.name/
1c10c2c8aa Added a comment 2013-02-05 19:22:04 +00:00
Joey Hess
90b7f63dff tag and title 2013-02-05 15:18:14 -04:00
http://joeyh.name/
9e319ee714 Added a comment 2013-02-05 19:16:48 +00:00
http://joeyh.name/
36f0158fe7 removed 2013-02-05 19:14:31 +00:00
http://joeyh.name/
779f21d19e Added a comment 2013-02-05 19:13:34 +00:00