oestats is a build statistics tool for  OpenEmbedded built on top of the  Django web framework.

It is released under the terms of the GNU General Public License version 2.

Getting django-oestats

You can checkout the latest development version using  Subversion as follows:

svn co https://svn.bolloretelecom.eu/opensource/django-oestats/trunk/ django-oestats

For information about the changes to oestats, please refer to the  ChangeLog file.

Setting up an oestats server

Install Django version 1.0 or later, for instance on  Debian GNU/Linux and derivatives:

apt-get install python-django python-pysqlite2

Check out the code:

svn co https://svn.bolloretelecom.eu/opensource/django-oestats/trunk/ django-oestats

Running the development server

Enter the “django-oestats” directory.

Copy over the configuration example:

cp settings.py.in settings.py

Initialise the database (sqlite by default):

python manage.py syncdb

Run the development server:

python manage.py runserver

Running a production server

For production use, we suggest you use the Debian package for django-oestats.

From the “django-oestats” directory, run:

svn-buildpackage

Install the resulting package, follow the instructions given in the  README.Debian file and adapt the provided Apache  configuration example.

Using oestats for your builds

For your builder to send reports to the server, you need to edit your build/conf/local.conf to make use of the oestats-client.bbclass class. For instance, to make use of the server running on tinderbox.openembedded.net you would add:

INHERIT += "oestats-client" 
OESTATS_SERVER = "tinderbox.openembedded.net" 
OESTATS_BUILDER = "your_nickname"