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

MIT vs AGPL in NPM #948

Open
mensfeld opened this issue Sep 15, 2023 · 3 comments
Open

MIT vs AGPL in NPM #948

mensfeld opened this issue Sep 15, 2023 · 3 comments
Labels
read Read by sequences

Comments

@mensfeld
Copy link

mensfeld commented Sep 15, 2023

Hey, this package is an AGPL but it is presented in NPM and NPM API as MIT:

image

I also checked the package.json of the newest release and same applies. This may be confusing to users that use NPM as a base for their operations.

image

@scramjet-bot scramjet-bot added the read Read by sequences label Sep 15, 2023
@MichalCz
Copy link
Member

Hi @mensfeld,

Indeed this should be clearly shown as AGPL - we'll address this.

This is due the dual licensing we use for the Transform Hub and the runners (these are linked with your programs, but still over a standard protocol, so there's no license leakage), but indeed this should be clearly stated.

If you have any suggestions, please feel free to give us a hint and reasoning to any changes.

@mensfeld
Copy link
Author

I don't have any more suggestions. I'm just doing some licenses related lookups and checks and found this discrepancy. It may be an issue for anyone generating SBOMs in scale using the NPM APIs especially. Thanks for your reply!

@MichalCz
Copy link
Member

Hi @mensfeld,

After double-checking: actually this is intentional - some packages in the repo are licensed as AGPL (where we want to keep the development of the software free, but open to anyone - at least for now), but the packages that may directly link to your code (api clients, runners, tooling) are licensed under MIT to make this licensing safe.

In essence:

  • If you intend to modify/customize the transform-hub code we would ask you to release the changes (at least to your users).
  • If you intend to use the transform-hub the code you're linking against should not automatically trigger AGPL license on your code.

We do intend to change the license to GPL (probably at version 1.0.0), since we already have sufficient userbase, but the code linking parts will stay as MIT so that linking is safe for commercial use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
read Read by sequences
Projects
None yet
Development

No branches or pull requests

3 participants