Skip to content
Commit 6fab7e8f authored by Michael Stapelberg's avatar Michael Stapelberg 💬
Browse files

Update debian/copyright (Closes: #873740)

I used the following method to extract copyrights and group them, as none of the
tools in https://wiki.debian.org/CopyrightReviewTools produced a useful result:

git grep -I -i -P 'Copyright.*[0-9]+' | grep -v 'The Go Authors' | \
  cut -d: -f1 > /tmp/matching

mkdir /tmp/headers

IFS=$'\n'; for f in $(cat /tmp/matching); do \
  HASH=$(grep -h -P 'Copyright.*[0-9]+' "$f" | md5sum | cut -f 1); \
  grep -l -P 'Copyright.*[0-9]+' "$f" > /tmp/headers/${HASH}; done
parent 254331d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment