From 227fba8d9d8129a1cb3e74c1810fd6f638b4240c Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 12 Jun 2013 13:58:21 +0100 Subject: Just add a basic script to create the author map. This was originally in the initial conversion script but as that's been refactored, I wanted to keep this somewhere. We likely won't use this now we have the metadata in files. --- scripts/create-authors-map.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/create-authors-map.sh diff --git a/scripts/create-authors-map.sh b/scripts/create-authors-map.sh new file mode 100755 index 0000000..5c4c788 --- /dev/null +++ b/scripts/create-authors-map.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +if [ "mandriva" = "$1" ]; then + svn log -q http://svn.mandriva.com/svn/soft | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2"@mandriva.org>"}' | sort -u +else + svn log -q svn://svn.mageia.org/svn/soft | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2"@mageia.org>"}' | sort -u +fi -- cgit v1.2.1