A pre-commit hook that could be used with operate-first/apps and enforce that DSL files are properly synced with rules.json prior to commits.
This approach allows the current trino configuration system to remain in place, but instead maintain a dsl.yaml file that is kept in sync with corresponding rules.json using trino-dsl-to-rules module command.
A pre-commit hook that could be used with
operate-first/apps
and enforce that DSL files are properly synced withrules.json
prior to commits.This approach allows the current trino configuration system to remain in place, but instead maintain a dsl.yaml file that is kept in sync with corresponding rules.json using
trino-dsl-to-rules
module command.cc @HumairAK @harshad16