-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.py
More file actions
30 lines (25 loc) · 742 Bytes
/
config.py
File metadata and controls
30 lines (25 loc) · 742 Bytes
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
# Change this to your own target repo.
TARGET_REPO = 'fkirc/bitbucket-issues-to-github'
# Github only accepts assignees from valid users. We map those users from bitbucket.
USER_MAPPING = {
'martin_gaertner': 'MartinGaertner',
'thomas_o': 'ThomasOlip',
'fkirc': 'fkirc',
}
# We map bitbucket's issue "kind" to github "labels".
KIND_MAPPING = {
"task": "enhancement",
"proposal": "suggestion",
}
# The only github states are "open" and "closed".
# Therefore, we map some bitbucket states to github "labels".
STATE_MAPPING = {
"on hold": "suggestion",
}
# Bitbucket has several issue states.
# All states that are not listed in this set will be closed.
OPEN_ISSUE_STATES = {
"open",
"new",
"on hold",
}