Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpdxDocumentModelMapper: Make SPDX "idstring" generation predictable #5225

Merged
merged 1 commit into from
Apr 7, 2022

Commits on Apr 5, 2022

  1. SpdxDocumentModelMapper: Make SPDX "idstring" generation predictable

    Being able to predict the SPDX "idstring" for a given package is a
    prerequisite for upcoming changes that will maintain the transitive
    package relationships.
    
    The SPDX ID is now derived from the coordinate representation of a
    project's / package's `Identifier`. As the `Identifier` is unique within
    an `OrtResult`, the derived SPDX ID is very likely unique, too, except
    for cases where coordinate representations differ only in special
    characters that get mapped to the same valid character for an SPDX ID.
    
    Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
    sschuberth committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    141d278 View commit details
    Browse the repository at this point in the history