crash_test.conf
author Vincent Tondellier <tonton+hg@team1664.org>
Wed, 04 Nov 2015 17:43:00 +0100
changeset 78 0ebef32c34af
parent 67 CrashTest.conf@9e95be0b1b8c
child 79 4ae8bb6f8a96
permissions -rw-r--r--
Refactor everything - change db access method, use Mojo::{Pg,SQLite,...} instead of DBIx::Class - use Minion as job queue - refactor into a non-Lite Mojolicious app

{
  Processor => {
    Common => {
      JobQueue => {
        Backend => {
          Minion => { Pg => "postgresql:///crashtest" },
        },
      },
    },
    Breakpad => {
      JSONStackwalker => 'stackwalker',
      SymbolsPath => 'data/breakpad-debug-symbols/*',
    },
  },
  Storage => [
    { Type => "Sql",  db => { Pg => "postgresql:///crashtest" } },
    { Type => "File", DataDir => 'data/crashs/' },
  ],
  WebInterface => {
    ScmLinks => {
      "svn:svn.example.org/testproject" => 'https://redmine.example.org/projects/testproject/repository/entry/<%= $scmpath =%>?rev=<%= $rev =%>#L<%= $line =%>',
    },
    ExtraColumns => {
      Index => [
        { id => 'os', db_column => "crash_user.os", name => 'Operating System' },
      ],
    },
  },
};
# vim:ft=perl: