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

Support SPDX license identifiers #601

Open
Frixuu opened this issue Apr 13, 2023 · 3 comments
Open

Support SPDX license identifiers #601

Frixuu opened this issue Apr 13, 2023 · 3 comments

Comments

@Frixuu
Copy link

Frixuu commented Apr 13, 2023

Current licensing options have several issues:

  • They are too ambiguous. Is "GPL" version 2 or 3? Does it allow later revisions? How many clauses is "BSD"? SPDX IDs are more specific.
  • They do not give enough choice. What if somebody wants to release a library under AGPL, MPL or Zlib? SPDX defines over 500 license identifiers, including a bunch approved by OSI/FSF/whomever.
  • They are not a standard. SPDX identifiers are supported (or sometimes even required) by NPM, Nuget, Composer, Maven, RubyGems, Conan etc.
@tobil4sk
Copy link
Member

This was discussed previously in #52, but I suppose with an official list this is a more achievable task.

@Simn
Copy link
Member

Simn commented Apr 13, 2023

I personally don't care about this stuff at all and it's a layer of concern that I prefer to not deal with. But as long as I can still install haxelibs without hiring a lawyer I won't get in your way either.

@joshtynjala
Copy link

I just ported a library from another language with an open source license that is not supported by haxelib.json. I guess I'm just going to put Public, even though that's not the actual license. The actual license has a SPDX license identifier, though.

For reference, npm allows custom licenses that aren't SPDX:

If you are using a license that hasn't been assigned an SPDX identifier, or if you are using a custom license, use a string value like this one:

{
"license": "SEE LICENSE IN "
}

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

4 participants