Skip to content
Snippets Groups Projects
Commit 79d78b3e authored by Przemek Rzad's avatar Przemek Rzad Committed by Christian Langenbacher
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 9f2971c4
No related merge requests found
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