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

Copyright notices for JS libraries & licensing of Highcharts #1286

Closed
firai opened this issue Jul 28, 2023 · 4 comments · Fixed by #1747
Closed

Copyright notices for JS libraries & licensing of Highcharts #1286

firai opened this issue Jul 28, 2023 · 4 comments · Fixed by #1747
Milestone

Comments

@firai
Copy link

firai commented Jul 28, 2023

Description

  • JS libraries are being bundled with NiceGui, but the repo seems to be missing respective copyright/license notices for the various libraries. Since most of the libraries are MIT-licensed, I understand that the copyright and license notices are required.
  • NiceGui is MIT-licensed, but I understand that Highcharts is only free for non-commercial, testing or demonstration use12. Since the Highcharts sources are being bundled with NiceGui, it seems like the Readme and/or docs should point out the difference in licensing and point the user to Highchart's licensing descriptions linked to above or the license notice in their repo.

Footnotes

  1. https://www.highcharts.com/blog/download/

  2. https://www.jsdelivr.com/package/npm/highcharts#id-license

@rodja
Copy link
Member

rodja commented Jul 28, 2023

You are right, @firai. Thanks for bringing this up. Could you create a pull request to fix this?

@rodja rodja added this to the 1.3.7 milestone Jul 28, 2023
@falkoschindler falkoschindler modified the milestones: 1.3.7, 1.3.8 Aug 2, 2023
@firai
Copy link
Author

firai commented Aug 3, 2023

I know of at least several ways of complying:

  1. Put a single third-party notice in the root folder with all of the third party copyrights and licenses. I understand that this is the strategy that corporations tend to adopt (ref. VS Code). Since there aren't that many third party packages, manually compiling the notices may be the fastest. The only kink is that Highcharts is under a different license than everything else, so it may be wise to flag out which subfolder their notice applies to and perhaps throw another copy of their notice in the Highcharts subfolder.
  2. (Variation of 1) Put the notices in Dependencies.md as part of the build process. However, this may make that document a bit messy. Furthermore, since packages don't uniformly include their licenses in the npm packages, this will likely require hardcoding links to Github to pull the licenses, and the links could (theoretically) be fragile. Same consideration for Highcharts as 1.
  3. (Variation of 2) Put the respective licenses in the subfolders, and add a master notice in the root license to refer to the subfolders. Similar considerations as 2 regarding pulling the licenses "automatically".

Thoughts?

@rodja
Copy link
Member

rodja commented Aug 4, 2023

We already have the npm.py which fetches the libs according to npm.json. Maybe we can add the licence links to the json and let the py script build the Dependencies.md?

@falkoschindler
Copy link
Contributor

PR #1747 adds license links to Dependencies.md. This should resolve this issue for now.

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

Successfully merging a pull request may close this issue.

3 participants