Commit graph

9726 commits

Author SHA1 Message Date
http://joeyh.name/
a88fbccca2 Added a comment 2013-04-02 21:21:21 +00:00
Joey Hess
1816646540 add 2013-04-02 17:14:58 -04:00
Joey Hess
e70feb7484 blog for the day 2013-04-02 17:09:03 -04:00
Joey Hess
afb25871b3 note 2013-04-02 17:06:07 -04:00
Joey Hess
78bddca5b8 reorg 2013-04-02 16:59:48 -04:00
Joey Hess
7c0c443c73 layout 2013-04-02 16:58:04 -04:00
Joey Hess
eaaa3315d7 Merge branch 'master' of ssh://git-annex.branchable.com 2013-04-02 16:55:21 -04:00
Joey Hess
1a2c8aeab8 new screencast 2013-04-02 16:54:26 -04:00
Joey Hess
47950cdf31 more efficient uuid to remote lookup 2013-04-02 16:39:11 -04:00
Joey Hess
7b6cf1981f show bytesComplete 2013-04-02 16:38:47 -04:00
Joey Hess
6e7842475b convert "./file" from inotify to just "file"
This just prettifies some display.
2013-04-02 16:20:23 -04:00
https://www.google.com/accounts/o8/id?id=AItOawn26WQjIP5fnMgQF_L_k3Q3UrR5v8mjRTY
566db1196e Added a comment 2013-04-02 20:18:06 +00:00
Joey Hess
69a80a9a4d avoid queuing transfers that are currently running 2013-04-02 16:17:06 -04:00
Joey Hess
1f4fe92f61 avoid queuing transfer that is already queued, with a different associated file 2013-04-02 16:04:49 -04:00
Joey Hess
0f6a6f2a8b avoid queueing uploads to remotes that already have the content 2013-04-02 15:51:58 -04:00
Joey Hess
db3e32e768 improve wording 2013-04-02 15:45:35 -04:00
Joey Hess
0ba205f125 squelch protocol error on shutdown 2013-04-02 15:18:03 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkbv1oKTKhbBp0Ljh_WGU7BFSWWxBr7D3U
eccb3c810a Added a comment 2013-04-02 19:10:18 +00:00
Joey Hess
38d61f934d Update working tree files fully atomically
This avoids commit churn by the assistant when eg,
replacing a file with a symlink.

But, just as importantly, it prevents the working tree being left with a
deleted file if git-annex, or perhaps the whole system, crashes at the
wrong time.

(It also probably avoids confusing displays in file managers.)
2013-04-02 15:02:00 -04:00
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