DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:gource_analysis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tips:gource_analysis [2010-05-17 17:43] – use page name from log rather than filename; colour white for start page; add Discussion plugin support 193.9.13.136tips:gource_analysis [2010-05-18 18:09] – oops - put "launch the script" back in 193.9.13.138
Line 1: Line 1:
-I am fond of the wonderful videos made with Gource. This tool makes a representation of changes made on a version control system like git or SVN. Then I remember that DokuWiki is also a version control system like any other ... Just have a look in the folder tree to find the directory **dokuwiki/data/meta** in which the files ***. changes** contain exactly the information needed. +====== Visualize Changes in Gource ====== 
 + 
 +I am fond of the wonderful videos made with [[http://code.google.com/p/gource/|Gource]]. This tool makes a representation of changes made on a version control system like git or SVN. Then I remember that DokuWiki is also a version control system like any other ... Just have a look in the folder tree to find the directory ''dokuwiki/data/meta'' in which the files ''*.changes'' contain exactly the information needed. 
  
  
Line 72: Line 74:
         return "M"         return "M"
     elif mot.upper == "D" or mot == 'dc' or mot == 'hc':     elif mot.upper == "D" or mot == 'dc' or mot == 'hc':
-        return "M"+        return "D"
     else:     else:
         return "M"         return "M"
Line 108: Line 110:
 if __name__ == "__main__": if __name__ == "__main__":
     main(sys.argv[1:])     main(sys.argv[1:])
 +</code>
 +launch the script inside your dokuwiki directory :  
 +<code bash>  
 +python gourcedoku.py -d ~/Sites/MyDokuwiki/ | sort > dokusort.log
 </code> </code>
 then you can use Gource to watch logs : then you can use Gource to watch logs :
tips/gource_analysis.txt · Last modified: 2010-05-20 15:53 by 193.9.13.135

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki