Skip to content

Latest commit

 

History

History

convert_logs

convert_logs.py is a simple tool to convert the log formats of various repositories to
code_swarm's standard input format.

convert_logs.py supports more formats than we have documented here.  For more information:

    python convert_logs.py --help

# SVN #

    cd path/to/svn/project
    svn log -v > my_svn.log
    python convert_logs.py -s path/to/svn/project/my_svn.log -o svn_log.xml
    
# git #

    cd path/to/git/project
    git-log --name-status --pretty=format:'%n------------------------------------------------------------------------%nr%h | %ae | %ai (%aD) | x lines%nChanged paths:' > my_git_project.log
    python convert_logs.py -g path/to/git/project/my_git_project -o git_log.xml
    

# Startteam #

Starteam logs must be prepared in this fashion:

stcmd.exe hist -p <url> -nologo -is > activity.log