git-annex/Remote
Joey Hess 71ecfbfccf
be stricter about rejecting invalid configurations for remotes
This is a first step toward that goal, using the ProposedAccepted type
in RemoteConfig lets initremote/enableremote reject bad parameters that
were passed in a remote's configuration, while avoiding enableremote
rejecting bad parameters that have already been stored in remote.log

This does not eliminate every place where a remote config is parsed and a
default value is used if the parse false. But, I did fix several
things that expected foo=yes/no and so confusingly accepted foo=true but
treated it like foo=no. There are still some fields that are parsed with
yesNo but not not checked when initializing a remote, and there are other
fields that are parsed in other ways and not checked when initializing a
remote.

This also lays groundwork for rejecting unknown/typoed config keys.
2020-01-10 14:52:48 -04:00
..
Directory more RawFilePath 2019-12-18 17:10:28 -04:00
External include all remotes back in 2019-12-02 12:26:33 -04:00
Helper be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Rsync fix windows build 2020-01-01 14:27:03 -04:00
WebDAV more RawFilePath 2019-12-18 17:10:28 -04:00
Adb.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
BitTorrent.hs more RawFilePath 2019-12-18 17:10:28 -04:00
Bup.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Ddar.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Directory.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
External.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
GCrypt.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Git.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
GitLFS.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Glacier.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Hook.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
List.hs include all remotes back in 2019-12-02 12:26:33 -04:00
P2P.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Rsync.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
S3.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Tahoe.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Web.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
WebDAV.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00