-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add license check #165
Add license check #165
Conversation
Niederb
commented
Oct 4, 2022
•
edited
Loading
edited
- Similar to the PR for the pallets repo
- Add license check to CI pallets#98
- Note that parachain is already licensed under GPL-3.0
- Unfortunately the generated license.html does not mention the classpath exception
- See Generated html report does not mention license exceptions EmbarkStudios/cargo-about#204
- If we want to use it as part of a binary release we probably should modify it manually
- The license check takes quite some time (3 min), but I cannot reproduce this on my machine. There it takes seconds
- The parachain build already takes a while so it's not that important, but for other repos this can be annoying.
a66c8a7
to
3e6926a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks ! Pity that so many polkadot files generate a warning :/
"ISC", | ||
"OpenSSL", | ||
"Unicode-DFS-2016", | ||
"Zlib", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So GPL licences allow that many more licences? (comparing to pallets https://github.com/integritee-network/pallets/blob/917dd4f241ea41a50231c1effb060ab38745ad7d/about.hbs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I trust you on the accepted licences!
- name: Run license check | ||
# Explicitly use stable because otherwise cargo will trigger a download of | ||
# the nightly version specified in rust-toolchain.toml | ||
run: cargo +stable about generate about.hbs > license.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, good catch!