From a6a81f56dbe02906f331d4b6b83754acd686435c Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Fri, 16 Jan 2015 16:44:17 +0000 Subject: 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 --- tools/git-migration/fetch-authors | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tools/git-migration/fetch-authors (limited to 'tools/git-migration/fetch-authors') 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 '//! d; s,,,; s,,,' > authors +sort authors | uniq > authors.uniq +cat authors.uniq | \ + while read a; do + /srv/home/users/carnil/scripts/AUTHOR $a >> AUTHORS.txt + done -- cgit v1.2.3