ayoungh / gource

Automatically exported from code.google.com/p/gource
1 stars 0 forks source link

Feaure: support for changelogs #95

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be useful if Gource shows current version in addition to timestamp.

There could be couple of default place to choose where to find it:
*configure.ac (if project is using autotools)
*debian/changelog (if handling own debian-packaging)
*tags on version control system (if used in every release. 
http://code.google.com/p/gource/issues/detail?id=56 )

This can be also handled with same way how custom.log is handled, but log is 
not containing modifications but text:

1275543595|Version 0.1
1275545595|Version 0.2
1275583595|Version 1.0

Then users can make own spells (=scripts) how to rip own changelogs to this 
format.

Original issue reported on code.google.com by aapo.rantalainen on 9 Sep 2010 at 10:20

GoogleCodeExporter commented 8 years ago
I was about to file similar feature request, fortunately I found this one.

I'd like to share my view on how changelogs could be displayed: initially a 
change comment would appear in one of the corners (I'd choose bottom right). It 
would last for some time (based on the comment's length) and if there was 
another one to appear, it would pop out just above the previous one. If there 
were too many comments to display at one time, the oldest ones would disappear 
one by one, at the rate needed to make space for new comments so that there 
would be no delay.

Original comment by 2134...@gmail.com on 18 Oct 2010 at 7:31

GoogleCodeExporter commented 8 years ago

Original comment by acaudw...@gmail.com on 18 Oct 2010 at 8:14

GoogleCodeExporter commented 8 years ago
I've done a bit of work on this feature:

http://github.com/acaudwell/Gource/commit/9ca60496552c371b0f24f1dc768851f2d15374
7c

As seen in this video:

http://www.youtube.com/watch?v=Tl1a2VN_pec

I've only so far implemented the 'custom.log' style approach.

Right now it does get a bit hard to follow if a lot of events happen, so the 
representation still needs some work. Perhaps something similar to the second 
comments approach.

Cheers

Andrew

Original comment by acaudw...@gmail.com on 28 Oct 2010 at 11:08

GoogleCodeExporter commented 8 years ago
Is this feature implemented yet? because i can't get any comments into my 
animation via additional customlog parameters..?

Original comment by m0w1...@gmail.com on 19 Feb 2013 at 11:49

GoogleCodeExporter commented 8 years ago
I haven't done any more work on it.

Original comment by acaudw...@gmail.com on 21 Feb 2013 at 1:25

GoogleCodeExporter commented 8 years ago
but am i able to use it like in the video you posted with version 0.4?

(btw. i did a php script to convert SVN logs into CusomLogs with path copy 
support, because somehow the direct SVNlog feed didn't show copied paths. Would 
you like me to share it somehow with you?)

Original comment by m0w1...@gmail.com on 21 Feb 2013 at 2:07

GoogleCodeExporter commented 8 years ago
Hi.

I have just rebased this work on top of 0.4 (on the branch captions-rebase 
currently):

https://github.com/acaudwell/Gource/commit/596638034fa4eacbcd6c2aeee3f2dee7b4146
b5e

(see gource -H for the command line options for captions):

I have done some work in the past on the SVN copy command support, it just 
hasn't made it out there yet (I got distracted trying to animate directory/file 
renames).

Cheers

Andrew

Original comment by acaudw...@gmail.com on 22 Feb 2013 at 1:47

GoogleCodeExporter commented 8 years ago
Sorry to interrupt you once more but with this commit the 
captions.cpp/captions.h files are missing and if i use the old once from two 
years ago the make complains that "vec2f" and "vec3f" are no types (and some 
other stuff).

Thanks for all the great response!!

Original comment by m0w1...@gmail.com on 25 Feb 2013 at 12:47

GoogleCodeExporter commented 8 years ago
Oops. I've added that class now:

https://github.com/acaudwell/Gource/commit/e0bf342facc533f4697301704ef6e6b365b78
2dc

Original comment by acaudw...@gmail.com on 25 Feb 2013 at 9:28