Skip to content

Several files per license #404

Description

@grv87

Please consider that some licenses have several files.
For example, for LGPL 3.0 there are two files: COPYING and COPYING.LESSER. Both files form the whole license and should be distributed together. See e.g. http://git.savannah.gnu.org/cgit/guile.git/tree/ which even has third LICENSE file referring to those two.

Currently this ABOUT file:

about_resource: two_license_files.ABOUT
name: two_license_files
licenses:
  - key: LGPL-3.0-or-later
    file:
      - COPYING
      - COPYING.LESSER

doesn't pass check:

CRITICAL: about/two_license_files.ABOUT: Cannot load invalid ABOUT file: '\?\R:\!spikes\about\two_license_files.ABOUT': AttributeError("'list' object has no attribute 'strip'",)

List of files works with syntax from specification (license_file). But if there are several licenses then there is no correspondence between license_key and license_file items. So I would like to avoid that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions