From: Paul Moore <[email protected]>

This commit also adds a .mailmap file and updates the RELEASE_PROCESS
document to use the new script.

Signed-off-by: Paul Moore <[email protected]>
---
 .mailmap            |   10 ++++++++++
 RELEASE_PROCESS.md  |    4 ++++
 doc/credits_updater |   35 +++++++++++++++++++++++++++++++++++
 3 files changed, 49 insertions(+)
 create mode 100644 .mailmap
 create mode 100755 doc/credits_updater

diff --git a/.mailmap b/.mailmap
new file mode 100644
index 00000000..67632a7b
--- /dev/null
+++ b/.mailmap
@@ -0,0 +1,10 @@
+# libseccomp git mailmap file (see git-shortlog documentation)
+
+Paul Moore <[email protected]> <[email protected]>
+
+Kees Cook <[email protected]> <[email protected]>
+Kees Cook <[email protected]> <[email protected]>
+
+Serge Hallyn <[email protected]> <[email protected]>
+
+Thiago Marcos P. Santos <[email protected]> <[email protected]>
diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md
index 41691446..e80fc841 100644
--- a/RELEASE_PROCESS.md
+++ b/RELEASE_PROCESS.md
@@ -40,6 +40,10 @@ release.
 
 #### 7. Update the CREDITS file with any new contributors
 
+       # ./doc/credits_updater > CREDITS
+
+       ... the results can be sanity checked with the following git command:
+
        # git log --pretty=format:"%aN <%aE>" | sort -u
 
 #### 8. Update the CHANGELOG file with significant changes since the last 
release
diff --git a/doc/credits_updater b/doc/credits_updater
new file mode 100755
index 00000000..e763dd61
--- /dev/null
+++ b/doc/credits_updater
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+#
+# libseccomp credit updater script
+#
+# Copyright (c) 2017 Red Hat <[email protected]>
+# Author: Paul Moore <[email protected]>
+#
+
+#
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of version 2.1 of the GNU Lesser General Public License as
+# published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+# for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this library; if not, see <http://www.gnu.org/licenses>.
+#
+
+# header
+echo "libseccomp: Contributors"
+echo "========================================================================"
+echo "https://github.com/seccomp/libseccomp";
+echo ""
+
+# body
+git log --pretty=format:"%aN <%aE>" | \
+       grep -v '<[email protected]>' | \
+       sort -u
+
+exit 0

-- 
You received this message because you are subscribed to the Google Groups 
"libseccomp" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to