Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
test_files Renamed convert_logs to bin. ***You'll need to change your PATH***
README
code_swarm
code_swarm_video
config.template
convert_logs.py
fetch_freebase_edits
freebase_config.template
hg_log.py
sort_code_swarm_input.py

README

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
Something went wrong with that request. Please try again.