summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-06-12 13:58:21 +0100
committerColin Guthrie <colin@mageia.org>2013-06-12 13:58:21 +0100
commit227fba8d9d8129a1cb3e74c1810fd6f638b4240c (patch)
tree67e6c19457086ab5d60073da1ddd6ed716068222 /scripts
parente61593a21cdecbe694be0bd0bf78b323aea19e00 (diff)
downloadsvn-git-migration-227fba8d9d8129a1cb3e74c1810fd6f638b4240c.tar
svn-git-migration-227fba8d9d8129a1cb3e74c1810fd6f638b4240c.tar.gz
svn-git-migration-227fba8d9d8129a1cb3e74c1810fd6f638b4240c.tar.bz2
svn-git-migration-227fba8d9d8129a1cb3e74c1810fd6f638b4240c.tar.xz
svn-git-migration-227fba8d9d8129a1cb3e74c1810fd6f638b4240c.zip
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-authors-map.sh7
1 files changed, 7 insertions, 0 deletions
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