Skip to content

Draft: Major configuration re-write

This MR implements #33 by moving to TOML and upgrading a bunch of functionality to leverage the new flexible configuration.

The major changes are as follows:

  • the configuration file should now be in TOML format, following the (newly) documented scheme
  • legacy configuration files are translated on-the-fly - I tested this pretty completely, so am hopeful that this won't actually break existing configurations, but it's hard to test everything in a local setup
  • URL handling is now much more flexible, with support for arbitrary URI schemes and transforms (see the new docs)
  • virtual_host authorisation has been replaced with IP block allowlisting (see the new docs)

This should be tested fairly seriously on datafind-dev, or similar, before deployment.

Merge request reports