From 4a01cd74b09562f6d75d5451f019811488c0b5d8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Jan 2020 13:16:48 -0400 Subject: [PATCH] devblog --- doc/devblog/day_616__remote_config_parsing.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/devblog/day_616__remote_config_parsing.mdwn diff --git a/doc/devblog/day_616__remote_config_parsing.mdwn b/doc/devblog/day_616__remote_config_parsing.mdwn new file mode 100644 index 0000000000..858b53d206 --- /dev/null +++ b/doc/devblog/day_616__remote_config_parsing.mdwn @@ -0,0 +1,9 @@ +I'm in the middle of a big change to internals. Remotes have buried inside +them a string-based configuration, and those settings are only parsed when +they're used, so bad configuration is often ignored rather than being +detected when the user inputs it. The parsing is moving to happen upfront. + +This is something I could not have done when I first wrote git-annex, +because the values that get parsed have many different types, so how can a +single Remote data type contain those, whatever they are? Now I know how +to use the Typeable class to do such things.