git-annex/Remote
Joey Hess 31e1adc005
deal with unlocked files
P2P protocol version 1 adds VALID|INVALID after DATA; INVALID means the
file was detected to change content while it was being sent and so we
may not have received the valid content of the file.

Added new MustVerify constructor for Verification, which forces
verification even when annex.verify=false etc. This is used when INVALID
and in protocol version 0.

As well as changing git-annex-shell p2psdio, this makes git-annex tor
remotes always force verification, since they don't yet use protocol
version 1. Previously, annex.verify=false could skip verification when
using tor remotes, and let bad data into the repository.

This commit was sponsored by Jack Hill on Patreon.
2018-03-13 14:27:14 -04:00
..
Directory remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
External Added EXTENSIONS to external special remote protocol. 2018-02-07 15:02:12 -04:00
Helper deal with unlocked files 2018-03-13 14:27:14 -04:00
Rsync Support exporttree=yes for rsync special remotes. 2018-02-28 13:36:20 -04:00
WebDAV webdav: Avoid unncessisarily creating the collection at the top of the repo 2017-10-11 11:10:33 -04:00
BitTorrent.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Bup.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Ddar.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Directory.hs Fix directory special remote's cleanup of empty export directories. 2017-11-08 14:38:24 -04:00
External.hs Added EXTENSIONS to external special remote protocol. 2018-02-07 15:02:12 -04:00
GCrypt.hs hide rsync progress output when metered but not in other uses of rsync 2018-03-12 18:36:07 -04:00
Git.hs deal with unlocked files 2018-03-13 14:27:14 -04:00
Glacier.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Hook.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
List.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
P2P.hs fix nested progress meters when using git-annex-shell fallback 2018-03-12 19:20:10 -04:00
Rsync.hs Support exporttree=yes for rsync special remotes. 2018-02-28 13:36:20 -04:00
S3.hs fix version number 2017-10-11 11:43:03 -04:00
Tahoe.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Web.hs avoid warning when youtube-dl is not installed 2017-11-30 13:43:55 -04:00
WebDAV.hs avoid build warning with old version of http 2017-11-21 12:45:49 -04:00