elekto-io / elekto

Software for the Elekto online elections system
https://elekto.io
Apache License 2.0
30 stars 19 forks source link

Need a validator for election files #78

Open jberkus opened 2 years ago

jberkus commented 2 years ago

We need a script or test framework plugin that will validate election files, and prevent formatting errors. This validator could then be added as a presubmit test for organizations using elekto.

It would check for the following things:

upodroid commented 2 years ago

On that note, elekto breaks down when an incorrectly formatted candidate-*.yaml is supplied. That needs to be fixed server side in addition to a script/linter that communities can run to ensure invalid files are not submitted.

The picture below was caused by merging https://github.com/knative/community/pull/1193

image