Giuseppe Barbieri
02/06/2024, 9:07 AMpre-commit
, that is the File Format and the Basic File Schema Validator
why would I want to run those two on pre-merge
instead?Oz Katz
pre-merge
allows committing on the isolated branch at any state, while merging to that "main" branch requires validation and testing.
For a flatter branching strategy (i.e. transformations running directly on the branch that is availalbe to others), you'd probably want to apply the same logic as a pre-commit
hook and instruct your downstream consumers to only read committed data
This page has a few (hopefully) useful illustrations of this..Giuseppe Barbieri
02/06/2024, 10:37 AM