git-annex/Logs
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
..
Chunk update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ContentIdentifier speed up slow quickcheck test 2019-03-06 16:43:41 -04:00
Difference update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
MetaData update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
PreferredContent wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Presence update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Remote be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
SingleValue update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Trust update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Activity.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Chunk.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Config.hs fixed an oversight that had always prevented annex.resolvemerge from being honored, when it was configured by git-annex config 2019-12-20 11:00:08 -04:00
ContentIdentifier.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Difference.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Export.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
File.hs add back non-preferred files to imported tree 2019-05-20 16:43:52 -04:00
FsckResults.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Group.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Line.hs convert transitions.log to attoparsec and bytestring-builder 2019-01-10 17:13:30 -04:00
Location.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
MapLog.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
MetaData.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Multicast.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
NumCopies.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
PreferredContent.hs annex.addunlocked expressions 2019-12-20 15:56:25 -04:00
Presence.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Remote.hs make DropDead transition minimize remote.log for dead sameas remotes 2019-10-15 11:39:25 -04:00
RemoteState.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Schedule.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
SingleValue.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Smudge.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Transfer.hs more RawFilePath 2019-12-18 17:10:28 -04:00
Transitions.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Trust.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Unused.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
UUID.hs fix init default description reversion 2019-06-20 20:30:24 -04:00
UUIDBased.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
View.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Web.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00