[IDEA] feat: importer to make deserialization easier

未關閉
#465 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
28/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
python
領域
data

研究方向

先閱讀現有的驗證器和輸出器,了解如何處理結構描述和序列化。使用 CDX 測試資料進行整合測試,將資料再次序列化並驗證輸出有效或等效;結構描述偵測和回退行為仍需定義。

由索引模型根據 Issue 內容生成。

描述

enhancement idea

now taht we have validators, it should be possible to write an importer, like the outputters ...

it should take an arbitrary string,
detect the schema from it, and validate against it
if no schema can be detected, then try trom latest to odest ...

if validaion fails: throw
else: return BOM

tesying: integration test is fine

  • load the CDX test data, serialize again, and check for valid data or equalness...

this should imprive the deserialization a lot

主要語言
Python
星號
117
分支
67
平均合併
4 天 13 小時
30 天內合併 PR
3

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CycloneDX/cyclonedx-python-lib 的其他 Issue

查看 CycloneDX/cyclonedx-python-lib 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。