Skip to content

[FEAT] Define hierarchical and flat merge methods #909

@woshiwuja

Description

@woshiwuja

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

def hierachical_merge(boms, metadata_component):
    # merge stuff
    return merged_bom

while the flat merge

def flat_merge(boms):
    return merged_bom

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribContributed features not part of the core library.enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions