git-annex/Remote/Helper
Joey Hess 71f78fe45d
wip separate RemoteConfig parsing
Remote now contains a ParsedRemoteConfig. The parsing happens when the
Remote is constructed, rather than when individual configs are used.

This is more efficient, and it lets initremote/enableremote
reject configs that have unknown fields or unparsable values.

It also allows for improved type safety, as shown in
Remote.Helper.Encryptable where things that used to match on string
configs now match on data types.

This is a work in progress, it does not build yet.

The main risk in this conversion is forgetting to add a field to
RemoteConfigParser. That will prevent using that field with
initremote/enableremote, and will prevent remotes that already are set
up from seeing that configuration. So will need to check carefully that
every field that getRemoteConfigValue is called on has been added to
RemoteConfigParser.

(One such case I need to remember is that credPairRemoteField needs to be
included in the RemoteConfigParser.)
2020-01-13 12:39:21 -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 wip separate RemoteConfig parsing 2020-01-13 12:39:21 -04:00
Encryptable.hs wip separate RemoteConfig parsing 2020-01-13 12:39:21 -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 wip separate RemoteConfig parsing 2020-01-13 12:39:21 -04:00
Ssh.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00