Add missing license headers.#55
Conversation
|
Hey @ssbr, now that |
From https://opensource.google/docs/releasing/preparing/ : > BEST PRACTICE: Add license headers to any files that can be added to (i.e. anything that takes the format of a source file and supports file comments). This would include things like YAML files. I believe this very directly applies to `.travis.yml`, and reasonably also applies to `Dockerfile`. Wasn't sure what year to put, just copy-pasted the license header from an existing Go source file and changed the commenting syntax. (BTW, I mentioned this in the relevant (but internal to Google) b/165621580.)
|
I think that's done now. Any other files you have in mind? It's been a while so I didn't remember how to run addlicense and had some trouble there. :) Apparently, one must run |
|
I guess if you really wanna cover everything, then the .github/workflow/** files also? It seems a little much to have license headers in some of these files, but to your point that is Google's open source guidance. I believe Google will begin accepting SPDX style headers reasonably soon, so that will reduce these down to just two lines. btw, you can also just run it as: |
From https://opensource.google/docs/releasing/preparing/ :
I believe this very directly applies to
.travis.yml, and reasonably also applies toDockerfile. Wasn't sure what year to put, just copy-pasted the license header from an existing Go source file and changed the commenting syntax.(BTW, I mentioned this in the relevant (but internal to Google) b/165621580.)