###Why I did this? Although Gource makes it easy to view all of the modifications that have run in a project, within a version control, without caption the task is still complicated. That is why I created this program, that it take the texts of commits.
MIT Read the license
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0
Create an algorithm that takes the commits texts and generates a subtitle file recognized by Gource.
- This program takes the message from the commits and generates a caption file with the commits texts.
- It works only with valid XML files. It should be noted that only tests with LOG files provided by Subversion and Git.
- The program generates as output a file with the subtitles.
- The program looks for tags
<date>
,</ date>
,<msg>
and</ msg>
.
$ make
$ ./escritor.exe <log_file> <subtitle_file>
It serves only to generate the caption, not to generate the Gource.
- Git:
git log --pretty=format:'<date>%cI</date>%n<msg>%B</msg>' --reverse > <output_file>
- SVN:
svn log <repository> -r 1:HEAD --xml --verbose > <output_file>