File: comment_33_bee7ff39f3989dfbec292490e47bcaaa._comment

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
file content (19 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[[!comment format=mdwn
 username="joey"
 subject="""comment 33"""
 date="2018-09-24T15:35:54Z"
 content="""
@Ilya_Shlyakhter,

1. CHECKURL is only used by git-annex add/importfeed when adding a new url.
   So it does not need to be consistent with CHECKPRESENT, though it would
   probably make sense for it to be in most cases.
2. I guess you're asking if it should do that in its CHECKPRESENT
   implementation. CHECKPRESENT needs to use some method to actively verify
   that the remote currently contains the content of the key. It doesn't
   necessarily need to use a recorded url.
3. GETURLS looks at information stored in the git-annex branch. If the url
   key has been added to the repository with `git annex add` then its url
   will be stored there, but if you just generated an url key, it doesn't
   necessarily have anything stored about it in the git-annex branch.
"""]]