File indexing completed on 2024-04-21 05:42:00

0001 #!/bin/sh
0002 #
0003 # Shell script for creating a ChangeLog file from SVN
0004 #
0005 # Copyright 2009 Tom Albers <toma@kde.org>
0006 # License: GNU General Public License V2 or later
0007 
0008 PARAM=$1;
0009 
0010 if test -z "$PARAM"; then
0011     PARAM=".";
0012 fi;
0013 
0014 CURRENT=`dirname "$0"`;
0015 
0016 echo "Fetching committers...";
0017 svn cat svn://anonsvn.kde.org/home/kde/trunk/kde-common/accounts > /tmp/accounts.$PPID
0018 
0019 echo "Creating changelog...";
0020 PYTHON=${PYTHON:-python}
0021 svn log -v --xml $1 | ${PYTHON} $CURRENT/svn2log.py --users=/tmp/accounts.$PPID --users-charset=UTF8
0022 
0023 rm /tmp/accounts.$PPID