Financial-Times / nori

🍙 exploratory command-line tool to make changes across multiple repositories & track their progress
MIT License
11 stars 0 forks source link

refactor state file handling #57

Closed apaleslimghost closed 5 years ago

apaleslimghost commented 5 years ago

there are currently two separate concepts, the CLI --state-file and interactive's "run file". they have similar but distinct JSON formats and different codepaths for loading and saving. they should be unified probably

simonplend commented 5 years ago

How about a JSON schema for the state file? That could be useful when loading the state file and verifying everything is valid and as expected. I can see cases where someone manually edits a state file, but leaves a small error in the data structure, then nori is unable to correctly read the state file and the user has no idea what to do to resolve the problem.

Ties neatly in to #48.

apaleslimghost commented 5 years ago

done