duplicacy-util icon indicating copy to clipboard operation
duplicacy-util copied to clipboard

Contemplating removing all but YAML configuration files ... input wanted

Open jeffaco opened this issue 6 years ago • 5 comments

Since I have no real way to reach my user base, I thought I'd open an issue here.

Currently, duplicacy-util supports reading configuration files in a large variety of formats due to use of Viper. Viper allows configuration files to be in JSON, TOML, YAML, HCL, or Java properties config files. I've always used YAML, and to be best of my knowledge, I never came across anyone that used something else.

I'm contemplating dumping Viper and just sticking to YAML. The problem is that Viper pulls in the kitchen sink (there's a huge number of dependencies). I think fewer dependencies means fewer code paths, which means smaller images and greater reliability.

But I can only do that if folks are only using YAML configuration files.

Do you use something other than YAML for duplicacy-util configuration files? If so, reply here!

jeffaco avatar Apr 06 '19 06:04 jeffaco

I only use YAML. Getting rid of viper would not affect me.

dengelsma avatar Apr 08 '19 15:04 dengelsma

Newish duplicacy-util user here. Thought you might like more than a sample of 1.

I only use YAML.

wdckwrth avatar Sep 14 '19 18:09 wdckwrth

The adavantes of dumping viper far outweigh the disavantage of being "obliged" to use the YAML format. For the small amount of configuration that's necessary here, that's a trivial adaptation even if one is used to anothter format. So go for it!

mightymightys avatar Oct 21 '19 12:10 mightymightys

Yes please do.

mayerwin avatar Mar 08 '20 17:03 mayerwin

YAML or JSON. Since YAML is supposed to be a superset of JSON any decent YAML parser should handle it.

Sxderp avatar Jul 01 '20 19:07 Sxderp