Skip to content

Commit

Permalink
Merge branch 'master' of git+ssh://git.debian.org/git/teammetrics/tea…
Browse files Browse the repository at this point in the history
…mmetrics
  • Loading branch information
Sukhbir Singh committed Mar 13, 2012
2 parents 31ef3d8 + fedcee0 commit efe4a4d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion author_stats_create_graph
Expand Up @@ -26,7 +26,7 @@ if [ "$4" = "pdf" ] ; then
OUTPUTFORMAT=pdf
fi

TEXTCOLOR=black
TEXTCOLOR=${TEXTCOLOR:-"black"}
if [ "$5" != "" ] ; then
TEXTCOLOR=$5
fi
Expand Down
21 changes: 16 additions & 5 deletions render-all-graphs
Expand Up @@ -6,19 +6,30 @@ psql teammetrics --tuples-only --command "UPDATE listarchives SET project = 'deb
# now remove those messages from debian-custom which were duplicated to get completely rid of this list
psql teammetrics --tuples-only --command "DELETE FROM listarchives WHERE project = 'debian-custom';"

NUM=10
PDF=""
if [ "$1" = "pdf" ] ; then
PDF="$NUM pdf"
fi

projects=`psql -t teammetrics -c 'SELECT project FROM listarchives GROUP BY project ;'`
for proj in $projects ; do
./author_stats $proj
./author_stats $proj $PDF
done

projects=`psql -t teammetrics -c 'SELECT project FROM commitstat GROUP BY project ;'`
for proj in $projects ; do
./author_stats_commits $proj
./author_stats_commitlines $proj
./author_stats_commits $proj $PDF
./author_stats_commitlines $proj $PDF
done

PDF=""
if [ "$1" = "pdf" ] ; then
PDF="pdf"
fi

# Render uploaders history
upload_history.py
upload_history.py $PDF

# Render bug closer history
bug_close_history.py
bug_close_history.py $PDF

0 comments on commit efe4a4d

Please sign in to comment.