summaryrefslogtreecommitdiff
path: root/doc/devblog/day_121__special_remote_maintenance.mdwn
blob: 5517048858f3e393e0bc0e2e4f2cdc77f1610bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Turns out that in the last release I broke making box.com, Amazon S3 and
Glacier remotes from the webapp. Fixed that.

Also, dealt with changes in the haskell DAV library that broke support for
box.com, and worked around an exception handling bug in the library.

I think I should try to enhance the test suite so it can run live tests
on special remotes, which would at least have caught the some of these
recent problems...

----

Since metadata is tied to a particular key, editing an annexed file,
which causes the key to change, made the metadata seem to get lost.

I've now fixed this; it copies the metadata from the old version to the new
one. (Taking care to copy the log file identically, so git can reuse its
blob.) 

That meant that `git annex add` has to check every file it adds to see if
there's an old version. Happily, that check is fairly fast; I benchmarked my
laptop running 2500 such checks a second. So it's not going to slow things
down appreciably.