Skip to content

Improve quality and tracing of license detection in Debian copyright files #2390

Description

@pombredanne
  1. we should be able to recover from mostly OK but not correct copyright files such as this one: https://metadata.ftp-master.debian.org/changelogs//main/p/pulseaudio/pulseaudio_14.2-1_copyright (this may be a ticket for the debian-inspector debut library though)
    See Recover parsing from almost machine-readable copyright files debian-inspector#6 Recover parsing from almost machine-readable copyright files

  2. we should have the ability to trace the intermediate detection results (see also Package license data structure: Improve tracing of license detection in package manifests #2389 ) for each paragraph of a copyright file

  3. we could establish a mapping of declared License "ids"

  4. there is an implicit notion of primary vs. secondary licenses in a copyright file and we should leverage this: a paragraph with "Files: *" applies to the package as a whole. This may mean a system-wide model change to track primary vs. secondary license or have the ability to track that in a license expression. See Determine the primary license from a copyright file debian-inspector#8 Determine the primary license from a copyright file

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