Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples for expressing licensing scenarios #26

Open
swinslow opened this issue May 15, 2021 · 0 comments
Open

Add examples for expressing licensing scenarios #26

swinslow opened this issue May 15, 2021 · 0 comments

Comments

@swinslow
Copy link
Member

Migrating from @jlovejoy's PR in spdx/license-list-XML#1102, content from that PR below.

To be discussed further, just placing here to move out of license-list-XML


This is a working document to capture licensing examples found "in the wild" and how they would be mapped using the SPDX specification license fields

NOTE TO REMOVE: This is not where this information should ultimately be located, but just putting it here to get it written and can move as appropriate later!!

1. Github example

scenario:

  • you have a package with 10 files
  • 1 of these files = LICENSE.txt file with a copy of the MIT license
  • the other 9 files have no licensing information whatsoever

license info:

at package level:

  • Declared Licensem= MIT
  • Concluded License = MIT
  • Comments on License
    • The package level license is MIT and no other license information is found.

at file level:

  • Declared License
    • LICENSE.txt file = MIT
    • other 9 files = NONE
  • Concluded License
    • LICENSE.txt file = MIT
    • other 9 files = MIT
  • Comments on License
    • LICENSE.txt file = (no comment necessary)
    • other 9 files = The package level license is MIT and no other license information is found.

1. NAME example

scenario:

  • xyz

license info:

at package level:

  • Declared License
    • LICENSE.txt file =
    • other 9 files =
  • Concluded License
    • LICENSE.txt file =
    • other 9 files =
  • Comments on License
    • LICENSE.txt file =
    • other 9 files =
      at file level:
  • Declared License
    • LICENSE.txt file =
    • other 9 files =
  • Concluded License
    • LICENSE.txt file =
    • other 9 files =
  • Comments on License
    • LICENSE.txt file =
    • other 9 files =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant