diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2015-01-16 16:44:17 +0000 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2015-01-16 16:44:17 +0000 |
commit | bb7b8647472d351ffca14dfbdd20aef8d957930b (patch) | |
tree | 3c5ada5230a1e2fe765b79f1a248a4278d4e7b08 /tools/git-migration/fetch-authors | |
parent | b852eda474f9b433e6a24a909dfae6fceb1d7869 (diff) |
Add two example scripts to be used for svn to git conversion to generate AUTHORS.txt file
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@31387 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'tools/git-migration/fetch-authors')
-rwxr-xr-x | tools/git-migration/fetch-authors | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/git-migration/fetch-authors b/tools/git-migration/fetch-authors new file mode 100755 index 0000000000..111497b1a1 --- /dev/null +++ b/tools/git-migration/fetch-authors @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +svn log --xml svn://svn.debian.org/svn/secure-testing \ + | sed '/<author>/! d; s,<author>,,; s,</author>,,' > authors +sort authors | uniq > authors.uniq +cat authors.uniq | \ + while read a; do + /srv/home/users/carnil/scripts/AUTHOR $a >> AUTHORS.txt + done |