Hi,
question. What is exactly the use-case for addurl. To add unique files as if they where never changing resources?
There is a --relaxed flag to enable some leniency in redownloading the file it seems. But how would one go about updating a file from the web, drop it first? Or do I have to add pseudo queries or hashes to the URLs to keep them unique and manage any versioning that way perhaps?
The use case is to be able to
git annex addurl
in one repository andgit annex get
in another checkout, without needing to remember the url yourself. Or to usegit annex whereis
to look up the url associated with a file.When --relaxed is used, you're telling git-annex you want to treat the current and future content of the url as close enough to the same as to not matter. I wouldn't use it if I expected the content of an url to change significantly, and git-annex is not able to help with manageing such differences.