[Olena] #229: Have Olena's BuildBot generate GitStats information

#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: | -------------------------+-------------------------------------------------- Git statistics are generated by my (Roland's) account for a limited set of branches, each night. It'd be smarter to have one of the buildslave invoke a script running `gitstats` and uploading the result (as `lrde- upload.sh` does) prior to building the project. We could even filter branches (having statistics for all branches might not be relevant). -- Ticket URL: <https://trac.lrde.org/olena/ticket/229> Olena <http://olena.lrde.epita.fr> Olena, a generic and efficient C++ image processing library.

#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 lazzara): SCM stats update step has been added to buildbot. It calls a script called lrde-scmstats.sh in the project root directory. A first version of the lrde-scmstats.sh script has been added to branch unstable/scribo. Currently, statistics are generated for the whole repository. -- Ticket URL: <https://trac.lrde.org/olena/ticket/229#comment:1> Olena <http://olena.lrde.epita.fr> Olena, a software platform dedicated to image processing.

#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 lazzara): Currently, stats are accessible from: http://www.lrde.epita.fr/dload/olena/stats/ -- Ticket URL: <https://trac.lrde.org/olena/ticket/229#comment:2> Olena <http://olena.lrde.epita.fr> Olena, a software platform dedicated to image processing.

#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.

#229: Have Olena's BuildBot generate GitStats information --------------------------+------------------------------------------------- Reporter: levill_r | Owner: levill_r Type: enhancement | Status: closed Priority: trivial | Milestone: Olena 1.1 Component: other | Version: 1.0 Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by lazzara): * status: new => closed * resolution: => fixed Comment: Patch ac769b6c00fb4324d067a750bb0b6d1638031dea make the script generate statistics for specific branches. They are saved at this address http://www.lrde.epita.fr/dload/olena/stats/ in subdirectories corresponding to the branch names. -- Ticket URL: <https://trac.lrde.org/olena/ticket/229#comment:4> Olena <http://olena.lrde.epita.fr> Olena, a software platform dedicated to image processing.
participants (1)
-
Olena Trac