Skip to content

[BUG] Declared licence also appearing in discovered #1673

@thompson-tomo

Description

@thompson-tomo

Important: Bug reports should be directed to support@fossa.com for faster response and prioritization. Bug reports may still be created here but they may not get immediate attention and may be closed in favor of internally tracked tickets.

Describe the bug
When a license scan runs on https://rubygems.org/gems/diff-lcs/versions/1.6.2 it is detecting the declared licenses as including GPL-2.0-or-later which is correct. However then under Discovered Licenses it is including GPL-2.0-only due to including the license text in a copying.md file.

To Reproduce
Steps to reproduce the behavior:

  1. Run fossa analyze ...
  2. See error

Expected behavior
GPL-2.0-only doesn't appear under the discovered licenses due to it already being explicitly declared as being GPL-2.0-or-later. Alternatively it should appear as GPL-2.0-or-later due to the expression declaring it as or-later.

Debug bundle
Please run fossa with the --debug flag and attach the resulting fossa.debug.zip file here.

Additional context
Project is at https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-ruby-contrib/refs/branch/main/84f7a35d51e112ad6886c676bafa0a120377b4af/preview?revisionScanId=100283376

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions