Skip to content
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

Update copyright message to 2023 #339

Conversation

keryell
Copy link
Member

@keryell keryell commented Jan 12, 2023

Mainly applying this script:

#! /bin/bash
#set -vx

function update_code() {
  file_name="$1"
  # Update the copyright dates and names
  sed -i \
    -e 's/Copyright (c) 2011-2022 The Khronos Group, Inc./Copyright (c) 2011-2023 The Khronos Group, Inc./g' \
    "$file_name"
}

git ls-files | while read -r f ; do
  update_code "$f"
  echo "$f":
  grep -i copyright "$f" | grep -v "2011-2023"
done

@keryell keryell added the editorial Some purely editorial problem label Jan 12, 2023
@keryell keryell added this to the SYCL 2020 milestone Jan 12, 2023
@keryell keryell merged commit 2b2b2b4 into KhronosGroup:SYCL-2020/master Feb 9, 2023
gmlueck added a commit to gmlueck/SYCL-Docs that referenced this pull request Jan 4, 2024
Add a script "update-copyright.sh" that automatically updates the
copyright dates, which was mostly copied from Ronan's PR KhronosGroup#339.
Manually change the copyright line for a few files that don't follow
our regular pattern.

The file "copyright-ccby.txt" seems to be copied from the Vulkan repo.
I think we don't even use it, but the copyright notice listed
"Khronos Group" instead of "The Khronos Goup".  I replaced this file
with the latest version from the Vulkan repo, which has the corrected
name.
keryell added a commit that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Some purely editorial problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants