CycloneDX / CycloneDX/cyclonedx-python-lib

[FEAT] Define hierarchical and flat merge methods

Abierto
#909 9 comentarios 0 reacciones 0 asignados Ver en GitHub
contrib enhancement
Lenguaje dominante
Python
Estrellas
116
Forks
67
Merge medio
8 d 2 h
PR fusionados (30 d)
2

Descripción

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
```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by comparing the C# library's HierarchicalMerge behavior with the CLI's hierarchical and flat merge methods, then determine the corresponding public API for the Python library. The issue proposes hierachical_merge(boms, metadata_component) and flat_merge(boms); done means both strategies are exposed with behavior consistent with the existing implementations and documented for users.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp, python
Área
api, backend-api-design
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.