-
Notifications
You must be signed in to change notification settings - Fork 25
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
Apply and enforce file-level license headers #440
base: master
Are you sure you want to change the base?
Conversation
6b1a3ad
to
763da60
Compare
Use `mattermost-govet` to ensure each file begins with the appropriate header, then fix all instances for built source code. ``` // Copyright (c) 2019-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. ``` Note that this renames `LICENSE` to `LICENSE.txt` purely to align on the copyright messaging across repos.
763da60
to
6c72240
Compare
f573fb9
to
f13d253
Compare
@lieut-data a bunch of files ended up with duplicated copyright notices with different dates. I commented on the first few I found, but didn't comment on the rest. Is the tool meant to detect existing copyright messages and update or replace them? |
Thanks for your careful eye, @wiggin77! I thought I had pruned the cases where this had occurred early on, but I clearly wasn't rigorous enough. I've gone through all the pre-packaged plugins again to check for duplicate Copyrights and fixed the ones here as well as in the Jira PR. (I've also surfaced some weird files in Boards I'm looking into separately.) |
Summary
Use
mattermost-govet
to ensure each file begins with the appropriate header, then fix all instances for built source code.Note that this renames
LICENSE
toLICENSE.txt
purely to align on the copyright messaging across repos.Ticket Link
None