tundra-labs / tundra_tools

Create a set of support tools where Tundra Labs customers can download the software, extract information from the devices, diagnose and repair issues.
MIT License
6 stars 1 forks source link

JSON Management #6

Open lgbeno opened 2 years ago

lgbeno commented 2 years ago

Application should automatically store backups of the device JSON file when connecting. For example there should be a device_json folder created in the application, then a folder for each serial number, then files with timestamps for each detected revision.

Each time the application connects to the device, pull the JSON using the downloadconfig command. The software should do a compare of the newly downloaded json to any other json stored in the archives and keep a record of each with a timestamp of when the change was detected.

For future development, the user should be able to edit a few of the JSON parameters and upload them to the device using the uploadconfig command.

Will add parameters that can be edited in notes below as they are identified

exanter commented 2 years ago

Sounds like a good idea. The edit part should probably be on the second version, unless you want it in the MVP. To be determined is how much data this would be to track, maybe using a keystore similar to berkleydb might be useful.