Resolve "Switch from .ini to TOML?"
Related to #304 (closed)
This is a rewrite of our configuration to .toml format.
There is a gargantext-settings.toml_toModify
file that you can use as a base template.
Also, there is a CLI subcommand to generate .toml file from your current ini file:
cabal v2-run gargantext-cli -- ini ./gargantext.ini
Tests were fixed accordingly.
Also, because I had problems with tests, I also fixed a long-standing dependency issue in cabal.project
: no more allow-newer: *
, allow-older: *
! I managed to narrow down the dependencies to only the ones that are really required. I also fixed versions in gargantext.cabal
file.
Because there are so many changes, it's good to merge this, especially that the tests do pass.