mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Finalize s/CONTRIBUTORS/AUTHORS/
This commit is contained in:
parent
ef20df719c
commit
bbe7e6525d
@ -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
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user