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

Generated html report does not mention license exceptions #204

Open
Niederb opened this issue Oct 4, 2022 · 1 comment
Open

Generated html report does not mention license exceptions #204

Niederb opened this issue Oct 4, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Niederb
Copy link

Niederb commented Oct 4, 2022

Describe the bug
I have a variety of dependencies that are licensed under GPL-3.0 WITH Classpath-exception-2.0. The license check seems to work correctly but the generated html report puts the dependencies in the GNU General Public License v3.0 only section without any mentioning of the classpath exception. Mentioning the exception is quite important in this case and so I would like it to show up in the generated report.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new empty cargo project
  2. Add a dependency to fui_core = "0.12.0" (which has GPL-3.0 WITH Classpath-exception-2.0 license)
  3. Run cargo about init
  4. Modify the about.toml to this:
accepted = [
    "Apache-2.0",
    "MIT",
    "GPL-3.0 WITH Classpath-exception-2.0",
    "Unicode-DFS-2016",
]
  1. Run cargo about generate about.hbs > license.html
  2. Check the generated license.html

Expected behavior
Ideally the dependency would be listed in a GNU General Public License v3.0 WITH Classpath-exception-2.0 section and the exception text would be appended to the "normal" license.

@thomasdangl
Copy link

This seems to affect all licenses with exceptions, for example, Apache-2.0 WITH LLVM-exception is also affected.

Does anyone know of a way to work around this limitation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants