Skip to content

[RFC] Use new license key undetected-license #3021

Description

@AyanSinhaMahapatra

We have some discussion here wrt unknown licenses and how in some cases it could be confusing.

In license detection there are a few unknown cases: (which are more persistent and will be possibly)

  1. When there is a private (proprietary/commercial or others) license
  2. We have a incorrect detection as the detected text is very different from existing scancode rules
  3. We know there is a license but we cannot detect any (from legalese files/package manifests with a non empty extracted license statement)

Some part of the solution is:

  1. adding support for custom licenses to be installed (for the first case) [WIP]
  2. adding more license rules (for the second case)
  3. reporting LicenseDetections for detections we are sure about and report other matches as license_clues seperately [WIP]

But there still remains the confusion as unknown might mean licenses we don't know about when it actually means licenses that weren't detected by scancode.

So the new license-key being proposed is undetected-license.

It seems important in the context of case 3 (We know there is a license but we cannot detect any), but could also be a replacement for unknown-license?

@DennisClark @pombredanne @mjherzog what's your opinion on this?

Activity

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

    RFCRequest for comment, from the maintainers, users and the larger aboutcode community.question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions