PkgTemplates.jl icon indicating copy to clipboard operation
PkgTemplates.jl copied to clipboard

Would it seem reasonable to add all SPDX licenses?

Open freemin7 opened this issue 5 years ago • 3 comments

The SPDX License List is a list of commonly found licenses and exceptions used in free and open source and other collaborative software or documentation. It also defines a standard short hand license identifier (which differs from your scheme). Would you welcome a pull request where all licenses from the SPDX license list are added? This would imply that there are two copies of "GPL-2.0+" since the same license is called "GPL-2.0-or-later" by SPDX and in the current file based scheme there is no way to have two identifiers for the same license.

freemin7 avatar Feb 09 '20 10:02 freemin7

It does seem reasonable, but there are... a lot of licenses in that list. And many of them will definitely never be used. So I feel like it would perhaps be a waste. Maybe something more practical would be a SPDXLicense(id::AbstractString) plugin that allowed users to choose a license to be downloaded for them?

christopher-dG avatar Feb 09 '20 10:02 christopher-dG

I am considering moving all these licenses into a another repository. I am sure other projects depend on Licenses too. Sometime this year i plan to create Licenses.jl or something like that. I am not sure if the overhead if adding a downloader (and parsing) is worth the complexity for a few kilobytes of text.

freemin7 avatar Feb 12 '20 12:02 freemin7

FYI there'll eventually be an HTTP dependency for #113, so the dependency at least is not an issue.

christopher-dG avatar Feb 12 '20 12:02 christopher-dG