Project

General

Profile

Patch #989 » settings.rb

Alexander Zhovnuvaty, 2010-04-06 23:17

 
1
#
2
# settings.rb.example
3
#
4
# copy this file to "settings.rb" and modify
5
# the settings
6
#
7

    
8
#
9
# connection data for your bugzilla database
10
#
11

    
12
BUGZILLA_HOST='localhost'
13
BUGZILLA_DB='bugs'
14
BUGZILLA_USER=''
15
BUGZILLA_PASSWORD=''
16

    
17
#
18
# connection data for your redmine database
19
#
20

    
21
REDMINE_HOST='localhost'
22
REDMINE_DB='redmine'
23
REDMINE_USER=''
24
REDMINE_PASSWORD=''
25

    
26
#
27
# this is the path where the attachments 
28
# are written to.
29
# replace this with your redmine attachment path.
30
# this path is the $redmine_home/files directory.
31
#
32

    
33
#ATTACHMENT_PATH="/tmp"
34
ATTACHMENT_PATH="/usr/local/www/redmine/files"
35

    
36
#
37
# Bugzilla priority to Redmine priority map
38
# this mapping is language dependent
39
# if you have been altering your bugzilla settings
40
# please check the contents of the "priority"-Table 
41
# in your bugzilla database
42
#
43

    
44
ISSUE_PRIORITIES = {       
45
  "P1" => 7,
46
  "P2" => 6,
47
  "P3" => 4,
48
  "P4" => 3,
49
  "P5" => 3 }
50

    
51
#
52
# Bugzilla severity to Redmine tracker map
53
# this mapping is language dependent
54
# if you have been altering your bugzilla settings
55
# please check the contents of the "bug_severity"-Table 
56
# in your bugzilla database
57
#
58

    
59
ISSUE_TRACKERS = {
60
  "critical" => 1,
61
  "trivial" => 1,
62
  "minimal" => 1,
63
  "major" => 1,
64
  "normal" => 1,
65
  "blocker" => 1,
66
  "enhancement" => 1,
67
  "minor" => 1
68
}
69

    
70
#
71
# Bugzilla status to Redmine status map
72
#
73
# this mapping is language dependent
74
# if you have been altering your bugzilla settings
75
# please check the contents of the "bug_status"-Table 
76
# in your bugzilla database
77
#
78

    
79
ISSUE_STATUS = {
80
  "UNCONFIRMED"   => 1,
81
  "NEW"           => 1,
82
  "ASSIGNED"      => 2,
83
  "REOPENED"      => 1,
84
  "RESOLVED"      => 5,
85
  "VERIFIED"      => 5,
86
  "CLOSED"        => 5,
87
  "INQA"	  => 2
88
}
89

    
90
#
91
# Default Role ID for Project Members
92
#
93
# In a default Redmine installation the following options are available:
94
#
95
# 1: Non member
96
# 2: Anonymous
97
# 3: Manager
98
# 4: Developer
99
# 5: Reporter
100

    
101
DEFAULT_ROLE_ID = '4'
(3-3/4)