Skip to content
Snippets Groups Projects
Unverified Commit 3726493d authored by Przemek Rzad's avatar Przemek Rzad Committed by GitHub
Browse files

Ensure license headers match the Cargo manifest licenses (#5776)


- Closes https://github.com/paritytech/license-scanner/issues/44
- Silent because only comments are changed in the crates.

## What's inside

First, we change the file traversal mechanism from shell globbing to
walking through files which happens inside the `license-scanner` - so it
has knowledge about directory structure and can correlate files with
corresponding Cargo manifest.

Next, added `MIT-0` and `Unlicense` to the allowed list of licenses.
`Unlicense` appears only once across {Substrate,Cumulus,Polkadot} - in
`penpal-runtime`.

Finally, updated headers in files that do not match the corresponding
manifest license.

---------

Co-authored-by: Yuri Volkov's avatarcornholio <0@mcornholio.ru>
parent f08bf1a1
Pipeline #514685 waiting for manual action with stages
in 15 minutes and 24 seconds
Showing
with 71 additions and 46 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment