Description
See rapidsai/cudf#15483 (comment).
There, I observed a case where a totally new file (not moved, not modified) was initially committed in April 2024 with a copyright header like this:
# Copyright (c) 2023-2024, NVIDIA CORPORATION.
When I tried to change it to just 2024, verify-copyright refused to let me.
In file python/libcudf/libcudf/_version.py:1:17:
# Copyright (c) 2024, NVIDIA CORPORATION.
warning: copyright is not out of date and should not be updated
In file python/libcudf/libcudf/_version.py:1:3:
-# Copyright (c) 2024, NVIDIA CORPORATION.
+# Copyright (c) 2023-2024, NVIDIA CORPORATION.
note: suggested fix applied
Relevant details:
Reproducible Example
This came up on a PR, but I can reproduce it without any forks or PRs involved, now that rapidsai/cudf#15483 has been merged.
git clone [email protected]:rapidsai/cudf.git
cd cudf
sed -i .bak 's/2023-2024/2024/g' ./python/libcudf/libcudf/_version.py
git add ./python/libcudf/libcudf/_version.py
pre-commit run verify-copyright
History from https://github.com/rapidsai/cudf/commits/branch-24.10/python/libcudf/libcudf/_version.py
Notes
I (@jameslamb) am actively investigating this. Just putting this up to track the work.
Description
See rapidsai/cudf#15483 (comment).
There, I observed a case where a totally new file (not moved, not modified) was initially committed in April 2024 with a copyright header like this:
When I tried to change it to just 2024,
verify-copyrightrefused to let me.Relevant details:
branch-24.10Reproducible Example
This came up on a PR, but I can reproduce it without any forks or PRs involved, now that rapidsai/cudf#15483 has been merged.
History from https://github.com/rapidsai/cudf/commits/branch-24.10/python/libcudf/libcudf/_version.py
Notes
I (@jameslamb) am actively investigating this. Just putting this up to track the work.