-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.php
327 lines (257 loc) · 7.35 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
<?php
return [
// the url that points to the web/ folder
'webUrl' => 'http://bot.cebe.cc/',
// SET THIS IN config.local.php
// needs the following permissions:
// - repo
// - admin:repo_hook
'github_token' => '',
'github_username' => '',
// a secret to verify hooks are really coming from github
'hook_secret' => '',
// the repositories to install hooks for
'repositories' => [
'cebe-test/testrepo',
'cebe-test/testrepo-redis',
],
// comment on issues that are labeled with a specific label
// - action: "comment"
// - label: on which label to react
// - comment: what to post
// - close: whether to close the issue after commenting
// move issues to other repos based on labels
// - action: "move"
// - label: on which label to react
// - repo: the repo to move the issue to
'actions' => [
/**
* Questions
*/
/**
* Status: Need more info
*/
[
'label' => 'status:need more info',
'action' => 'comment',
'comment' => <<<COMMENT
Thanks for posting in our issue tracker.
In order to properly assist you, we need additional information:
- When does the issue occur?
- What do you see?
- What was the expected result?
- Can you supply us with a stacktrace? (optional)
- Do you have exact code to reproduce it? Maybe a PHPUnit tests that fails? (optional)
Thanks!
_This is an automated comment, triggered by adding the label `status:need more info`._
COMMENT
,
],
/**
* missing formatting
*/
[
'label' => 'missing formatting',
'action' => 'comment',
'comment' => <<<COMMENT
Thank you for your issue.
Unfortunately code that is not formatted as code blocks is extremely hard to read.
Please check [GitHub formatting guide](https://guides.github.com/features/mastering-markdown/) and wrap code accordingly.
Thanks!
_This is an automated comment, triggered by adding the label `missing formatting`._
COMMENT
,
],
[
'label' => 'expired',
'action' => 'comment',
'comment' => <<<COMMENT
It has been 2 or more weeks with no response on our request for more information.
In order for our issue tracker to be effective, we are closing this issue.
If you want it to be reopened again, feel free to supply us with the requested information.
Thanks!
_This is an automated comment, triggered by adding the label `expired`._
COMMENT
,
'close' => true,
],
/**
* PRs: closed
*/
[
'label' => 'pr:too many objectives',
'action' => 'comment',
'comment' => <<<COMMENT
Thank you for putting effort in the improvement of the Yii framework.
We have reviewed your pull request.
We came to the conclusion that this pull request in it's current form is covering too many different objectives.
The bigger it is, the more difficult it is to review and accept it.
Please divide your pull request into separate pull requests with clear objectives.
Thanks!
_This is an automated comment, triggered by adding the label `pr:too many objectives`._
COMMENT
,
'close' => true,
],
/**
* PRs: kept open
*/
[
'label' => 'pr:request for unit tests',
'action' => 'comment',
'comment' => <<<COMMENT
Thank you for putting effort in the improvement of the Yii framework.
We have reviewed your pull request.
In order for the framework and your solution to remain stable in the future, we have a unit test requirement in place. Therefore we can only accept your pull request if it is covered by unit tests.
Could you add these please?
Thanks!
P.S. If you have any questions about the creation of unit tests? Don't hesitate to ask for support. [More information about unit tests](http://www.yiiframework.com/doc-2.0/guide-test-unit.html)
_This is an automated comment, triggered by adding the label `pr:request for unit tests`._
COMMENT
,
],
[
'label' => 'pr:missing usecase',
'action' => 'comment',
'comment' => <<<COMMENT
Thank you for putting effort in the improvement of the Yii framework.
We have reviewed your pull request.
Unfortunately a use case is missing. It is required to get a better understanding of the pull request and helps us to determine the necessity and applicability of the suggested change to the framework.
Could you supply us with a use case please? Please be as detailed as possible and show some code!
Thanks!
_This is an automated comment, triggered by adding the label `pr:missing usecase`._
COMMENT
,
],
[
'label' => 'question',
'action' => 'comment',
'comment' => <<<COMMENT
Thank you for your question.
In order for this issue tracker to be effective, it should only contain bug reports and feature requests.
We advise you to use our community driven resources:
* [The support forum](http://www.yiiframework.com/forum/)
* [The IRC chat room](http://www.yiiframework.com/chat/)
* [Slack](https://join.slack.com/t/yii/shared_invite/enQtMzQ4MDExMDcyNTk2LWUzN2RlZmJiMDdiZDIwOWI4M2U3ODYwOTRjZDk5MTY1ZWM3YTY5MTVkNzRiN2RlMWQxODA5N2ZmY2E5NWI2YTM)
* [The Definitive Guide to Yii](http://www.yiiframework.com/doc-2.0/guide-index.html)
If you are confident that there is a bug in the framework, feel free to provide information on how to reproduce it. This issue will be closed for now.
_This is an automated comment, triggered by adding the label `question`._
COMMENT
,
'close' => true,
],
/**
* Extensions
*/
[
'label' => 'ext:apidoc',
'action' => 'move',
'repo' => 'yiisoft/yii2-apidoc',
],
[
'label' => 'ext:authclient',
'action' => 'move',
'repo' => 'yiisoft/yii2-authclient',
],
[
'label' => 'ext:httpclient',
'action' => 'move',
'repo' => 'yiisoft/yii2-httpclient',
],
[
'label' => 'ext:bootstrap',
'action' => 'move',
'repo' => 'yiisoft/yii2-bootstrap',
],
[
'label' => 'ext:captcha',
'action' => 'move',
'repo' => 'yiisoft/yii2-captcha',
],
[
'label' => 'ext:codeception',
'action' => 'move',
'repo' => 'yiisoft/yii2-codeception',
],
[
'label' => 'ext:debug',
'action' => 'move',
'repo' => 'yiisoft/yii2-debug',
],
[
'label' => 'ext:elasticsearch',
'action' => 'move',
'repo' => 'yiisoft/yii2-elasticsearch',
],
[
'label' => 'ext:faker',
'action' => 'move',
'repo' => 'yiisoft/yii2-faker',
],
[
'label' => 'ext:gii',
'action' => 'move',
'repo' => 'yiisoft/yii2-gii',
],
[
'label' => 'ext:imagine',
'action' => 'move',
'repo' => 'yiisoft/yii2-imagine',
],
[
'label' => 'ext:jui',
'action' => 'move',
'repo' => 'yiisoft/yii2-jui',
],
[
'label' => 'ext:jquery',
'action' => 'move',
'repo' => 'yiisoft/yii2-jquery',
],
[
'label' => 'ext:mongodb',
'action' => 'move',
'repo' => 'yiisoft/yii2-mongodb',
],
[
'label' => 'ext:queue',
'action' => 'move',
'repo' => 'yiisoft/yii2-queue',
],
[
'label' => 'ext:redis',
'action' => 'move',
'repo' => 'yiisoft/yii2-redis',
],
[
'label' => 'ext:rest',
'action' => 'move',
'repo' => 'yiisoft/yii2-rest',
],
[
'label' => 'ext:sphinx',
'action' => 'move',
'repo' => 'yiisoft/yii2-sphinx',
],
[
'label' => 'ext:swiftmailer',
'action' => 'move',
'repo' => 'yiisoft/yii2-swiftmailer',
],
[
'label' => 'ext:twig',
'action' => 'move',
'repo' => 'yiisoft/yii2-twig',
],
[
'label' => 'ext:smarty',
'action' => 'move',
'repo' => 'yiisoft/yii2-smarty',
],
[ // allow moving issue to Yii core
'label' => 'core issue',
'action' => 'move',
'repo' => 'yiisoft/yii2',
],
],
];