jw3 / example-daffodil-vscode

A VS Code extension for DFDL with Daffodil
Apache License 2.0
2 stars 3 forks source link

Add Apache licenses to header on all our files and update the top level license file #126

Closed jw3 closed 2 years ago

arosien commented 2 years ago

https://github.com/sbt/sbt-header can be used to do this automatically to Scala files, and possibly as a build check during CI.

arosien commented 2 years ago

Also need to replace the existing, incorrect LICENSE.txt with Apache 2.0. Use this issue, or have a separate one?

arosien commented 2 years ago

https://github.com/sbt/sbt-header can be used to do this automatically to Scala files, and possibly as a build check during CI.

I can do this part quick.

jw3 commented 2 years ago

Sounds good. Yeah just do all Apache 2.0 licenses in this one.

arosien commented 2 years ago

Who should the copyright be listed as? The real names of @jw3, @arosien? (I think we two were the only Scala contributors.)

arosien commented 2 years ago

https://github.com/jw3/example-daffodil-vscode/tree/issue/126-licenses-for-scala-files

jw3 commented 2 years ago

For the ts files https://yarnpkg.com/package/license-check https://github.com/awjh/license-check-and-add

... but doesnt appear to be quite as convenient as it could be.

jw3 commented 2 years ago

https://www.apache.org/legal/src-headers.html#headers

jw3 commented 2 years ago

Updated all the typescript files to have similar header as the scala files, with addition of @Shanedell

jw3 commented 2 years ago

Added a txt file for the snippets json. Read on stack exchange that would be a way to go about that in a non-commentable file

https://opensource.stackexchange.com/a/203