Commit graph

8529 commits

Author SHA1 Message Date
Joey Hess
55069f0fab update for reversion 2013-02-15 16:39:11 -04:00
Joey Hess
5a8fb26d0a Revert "Clean up direct mode cache and mapping info when dropping keys."
This reverts commit 57780cb3a4.

This was buggy, it caused the direct mode cache to be lost when dropping
keys, so when the file is gotten back, it's stored in indirect mode.

Note to self: Do not attempt bug fixes at 6 am!
2013-02-15 16:37:57 -04:00
Joey Hess
80fa144d79 fixed test suite build after recent changes broke it 2013-02-15 16:06:22 -04:00
Joey Hess
5ea4b91fb4 start to support core.symlinks=false
Utility functions to handle no symlink mode, and converted Annex.Content to
use them; still many other places to convert.
2013-02-15 16:03:11 -04:00
Joey Hess
2cd696a124 update 2013-02-15 14:36:49 -04:00
Joey Hess
2e49a7e729 don't allow setting indirect mode on a crippled filesystem 2013-02-15 14:17:31 -04:00
Joey Hess
4da932a48f improve 2013-02-15 13:53:28 -04:00
Joey Hess
5e6a60c17d migrate, rekey: copy rather than hard linking in crippled filesystem mode 2013-02-15 13:51:50 -04:00
Joey Hess
96613e85a9 build fix 2013-02-15 13:48:25 -04:00
Joey Hess
9e69fca5bb optimise sending to encrypted rsync
With an encrypted rsync remote, the encrpyted file can be renamed, rather
than being copied, in crippled filesystem mode. This gets back to just as
fast as non-crippled mode for this very common case.
2013-02-15 13:42:41 -04:00
Joey Hess
92b4a63a06 rsync special remote support for crippled filesystem mode
Cannot make a hard link, have to copy.

I did find a way to make it work without setting up a tree, just using
--include and --exclude. But it needs the same hash directories to be used
on both sides, which is normally not the case. Still, I hope one day I will
convert non-bare repos to use the same hash dirs as everything else, and
then this will get more efficient.
2013-02-15 13:33:36 -04:00
Joey Hess
b3b5b7631d Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-15 13:09:19 -04:00
Joey Hess
630f4531a7 fix assistant's use of lsof in crippled filesystem mode 2013-02-15 13:08:22 -04:00
Joey Hess
a988b90826 avoid warning 2013-02-15 13:05:39 -04:00
Joey Hess
a3a567da13 little xargs eqivilant as a pure function 2013-02-15 13:05:19 -04:00
http://nullroute.eu.org/~grawity/
4b98996fd7 Added a comment 2013-02-15 00:38:01 +00:00
Joey Hess
0583b4686a fixed 2013-02-14 19:06:18 -04:00
Joey Hess
071d07ca29 fixed 2013-02-14 19:06:08 -04:00
Joey Hess
0d0034b9d7 add standalone target 2013-02-14 18:51:30 -04:00
Joey Hess
ae53f0a4b5 Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-14 17:13:58 -04:00
Joey Hess
9be67c28f0 blog for the day 2013-02-14 17:13:45 -04:00
Joey Hess
7ce30b534f add: Improved detection of files that are modified while being added.
In indirect mode, now checks the inode cache to detect changes to a file.
Note that a file can still be changed if a process has it open for write,
after landing in the annex.

In direct mode, some checking of the inode cache was done before, but
from a much later point, so fewer modifications could be detected. Now it's
as good as indirect mode.

On crippled filesystems, no lock down is done before starting to add a
file, so checking the inode cache is the only protection we have.
2013-02-14 16:54:36 -04:00
Joey Hess
a52f8f382b split out Utility.InodeCache 2013-02-14 16:17:40 -04:00
Joey Hess
47477b2807 crippled filesystem support, probing and initial support
git annex init probes for crippled filesystems, and sets direct mode, as
well as `annex.crippledfilesystem`.

Avoid manipulating permissions of files on crippled filesystems.
That would likely cause an exception to be thrown.

Very basic support in Command.Add for cripped filesystems; avoids the lock
down entirely since doing it needs both permissions and hard links.
Will make this better soon.
2013-02-14 14:15:26 -04:00
Joey Hess
35b7b1a406 remove unused item
This moved to annexDirect in GitConfig.
2013-02-14 13:22:56 -04:00
117.197.11.130
e267637cd6 poll vote (Google Drive) 2013-02-14 13:18:52 +00:00
108.254.104.238
77bd3a0ee3 poll vote (I need a Windows port) 2013-02-14 05:16:14 +00:00
http://a-or-b.myopenid.com/
253a198d0e Added a comment 2013-02-13 22:16:17 +00:00
Joey Hess
6e0f8c343b couple more android build fixes 2013-02-13 17:56:10 -04:00
Joey Hess
f342a0519b fix make -C 2013-02-13 16:44:46 -04:00
Joey Hess
86c296fddd Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-13 16:38:53 -04:00
Joey Hess
6ca2b8ea30 blog for the day 2013-02-13 16:38:19 -04:00
Joey Hess
f3b7e16293 Makefile and patches for reproducible build of utilities for android 2013-02-13 16:38:03 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmaMxYm33s0H-nxBo5uzYUzdIECoyR8Ug8
1703f2a416 Added a comment: an update 2013-02-13 20:33:24 +00:00
Joey Hess
63f5284949 update; android tarball 2013-02-13 14:32:16 -04:00
Joey Hess
242c83e66f tweak android runshell after testing 2013-02-13 14:32:02 -04:00
Joey Hess
43f8b8873a add androidapp target
The android-utilities/ directory currently needs to be set up by hand to
contain busybox, etc.
2013-02-13 14:31:22 -04:00
Joey Hess
f40180f033 deal with Android's nonstandard shell location
This is so gratutious and pointless. It's a shame that everything we
learned about Unix portability and the importance of standards has been
thrown out the window by these guys.
2013-02-13 14:30:04 -04:00
Joey Hess
8c66801c78 updated for android 2013-02-13 14:16:31 -04:00
annexuser
927371438b 2013-02-13 17:39:19 +00:00
Joey Hess
2633c704bb runshell for Android 2013-02-13 13:32:15 -04:00
http://a-or-b.myopenid.com/
c126c992d6 2013-02-13 05:12:41 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkF8_uQjLYm5Mf5F_JuVW-BxlvzpWjvR_o
edb7a647be 2013-02-13 01:09:06 +00:00
Joey Hess
f2cb275513 Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-12 19:52:49 -04:00
Joey Hess
113637ed18 fancy video type selection 2013-02-12 19:51:44 -04:00
Joey Hess
cf5b5f8054 update 2013-02-12 19:51:39 -04:00
82.79.96.15
ae248f7445 poll vote (Google Drive) 2013-02-12 20:39:46 +00:00
http://joeyh.name/
202108fa81 Added a comment 2013-02-12 15:42:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
c8d0445eea Added a comment 2013-02-12 10:24:50 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmaMxYm33s0H-nxBo5uzYUzdIECoyR8Ug8
6add8f9c74 2013-02-12 00:54:26 +00:00