Skip to content

p3t3c/clearcase2gource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

clearcase2gource

Process the history from a clear case repository so that it can be rendered using Gource.

Gource can be found here: https://code.google.com/p/gource/

Three Step approach

###Step 1 Get the history out of clear case

cleartool setview yourView
cd /vob/location
cleartool lshistory -all -fmt "Element: %n| Date: %d| User:%u| Operation: %e| Object:%[type]p| SimpleType: %m| OperationKind: %o\n" > cc_history

###Step 2 Run this script

tac cc_history | ./cc-gsource-conv.py  > gource.log

Uses tac instread of cat because the result of the lshistory comes out backward.

###Step 3 gource gource.log You may want to customize the gource parameters.

History

I didn't write this script from scratch the initially part of it was found here https://code.google.com/p/gource/issues/detail?id=39#c6 (a bug report about how gource couldn't handle large log files). So I have taken the script that was posted there fixed some bugs (time stamp *1000 being one of them) and improved it to work how I would expect for the clear case logs that I am seeing.

About

Process the history from a clear case repository so that it can be rendered using Gource

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages