git-annex/Remote/Helper
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
..
Chunked more RawFilePath 2019-12-18 17:10:28 -04:00
AWS.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Chunked.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Encryptable.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
ExportImport.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Git.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Hooks.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Http.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Messages.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
P2P.hs make metered more generic 2019-06-25 12:33:36 -04:00
ReadOnly.hs improve error display when storing to an export/import remote fails 2019-08-13 12:05:00 -04:00
Special.hs include git-annex-shell back in 2019-12-02 11:51:52 -04:00
Ssh.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00