Generate AUTHORS file with a script
authorJohn Koleszar <jkoleszar@google.com>
Wed, 16 Jun 2010 19:43:09 +0000 (15:43 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 16 Jun 2010 19:43:09 +0000 (15:43 -0400)
This information is in git, so it's better to use that as a source than
updating this file manually. This script can be run manually at release
time for now, or we can set up a cron job sometime in the future.

Change-Id: I0344135ceb9c04ed14e2e2d939a93194e35973db

tools/gen_authors.sh [new file with mode: 0755]

diff --git a/tools/gen_authors.sh b/tools/gen_authors.sh
new file mode 100755 (executable)
index 0000000..e1246f0
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Add organization names manually.
+
+cat <<EOF
+# This file is automatically generated from the git commit history
+# by tools/gen_authors.sh.
+
+$(git log --pretty=format:"%aN <%aE>" | sort | uniq)
+Google Inc.
+The Mozilla Foundation
+The Xiph.Org Foundation
+EOF