Skip to content

Metric: License characteristics #31

@dgkf

Description

@dgkf

Exploring some of the ways that licenses get characterized, the spdx organization characterizes licenses based on whether they are "FSF Free/Libre" and "OSI Approved"

These seem to be metadata-driven and available through these files:

Other resources include:

I think we should use these to build a dataset that is shipped with the package so that we can surface some metadata about licenses.

For complete coverage of this metadata, I think we should be able to provide:

  • license_is_fsf_free: logical(1L), NA if license can't be identified
  • license_is_osi_approved: logical(1L), NA if license can't be identified
  • license_permissions: character(n); vector of permissions from GitHub api, NA_character_ if license can't be identified
  • license_conditions: character(n), vector of conditions from GitHub api, NA_character_ if license can't be identified
  • license_limitations: character(n), vector of limitations from GitHub api, NA_character_ if license can't be identified

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions