Skip to content

respdiff/cfg: check fields in criteria/field_weights

Tomas Krizek requested to merge cfg-check-fields into master

MR changes two things:

  1. Fields in config (criteria/field_weights) are now checked against a supported list, any typos will cause an error.
  2. All fields must be present in field_weights now. This change is backward incompatible and requires updates to existing respdiff.cfg. I've found the previous default checks a field using criteria in msgdiff, but it is never reported in diffsum, since it has no weight assigned. @pspacek Is there any valid reason why a field wouldn't be present in field_weights?

Merge request reports