Finalize s/CONTRIBUTORS/AUTHORS/

This commit is contained in:
Jakob Borg 2014-11-18 18:13:19 +04:00
parent ef20df719c
commit bbe7e6525d
2 changed files with 7 additions and 7 deletions

View File

@ -70,8 +70,8 @@ International License. You retain the copyright to code you have
written. written.
When accepting your first contribution, the maintainer of the project When accepting your first contribution, the maintainer of the project
will ensure that you are added to the CONTRIBUTORS file. You are welcome will ensure that you are added to the AUTHORS file. You are welcome to
to add yourself as a separate commit in your first pull request. add yourself as a separate commit in your first pull request.
## Building ## Building

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
missing-contribs() { missing-authors() {
for email in $(git log --format=%ae master | sort | uniq) ; do for email in $(git log --format=%ae master | sort | uniq) ; do
grep -q "$email" AUTHORS || echo $email grep -q "$email" AUTHORS || echo $email
done done
@ -16,8 +16,8 @@ no-docs-typos() {
grep -v f1120d7aa936c0658429edef0037792520b46334 grep -v f1120d7aa936c0658429edef0037792520b46334
} }
print-missing-contribs() { print-missing-authors() {
for email in $(missing-contribs) ; do for email in $(missing-authors) ; do
git log --author="$email" --format="%H %ae %s" | no-docs-typos git log --author="$email" --format="%H %ae %s" | no-docs-typos
done done
} }
@ -31,8 +31,8 @@ print-line-blame() {
git blame --line-porcelain $f | grep author-mail git blame --line-porcelain $f | grep author-mail
done | sort | uniq -c | sort -n done | sort | uniq -c | sort -n
} }
echo Author emails missing in CONTRIBUTORS: echo Author emails missing in AUTHORS file:
print-missing-contribs print-missing-authors
echo echo
echo Files missing copyright notice: echo Files missing copyright notice: