-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_test.py
50 lines (40 loc) · 1.28 KB
/
config_test.py
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
# Trac User to GitHub user mapping.
# This is the configuration used by the test suite.
USER_MAPPING = {
'adi': ('adiroiban', 'Adi Roiban <adi.roiban@chevah.com>'),
'danuker': ('danuker', 'Dan Haiduc <danuthaiduc@gmail.com>'),
'Adi Roiban': ('adiroiban', 'Adi Roiban <adi.roiban@chevah.com>'),
}
# GitHub User to GitHub UID mapping (for avatar purposes).
UID_MAPPING = {
'adiroiban': 204609,
'mthuurne': 246676,
}
# Users that are allowed by GitHub
# to be assignees of issues in the target repositories.
ASSIGNABLE_USERS = {
'adiroiban',
}
TRAC_TICKET_PREFIX = 'https://trac.chevah.com/ticket/'
MIGRATED_WIKI_PREFIX = 'https://example.org/wiki/'
# GitHub repository for Trac tickets.
REPOSITORY = 'trac-migration-staging'
# Owner of GitHub repositories where to create issues.
OWNER = 'chevah'
# The root URL of the attachment files, containing the ticket/ and wiki/ dirs.
ATTACHMENT_ROOT = 'https://site.com/trunk/'
# The user to create the issues through the API.
# Create a token with `repo` permissions here:
# https://github.com/settings/tokens
OAUTH_USER = 'danuker'
OAUTH_TOKEN = 'ghp_qwertyuiop'
ALLOWED_EMAILS = {
'allowed@example.com',
}
ALLOWED_KEYWORDS = {
'documentation',
'twistd',
'review',
'windows',
'tests',
}