]> dgit.raspbian.org Git - git-annex.git/blob
f3cd71433bf46db3026223667faf222b4dc5f598
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 7"""
4  date="2017-12-11T17:12:41Z"
5  content="""
6 The diff shows `git annex whereis` used to send CLAIMURL to the external,
7 and no longer does.
8
9 Reproduction recipe using git-annex-remote-ipfs:
10
11         git annex initremote ipfs type=external externaltype=ipfs encryption=none
12         date > somefile
13         git annex add somefile
14         git annex addurl --debug --relaxed ipfs:dummy --file somefile
15
16 Which results in `git annex whereis somefile` saying it's present in ipfs,
17 but not listing the ipfs url for it. And again, whereis does not sent
18 CLAIMURL.
19
20 And, in log.web, I see why:
21
22         +1513013502.312530881s 1 ipfs:dummy
23
24 That is not an OtherDownloader url, it's lacking the ":" prefix.
25
26 This seems to be particular to the addurl --relaxed --file code path;
27 letting addurl add a new file does result in an OtherDownloader url
28 being recorded.
29
30 I guess the reason the test suite then fails is, the url it removes is not
31 the one git-annex recorded, and so git-annex still thinks it's at the wrongly
32 recorded url, and so dropping succeeds.
33 """]]