Skip to content

Expand the scanning tools used for license detection for better coverage #4595

Open

Description

@mthalman

In #4590, a file that was originally thought to be acceptable for inclusion in the VMR for source build was discovered to be associated with a non-free license. A description for how this was found is here: #4590 (comment).

Today, we only use scancode for detecting license references. It did not catch this case because the content of the binary file had no license reference. But the lintian can match on checksums. We should consider expanding the set of tools used for license detection to get better coverage and catch cases like #4590. The use of lintian may be a possibility but that requires the targeting of a DEB package, not arbitrary directories. We don't have DEB packages currently available at the time scanning takes place.

Activity

  1. mthalman commented on Sep 6, 2024

    @mthalman
    MemberAuthor

    The use of lintian may be a possibility but that requires the targeting of a DEB package, not arbitrary directories. We don't have DEB packages currently available at the time scanning takes place.

    This could possibly be helped with the use of dotnet/arcade#15051

  2. dviererbe commented on Sep 8, 2024

    @dviererbe

    You could just use the hash lists lintian uses to detect these files if you do not want to integrate the full lintian tool. They can be found here: https://salsa.debian.org/lintian/lintian/-/tree/master/data/cruft

    E.g. here is the specific entry for the sRGB.icm file:
    https://salsa.debian.org/lintian/lintian/-/blob/master/data/cruft/non-free-files#L39

  3. added
    area-testing
    and removed on Sep 12, 2024
  4. moved this from Backlog to 10.0 in .NET Source Buildon Sep 12, 2024
  5. moved this from 10.0 to 10 Candidate in .NET Source Buildon Feb 6, 2025
  6. moved this from 10 Candidate to 10.0 in .NET Source Buildon Feb 6, 2025
  7. moved this from 10.0 to 10.0 RC2 in .NET Source Buildon Jul 9, 2025
  8. moved this from 10.0 RC2 to 10.0 in .NET Source Buildon Jul 14, 2025
  9. moved this from 10.0 to Backlog in .NET Source Buildon Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testing

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions