#229: Have Olena's BuildBot generate GitStats information
-------------------------+--------------------------------------------------
Reporter: levill_r | Owner: levill_r
Type: enhancement | Status: new
Priority: trivial | Milestone: Olena 1.1
Component: other | Version: 1.0
Keywords: |
-------------------------+--------------------------------------------------
Comment(by levill_r):
Replying to [comment:2 lazzara]:
Currently, stats are accessible from:
http://www.lrde.epita.fr/dload/olena/stats/
Nice work.
FYI, I used to run the following script to generate statistics and post
them to
http://www.lrde.epita.fr/~levill_r/olena/stats/:
{{{
#!sh
#! /bin/sh
set -e
giturl="git://git.lrde.epita.fr/olena"
outputdir="$HOME/www/olena/stats"
if test $# -ge 1; then
branch="$1"
else
branch=master
fi
# Use a temporary directory as working area.
tempdir=`mktemp -d /tmp/temp.XXXXXX`
# Set up automatic cleanup.
cleanup() { rm -rf "$tempdir"; exit; }
trap cleanup 0 1 2 3 6 15
workdir="$tempdir/olena/"
git clone "$giturl" "$workdir"
(cd "$workdir" && git checkout "origin/$branch")
gitstats "$workdir" "$outputdir/$branch"
}}}
I think we should generate statistics for the branch currently built, and
install them in a subdirectory having the same name as that branch (the
same may we create snapshots).
--
Ticket URL: <https://trac.lrde.org/olena/ticket/229#comment:3>
Olena <http://olena.lrde.epita.fr>
Olena, a software platform dedicated to image processing.