-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Standardize and fix copyright and licenses #2054
Conversation
* All copyright lines now have -2020 instead of -present * All copyright lines include "Facebook, Inc" * All licenses are now standardized The copyright in `threading.{h,c}` is not changed because it comes from zstdmt. The copyright and license of `divsufsort.{h,c}` is not changed.
Tests all `.h`, `.c`, `.py`, and `Makefile` files for valid copyright and license lines. Excludes a small number of exceptions (threading, and divsufsort). * Copyright does not contains `present` * Copyright contains `Facebook, Inc` * Copyright contains the current year * License contains exactly the lines we expect
CircleCI isn't running on my repo, which means it doesn't run on my PRs... It seems that I have ~100 jobs stuck as "running". To be investigated before landing. |
Run it first because it is very fast (~1 second)
CircleCI is running on my PRs now, and the test passed as expected https://circleci.com/gh/facebook/zstd/5769?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link (first line is |
The FreeBSD failure seems unrelated. |
@@ -12,6 +12,7 @@ jobs: | |||
- run: | |||
name: Test | |||
command: | | |||
./tests/test-license.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
# All rights reserved. | ||
# | ||
# This source code is licensed under both the BSD-style license (found in the | ||
# LICENSE file in the root directory of this source tree) and the GPLv2 (found | ||
# in the COPYING file in the root directory of this source tree). | ||
# You may select, at your option, one of the above-listed licenses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'at your discretion' sounds more natural to me than 'at your option'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but to change it we would have to talk to our lawyers, and it isn't worth the hassle unless the wording is causing problems for someone.
The copyright in
threading.{h,c}
is not changed because it comes from zstdmt. The copyright and license ofdivsufsort.{h,c}
is not changed.Fixes #2052