-
Notifications
You must be signed in to change notification settings - Fork 836
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 TSLint rule to enforce Apache headers in every file #43
Comments
@caniszczyk @bogdandrutu Could you confirm what a minimal one-liner license would look like as discussed in open-telemetry/community#113? |
sorry something like: // Copyright OpenTelemetry Contributors. SPDX-License-Identifier: Apache-2.0 |
@draffensperger FYI |
@mayurkale22 did you get official confirmation from CNCF folks that this short form header is allowed? |
Any news on this issue ? I'm waiting to merge this one for doing #165 |
* chore: renaming noop span to non recording span * chore: adding upgrade guidelines fixing links
* chore: renaming noop span to non recording span * chore: adding upgrade guidelines fixing links
…rent-express improv(express): require parent span #8
Is your feature request related to a problem? Please describe.
As discussed in #33, the license should be added automatically to every file to avoid users forgetting to add it, or add it in an inconsistent way.
Describe the solution you'd like
TSLint can be used for this purpose with the file-header rule. The header should also be reduced to a minimal copyright notice to avoid polluting every file with a large block of license at the top.
Describe alternatives you've considered
Alternatively, we could use a license that doesn't strongly suggest a per-file license. Unfortunately, right now Apache-2.0 is enforced by CNCF so this will need to be discussed outside the scope of this project.
The text was updated successfully, but these errors were encountered: