choosealicense.com
choosealicense.com copied to clipboard
`source:` isn't a consistent source of truth
As noted in #462 our license texts don't all match precisely the texts their source:
fields point to. I'd like to fix that eventually, probably by treating license texts curated by SPDX as canonical.
Implementation needs tests. Would detect and help us avoid issues such as #310 #486 #488
If we can manage to use SPDX as the canonical source of license texts, then we don't need the source
field at all, as SPDX URLs can be constructed from spdx-id
.
If we can manage to use SPDX as the canonical source of license texts, then we don't need the source field at all, as SPDX URLs can be constructed from spdx-id.
See https://github.com/github/choosealicense.com/pull/489. I wrote a quick script to vendor in the license text from the SPDX API. The biggest change is the lack of line wrapping (doesn't affect the site or Licensee), and we'll need to normalize the merge fields, if we wanted to go that route.