diff options
author | Colin Guthrie <colin@mageia.org> | 2013-06-12 13:58:21 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-06-12 13:58:21 +0100 |
commit | 227fba8d9d8129a1cb3e74c1810fd6f638b4240c (patch) | |
tree | 67e6c19457086ab5d60073da1ddd6ed716068222 /scripts | |
parent | e61593a21cdecbe694be0bd0bf78b323aea19e00 (diff) | |
download | svn-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-x | scripts/create-authors-map.sh | 7 |
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 |