This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
124 lines (113 loc) · 2.38 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?php
/**
* redmine2github
* Copyright (C) 2012 MEN AT WORK
*
* PHP version 5
* @copyright MEN AT WORK 2012
* @author Andreas Isaak <[email protected]>
* @author Stefan Heimes <[email protected]>
* @author Yanick Witschi <[email protected]>
* @package redmine2github
* @license LGPL
* @filesource
*/
$arrRedmine2GithubConfig = array
(
/**
* CSV path (relative to the directory where you execute Redmine2Github.php)
* @var string
*/
'csvPath' => 'export.csv',
/**
* CSV delimiter
* @var string
*/
'csvDelimiter' => ';',
/**
* CSV keys
* Usually you don't need to change anything here if you did export the csv file correctly from Redmine
* The keys have to match the columns in your csv file
* @var array
*/
'csvKeys' => array
(
'id',
'Project',
'Tracker',
'Parent task',
'Status',
'Priority',
'Topic',
'Author',
'Assigned',
'Updated',
'Category',
'Target Version',
'Beginning',
'Due Date',
'Estimated time',
'Percentage done',
'Created',
'Installed extensions',
'Contao Version',
'Description'
),
/**
* Repository data
* Enter the user data of a user that has the right to add labels and issues for this repository
*/
'repoURL' => 'https://api.github.com/repos/:user/:repo',
'repoUser' => ':user',
'repoPassword' => ':pass',
/**
* Messages
*/
'originalAuthor' => '*--- Originally created by %s on %s. Ticket-Number was: %s*',
'milestoneVersion' => 'Version %s',
/**
* User information. You need the credentials of every user that wants to have his/her issues
* assigned to his/her user. You need to enter at least one user here as he/she is the fallback
* for all the tickets that have no user specified here.
* @var array
*/
'users' => array
(
// user name on Redmine
'Octo Cat' => array
(
// user name and password on Github
'login' => ':user',
'password' => ':pass'
)
),
/**
* Label information
* Here you can map existing labels from Redmine to new ones on Github
* @var array
*/
'labels' => array
(
// label on Redmine
'Accepted' => array
(
// label and color on Github
'name' => 'Accepted',
'color' => 'dddddd'
),
'Completed' => array
(
'name' => 'Completed',
'color' => 'dddddd'
)
),
/**
* Status that should be closed automatically on GitHub
* @var array
*/
'closedStatus' => array
(
'Closed',
'Completed'
)
);