[fossil-users] fossil timeline to gource

2015-04-03 Thread klaute
Hi, last days I have written a small script to convert the fossil timeline (verbose commandline) to a gource [1] readable output. It works fine for me, so its just FYI. You can find the tool here [2]. Kai -- gource [1]: https://code.google.com/p/gource/ fossil to gource [2]:

Re: [fossil-users] fossil timeline to gource

2015-04-03 Thread Andy Bradford
Thus said klaute on Fri, 03 Apr 2015 18:29:32 +0200: last days I have written a small script to convert the fossil timeline (verbose commandline) to a gource [1] readable output. That looks interesting. Do you have a demo screenshot of Fossil? :-) Thank, Andy -- TAI64 timestamp:

Re: [fossil-users] fossil timeline to gource

2015-04-03 Thread klaute
That looks interesting. Do you have a demo screenshot of Fossil? :-) Thanks! I have recently uploaded a small demo video on youtube [1]. Have fun! Kai --- fossil trunk [1]: https://youtu.be/ce9WyWOV4zA ___ fossil-users mailing list

Re: [fossil-users] fossil timeline to gource

2015-04-03 Thread John Found
There seems to be at least one bug in the script. The line: log.append(tmpdata) ...should be something like: log.append(copy.deepcopy(tmpdata)) ...well, at least according to my very low python skills. Otherwise, adding a new entry to log changes the previous ones and this way

Re: [fossil-users] fossil timeline to gource

2015-04-03 Thread John Found
Sorry, I am not git/github user. Feel free to use the code from my e-mails, or your own fixes (as I said, my python skills are close to zero). On Sat, 4 Apr 2015 00:10:47 +0200 klaute kla...@gmx.de wrote: Thanks for the comments!!! Feel free to send me a diff/patch file with your

Re: [fossil-users] fossil timeline to gource

2015-04-03 Thread John Found
Also, another bug is not supporting the spaces in the file names. The code: if 1 == toadd: tstr = line.split( ) tmpdata[file] = tstr[1] log.append(copy.deepcopy(tmpdata)) Should be: if 1 == toadd: tstr = line.split( , 1) # Only one split. tmpdata[file] = tstr[1] #

Re: [fossil-users] fossil timeline to gource

2015-04-03 Thread Andy Bradford
Thus said John Found on Sat, 04 Apr 2015 01:25:27 +0300: Sorry, I am not git/github user. Feel free to use the code from my e-mails, or your own fixes (as I said, my python skills are close to zero). Except, that you correctly point out that if you pass a dictionary into a function, it