Skip to content

Comparison of release dates does not work as intended #199

Open
@thaljef

Description

@thaljef

At line 122 of get_upstream_copyrights.py, the releasedOn attribute is copied from the BOM component version. It is later used for comparison at line 127:128 to determine if the other component is newer. However, the releasedOn date for a BOM component version seems to always be the date of the scan that detected the component, rather than the release date of the underlying component version. I don't know if that is the intended behavior of the API, but it sure seems suspicious. Either way, the code written here doesn't work as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientIssues relating to blackduck.ClientexamplesAn issue related to an example script

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions