Skip to content

Improve license URL detection #2679

Description

@pombredanne

Based on a report by @LeChasseur and @armijnhemel
There is a large number of URLs that reference licenses and we have a good number of them as detection rules.
These rules are qualified as "is_license_reference"

  1. It would be better to mark them as "is_license_url" so we can distinguish them
  2. since there is a very large number of these possible we could optimize a secondary index and matching technique just for these
  3. some of these may match patterns such things based https://github.com/remy/mit-license or license badges
  • for these we may have a special way to handle patterns
  1. some of these contain extra information at the referenced URL page.
  • we do not want to live fetch them in scancode-toolkit, but tagging these with "is_license_url" means we could later have an optional step in scancode.io pipelines that could follow the referenced URL, fetch, save and scan them, including collecting copyrights and other useful information that may live there.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions