Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow unknown keys when parsing csig files and update JSON files
The versioning of the two file formats unfortunately didn't work out as well as I hoped. To support older versions of Custota, the server would need to keep serving the old file formats without any good upgrade path besides doing a hard cutover at some point. Instead, let's try taking a page from the protobuf book and just make version 2 extensible by adding new fields. Custota from now on will just ignore fields it does not understand. I'll plan on having custota-tool output all fields forever for future backwards compatibility. Issue: #94 Signed-off-by: Andrew Gunnerson <[email protected]>
- Loading branch information