3 # Scrip que muestra en forma grafica la evolucion de los commits
5 # by Ricardo Markiewicz <rmarkie@fi.uba.ar>
7 # The PlaQui Development Team
13 #$texto = `svn log | grep rev | grep lines`;
14 $texto = `cat log.txt | grep rev | grep lines`;
15 @lines = split(/\n/, $texto);
18 foreach $line (@lines) {
19 @datos = split(/ /, $line);
21 $users{$datos[5]}{$datos[3]}++;
24 print "PlaQui - Grafica de Progreso SVN\n";
25 print "--------------------------------\n\n";
26 print "Fecha Commits\n";
28 foreach $date (sort keys %hash) {
33 foreach $name (keys %{$users{$date}}) {
34 if ($users{$date}{$name} > $win_pts) {
36 $win_pts = $users{$date}{$name};
38 if ($users{$date}{$name} = $win_pts) {
39 $win = $win."|".$name;
46 for($i=0; $i<$hash{$date}; $i++) {
54 print "( ) = Máximo Commiteador del Día\n";
55 print "* == 1 Commit\n";