CycloneDX / CycloneDX/cyclonedx-python-lib

[FEAT] Define hierarchical and flat merge methods

オープン
#909 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
contrib enhancement
主要言語
Python
スター
116
フォーク
67
平均マージ
8日 2時間
マージ済み PR(30日)
2

説明

The C# Library and the CLI tool expose to the user the methods for merging different SBOMs using either hierarchical or flat strategies. This is completely absent in the python library and forces to user to write them leading to differences in implementations. Would it make sense to expose this function/method? The C# library HierarchicalMerge function takes in a list of boms and the merge component, so i guess it would be something like

```python
def hierachical_merge(boms, metadata_component):
# merge stuff
return merged_bom
```
while the flat merge

```python
def flat_merge(boms):
return merged_bom
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。