set up an AUTHORS file to attribute copyright
Many files were missing copyright, so also add a short script to add the missing lines with the current year, and run it. The AUTHORS file is also self-explanatory. Contributors can add themselves there, or we can simply update it from time to time via git-shortlog. Since we have two scripts now, set up a directory for them.pull/129/head
parent
d8d784639f
commit
d72114575f
@ -0,0 +1,14 @@
|
||||
# This is the official list of Garble authors for copyright purposes.
|
||||
|
||||
# Names should be added to this file as one of
|
||||
# Organization's name
|
||||
# Individual's name <submission email address>
|
||||
|
||||
# Please keep the list sorted.
|
||||
|
||||
Andrew LeFevre <jalefevre@liberty.edu>
|
||||
Daniel Martí <mvdan@mvdan.cc>
|
||||
Nicholas Jones <me@nicholasjon.es>
|
||||
Zachary Wasserman <zachwass2000@gmail.com>
|
||||
lu4p <lu4p@pm.me>
|
||||
pagran <pagran@protonmail.com>
|
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
for f in $(git ls-files '*.go'); do
|
||||
if ! grep -q Copyright $f; then
|
||||
sed -i '1i\
|
||||
// Copyright (c) 2020, The Garble Authors.\
|
||||
// See LICENSE for licensing information.\
|
||||
|
||||
' $f
|
||||
fi
|
||||
done
|
Loading…
Reference in New Issue