Commit graph

9857 commits

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawkbv1oKTKhbBp0Ljh_WGU7BFSWWxBr7D3U
be79ccea26 Added a comment: Just to add 2013-04-02 19:01:09 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkWG4T4SGZxY-q4Wo8Jbxwb67g4J-WYmQM
31f06cd8ef poll vote (Initially the lack of direct-mode. Now concerns about the safety of direct mode. Perhaps after the next release.) 2013-04-02 18:50:03 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkbv1oKTKhbBp0Ljh_WGU7BFSWWxBr7D3U
1dd7d3b487 2013-04-02 18:41:13 +00:00
94.195.202.110
ce08a7a948 poll vote (An Ubuntu PPA would be supercool! Thanks for your great work!!) 2013-04-02 17:53:50 +00:00
Joey Hess
8c52b20cc7 optimise last commit
Rather than re-adding a direct mode file unnecessarily when it's not
changed, just re-stage the symlink.
2013-04-02 12:58:56 -04:00
Joey Hess
31cbde8190 assistant: Fix bug that could cause direct mode files to be unstaged from git.
My test case for this bug is to have the assistant running and syncing to
a remote, and create a file in the annex. Then at the command line run
git annex drop. The assistant sees that the file is gone, sees it's a wanted
file, and downloads it from the remote.

With a directory special remote and a small file, I was seeing around 1
time in 3, a race where the file got unstaged from git after it got
downloaded.

Looking at what direct mode content managing code does in this case, it
deletes the symlink, and then adds the file content back. It would be
possible, sometimes, to avoid removing the symlink and do this atomically.
And I probably should.. but in some cases, particularly where the file
needs to be run through `cp` (multiple direct mode files with same
content), there's no way to atomically replace the symlink with the
content.

Anyway, the bug turns out to be something that the watcher does right for
indirect mode, but not for direct mode. When it got an add event, it
checked to see if this was a new file, or one we've already added. In the
latter case, no add event was queued. But that means that only the rm event
is queued, and so it unstages the file.

Fixed by queueing an add event even when the file is already in git.

Tested by running hundreds of drops in a loop; file remained staged.
2013-04-02 12:45:31 -04:00
EskildHustvedt
d440fbacc0 Added instructions on using cabal to install git-annex on Fedora 18 2013-04-02 15:22:44 +00:00
https://dzsino.myopenid.com/
eabfcdbf7e Added a comment: I've voted for git-remote-gcrypt because.. 2013-04-02 09:07:23 +00:00
https://dzsino.myopenid.com/
1f527f232b removed 2013-04-02 09:06:39 +00:00
https://dzsino.myopenid.com/
51a2b851a8 Added a comment: I've voted for git-remote-gcrypt because.. 2013-04-02 09:06:08 +00:00
Joey Hess
5f4b9c5f87 clarification 2013-04-02 01:20:15 -04:00
Richard Hartmann
ac442e94b6 Typo and broken link 2013-04-02 01:38:32 +02:00
https://www.google.com/accounts/o8/id?id=AItOawkaBh9VNJ-RZ26wJZ4BEhMN1IlPT-DK6JA
ab6eb0b64a Added a comment: printing keys first is the easiest workaround 2013-04-01 23:32:24 +00:00
Rasmus
6228b0267a Added a comment 2013-04-01 23:23:55 +00:00
Joey Hess
60602f9945 blog for the part of the day I didn't waste writing a lolcat filter 2013-04-01 17:55:08 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnR7hb8IaKB3IKZptRukje0yahmhfLOO98
d2b349b3e3 Added a comment 2013-04-01 19:23:12 +00:00
Joey Hess
129cf00c9c Merge branch 'master' of ssh://git-annex.branchable.com 2013-04-01 15:21:04 -04:00
Joey Hess
d87af82d97 drop --auto: Fix bug that prevented dropping files from untrusted repositories.
This is a corresponding bug to the one I fixed yesterday in the assistant.
2013-04-01 15:20:42 -04:00
http://adamspiers.myopenid.com/
ed8a6872ca Added a comment: Ask for more money :-) 2013-04-01 19:01:50 +00:00
Joey Hess
4b12506c0a fix up some weird write-in choices 2013-04-01 14:37:08 -04:00
http://joeyh.name/
b952f4afcf Added a comment 2013-04-01 18:33:37 +00:00
http://joeyh.name/
9ae27553a0 Added a comment 2013-04-01 18:28:21 +00:00
http://joeyh.name/
3bd965365e Added a comment 2013-04-01 18:24:20 +00:00
2001:470:26:9bb:288e:30f8:701e:d88d
123945726c poll vote (get webapp working on Android) 2013-04-01 18:21:14 +00:00
84.57.11.234
999974e496 poll vote (direct mode (aka real files instead of symlinks)) 2013-04-01 18:05:51 +00:00
2a00:c440:20:124f:cbc:afff:fe2e:f82
429f87f2fb poll vote (optimize file transfer using rsync in the case of changing files) 2013-04-01 17:59:32 +00:00
2a00:c440:20:124f:cbc:afff:fe2e:f82
29c539800d poll vote (direct mode (aka real files instead of symlinks)) 2013-04-01 17:58:31 +00:00
2a00:c440:20:124f:cbc:afff:fe2e:f82
1534e6b748 poll vote (direct mode (aka real files instead of symlinks)) 2013-04-01 17:58:23 +00:00
2a00:c440:20:124f:cbc:afff:fe2e:f82
bdc7ca2697 poll vote (direct mode (aka real files instead of symlinks)) 2013-04-01 17:58:16 +00:00
216.112.253.9
97f7ea0f36 poll vote (upload and download rate limiting) 2013-04-01 17:57:51 +00:00
89.0.248.69
fa6c542e27 poll vote (encrypted git remotes using git-remote-gcrypt) 2013-04-01 16:53:51 +00:00
86.59.215.85
b6cfbbe999 poll vote (encrypted git remotes using git-remote-gcrypt) 2013-04-01 16:47:50 +00:00
80.138.106.186
59da93865f poll vote (don't work on features, work on making it easier to install and use) 2013-04-01 16:41:47 +00:00
80.138.106.186
2e6575b41c poll vote (upload and download rate limiting) 2013-04-01 16:41:25 +00:00
80.187.102.178
58cf01062e poll vote (upload and download rate limiting) 2013-04-01 16:41:06 +00:00
128.223.222.16
6017acec88 poll vote (get webapp working on Android) 2013-04-01 16:34:56 +00:00
70.68.144.25
03ba25c95b poll vote (optimize file transfer using rsync in the case of changing files) 2013-04-01 16:06:43 +00:00
https://www.google.com/accounts/o8/id?id=AItOawn26WQjIP5fnMgQF_L_k3Q3UrR5v8mjRTY
91e2f4b7a5 2013-04-01 15:43:48 +00:00
166.147.104.35
0a81b6ac4a poll vote (start windows port now) 2013-04-01 15:26:16 +00:00
2602:306:bd11:6a50:a866:164d:7b3b:990c
0ba44c85d5 poll vote (don't work on features, work on making it easier to install and use) 2013-04-01 14:54:39 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkWG4T4SGZxY-q4Wo8Jbxwb67g4J-WYmQM
77ff956b86 Added a comment: don't work on features option 2013-04-01 14:03:35 +00:00
2003:6a:6d02:1401:c62c:3ff:fe10:28ef
2e4bd482e3 poll vote (get webapp working on Android) 2013-04-01 13:58:38 +00:00
24.185.86.215
a9dc23d6ee poll vote (start windows port now) 2013-04-01 13:46:10 +00:00
212.255.24.94
65403f7bcc poll vote (Handle duplicate files) 2013-04-01 13:28:15 +00:00
212.255.24.94
1e40801585 poll vote (start windows port now) 2013-04-01 13:28:07 +00:00
212.255.24.94
6dbd1d99a8 poll vote (encrypted git remotes using git-remote-gcrypt) 2013-04-01 13:27:47 +00:00
212.255.24.94
b2fde7adf9 poll vote (get webapp working on Android) 2013-04-01 13:27:32 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo
92f09d5866 tweak formatting :) 2013-04-01 13:11:48 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo
2a648212e4 rename forum/Stupid_mistake:_recoverable__63__.txt to forum/Stupid_mistake:_recoverable__63__.mdwn 2013-04-01 13:11:06 +00:00
62.46.178.22
676c726d46 poll vote (get webapp working on Android) 2013-04-01 10:08:34 +00:00