fsf-license-api.git
7 years agoREADME: Document this project
W. Trevor King [Fri, 20 Oct 2017 18:15:51 +0000 (11:15 -0700)]
README: Document this project

SPDX-License-Identifier: MIT

7 years agopull: Use sets of licenses in TAGS
W. Trevor King [Fri, 20 Oct 2017 17:46:26 +0000 (10:46 -0700)]
pull: Use sets of licenses in TAGS

Because the FSF considers GPL- and FDL-compatible licenses
free-as-in-libre as well.

7 years agopull: Resolve relative URIs relative to the FSF base
W. Trevor King [Fri, 20 Oct 2017 17:39:34 +0000 (10:39 -0700)]
pull: Resolve relative URIs relative to the FSF base

E.g. we want:

  "uri": "https://www.gnu.org/licenses/agpl.html"

in our output JSON, not:

  "uri": "/licenses/agpl.html"

7 years agopull: Add a script to scrape FSF license IDs, names, and tags
W. Trevor King [Fri, 20 Oct 2017 17:20:04 +0000 (10:20 -0700)]
pull: Add a script to scrape FSF license IDs, names, and tags

We want to use this to lookup FSF tags associated with a given SPDX
license.  The FSF is intestested [1], but maybe not enough to maintain
their own API.  Until they do maintain their own API, stub out a mock
API on their behalf, which we can hand over to them when they're
ready for it.

[1]: https://lists.spdx.org/pipermail/spdx-legal/2017-October/002281.html
     Subject: Issues added based on this weeks Legal Call
     Date: Fri, 13 Oct 2017 10:20:33 -0700
     Message-ID: <021801d34447$9443e280$bccba780$@com>