[Teammetrics-discuss] Commit statistics
    Sukhbir Singh 
    sukhbir.in at gmail.com
       
    Mon Aug 15 18:07:52 UTC 2011
    
    
  
Hi,
> So I did the following changes to commit table:
>
>  1. Commit_id moved to different position (in analogy to message_id)
Added, the revision # is the commit_id.
>  2. changes: REMOVED! We want to record *every* single commit, so
>     changes should be ==1 for every record in the database
Done.
>  3. commit_date: For the graphs we need the commit date
>     --> just needed for the final graphs
Added.
>  4. today_date: not so important, but we have it in the mails table
>     as well so it might not harm
Done.
Also note that we are now saving every single commit instead of
collecting them and saving them in the end :) So, get each change,
calculate the lines inserted or deleted and then push that into the
database.
Please test when you have time and I think it is working well.
    
    
More information about the Teammetrics-discuss
mailing list