crash_test.conf
author Vincent Tondellier <tonton+hg@team1664.org>
Sun, 14 Feb 2016 20:24:11 +0100
changeset 97 f68abe1d7358
parent 79 4ae8bb6f8a96
permissions -rw-r--r--
Fix race condition in CrashGroup::find_or_create by using constraint and upsert (for pg > 9.5) or table lock
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     1
{
78
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
     2
  Processor => {
79
4ae8bb6f8a96 Small config reorganization
Vincent Tondellier <tonton+hg@team1664.org>
parents: 78
diff changeset
     3
    JobQueue => {
4ae8bb6f8a96 Small config reorganization
Vincent Tondellier <tonton+hg@team1664.org>
parents: 78
diff changeset
     4
      Backend => {
4ae8bb6f8a96 Small config reorganization
Vincent Tondellier <tonton+hg@team1664.org>
parents: 78
diff changeset
     5
        Minion => { Pg => "postgresql:///crashtest" },
78
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
     6
      },
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
     7
    },
79
4ae8bb6f8a96 Small config reorganization
Vincent Tondellier <tonton+hg@team1664.org>
parents: 78
diff changeset
     8
    CrashProcessor => {
4ae8bb6f8a96 Small config reorganization
Vincent Tondellier <tonton+hg@team1664.org>
parents: 78
diff changeset
     9
      Breakpad => {
4ae8bb6f8a96 Small config reorganization
Vincent Tondellier <tonton+hg@team1664.org>
parents: 78
diff changeset
    10
        JSONStackwalker => 'stackwalker',
4ae8bb6f8a96 Small config reorganization
Vincent Tondellier <tonton+hg@team1664.org>
parents: 78
diff changeset
    11
        SymbolsPath => 'data/breakpad-debug-symbols/*',
4ae8bb6f8a96 Small config reorganization
Vincent Tondellier <tonton+hg@team1664.org>
parents: 78
diff changeset
    12
      },
78
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    13
    },
19
300b902b5461 Reorganize config
Vincent Tondellier <tonton+hg@team1664.org>
parents: 17
diff changeset
    14
  },
78
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    15
  Storage => [
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    16
    { Type => "Sql",  db => { Pg => "postgresql:///crashtest" } },
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    17
    { Type => "File", DataDir => 'data/crashs/' },
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    18
  ],
67
9e95be0b1b8c Make the index columns configurable
Vincent Tondellier <tonton@team1664.org>
parents: 57
diff changeset
    19
  WebInterface => {
78
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    20
    ScmLinks => {
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    21
      "svn:svn.example.org/testproject" => 'https://redmine.example.org/projects/testproject/repository/entry/<%= $scmpath =%>?rev=<%= $rev =%>#L<%= $line =%>',
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    22
    },
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    23
    ExtraColumns => {
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    24
      Index => [
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    25
        { id => 'os', db_column => "crash_user.os", name => 'Operating System' },
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    26
      ],
0ebef32c34af Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents: 67
diff changeset
    27
    },
3
2ff78fe4abda Create helper to shorten signatures and create links to the repository
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    28
  },
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    29
};
67
9e95be0b1b8c Make the index columns configurable
Vincent Tondellier <tonton@team1664.org>
parents: 57
diff changeset
    30
# vim:ft=perl: