summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2017-02-27 12:05:40 -0500
committerPaul Moore <paul@paul-moore.com>2017-02-27 14:41:05 -0500
commit7a54ef4babd0c59d8e0eeb40bc820ca01ba0c181 (patch)
treec51fc382aa772bea3189de63daa9883d5f05621c /doc
parent7d3957986fbe5914ececc5a6acfeafdde66d3482 (diff)
downloadlibseccomp-7a54ef4babd0c59d8e0eeb40bc820ca01ba0c181.tar.gz
docs: new tool to update the credits file
This commit also adds a .mailmap file and updates the RELEASE_PROCESS document to use the new script. Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/credits_updater35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/credits_updater b/doc/credits_updater
new file mode 100755
index 0000000..e763dd6
--- /dev/null
+++ b/doc/credits_updater
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+#
+# libseccomp credit updater script
+#
+# Copyright (c) 2017 Red Hat <pmoore@redhat.com>
+# Author: Paul Moore <paul@paul-moore.com>
+#
+
+#
+# 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 '<libseccomp@googlegroups.com>' | \
+ sort -u
+
+exit 0