Skip to content

openSUSE/build-check-statistics

Repository files navigation

SUSE::BuildCheckStatistics

A Mojolicious application for collecting statistics about rpmlint failures in Open Build Service projects.

Screenshot

Installation

All you need is a one-liner, it takes less than a minute.

$ curl -L https://cpanmin.us | perl - -n git://github.com/openSUSE/build-check-statistics.git@master

We recommend the use of a Perlbrew environment.

Setup

Just create a configuration file under /etc/build_check_statistics.conf.

{
  obs       => 'https://build.opensuse.org/public',
  projects  => ['SomeProject', 'AnotherProject'],
  sqlite    => 'sqlite:/var/lib/build_check_statistics/test.db',
  hypnotoad => {
    pid_file => '/var/lib/build_check_statistics/hypnotoad.pid'
  }
}

Or a different location chosen with the SUSE_BCS_CONFIG environment variable.

SUSE_BCS_CONFIG=/home/sri/.build_check_statistics.conf

Update and deploy statistics. This can be repeated at any time to update the data.

$ build_check_statistics update
$ build_check_statistics deploy

Screenshot2

Start the web server.

$ build_check_statistics daemon -m production