From 7a54ef4babd0c59d8e0eeb40bc820ca01ba0c181 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Mon, 27 Feb 2017 12:05:40 -0500 Subject: 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 --- .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 0000000..67632a7 --- /dev/null +++ b/.mailmap @@ -0,0 +1,10 @@ +# libseccomp git mailmap file (see git-shortlog documentation) + +Paul Moore + +Kees Cook +Kees Cook + +Serge Hallyn + +Thiago Marcos P. Santos diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index 4169144..e80fc84 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 0000000..e763dd6 --- /dev/null +++ b/doc/credits_updater @@ -0,0 +1,35 @@ +#!/bin/bash + +# +# libseccomp credit updater script +# +# Copyright (c) 2017 Red Hat +# Author: Paul Moore +# + +# +# 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 . +# + +# header +echo "libseccomp: Contributors" +echo "========================================================================" +echo "https://github.com/seccomp/libseccomp" +echo "" + +# body +git log --pretty=format:"%aN <%aE>" | \ + grep -v '' | \ + sort -u + +exit 0 -- cgit v1.2.1