Changing info.FORMAT_VERSION leads to parser errors
未关闭
bug
discussion
- 主要语言
- Python
- 星标
- 25
- 派生
- 30
- PR 合并指标
- 30 天内没有已合并 PR
描述
When updating the info.json FORMAT_VERSION, both dict and xml parser will break on all older version files even if format changes are backwards compatible.
The current format version handling needs to be refactored to support more fine grained support for odml files of different format versions.
贡献指南
调研方向
首先跟踪 dict 和 XML 解析器如何读取 info.json FORMAT_VERSION,然后将其处理方式与旧格式文件的处理方式进行比较。确定每个格式版本的兼容性规则,并定义测试以证明当前版本发生变化后,向后兼容的旧文件仍能继续解析。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- json, python, xml
- 领域
- backend
- Issue 类型
- 重构
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100