ckan / ckanext-validation

CKAN extension for validating Data Packages using Table Schema.
MIT License
28 stars 33 forks source link

Clean Validation Reports Job #95

Open JVickery-TBS opened 11 months ago

JVickery-TBS commented 11 months ago

feat(jobs): added job to delete validation reports;

This adds the possible feature (controlled by config option) to delete validation reports for unsupported formats. This is useful in the case that a user updates a Resource to no longer be a format that goes through validation, but the validation report and badge remains. So this helps with keeping the validation table size down a bit, and helps showing the correct validation badge (or lack there of)

JVickery-TBS commented 11 months ago

@ThrawnCA res['id'] also changed to resource_id for uninitialized res in exception handling