forked from piceaTech/node-gitlab-2-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.ts
71 lines (70 loc) · 1.86 KB
/
settings.ts
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
import Settings from './src/settings';
import process from 'node:process';
export default {
gitlab: {
// url: process.env.GITLAB_URL,
token: process.env.GITLAB_TOKEN,
projectId: null,
sessionCookie: null,
},
github: {
// baseUrl: 'https://github.mycompany.com:123/etc',
// apiUrl: 'https://api.github.mycompany.com',
owner: process.env.GITHUB_OWNER,
ownerIsOrg: true,
token: process.env.GITHUB_TOKEN,
token_owner: process.env.GITHUB_TOKEN_OWNER,
repo: process.env.GITHUB_REPO,
recreateRepo: false,
},
usermap: {
'dodida': 'odida',
'roger.hunwicks': 'rhunwicks',
'kisaja': 'jeverling',
'davenenglish': 'denglish-fews',
'akyenze': 'akyenze',
'henock.lulseged': 'henockl',
'joseph.luketelo': 'joseph-luketelo',
'jake.stoll': 'Jake-Stoll',
'gbizuayehu': 'girumb',
'mehlam.akbarali': '',
'enjoki': 'enjoki',
'hussein.lightwalla': 'husseinlight',
'brianmwandau': 'bmwandau',
'ILanem': 'jlanem',
'chris.preager': 'chrispreee',
'gryazzz': 'sonyasha',
},
projectmap: {
'${GITLAB_OWNER}/${GITLAB_REPO}': '${GITHUB_OWNER}/${GITHUB_REPO}',
},
s3: {
accessKeyId: process.env.S3_ACCESS_ID,
secretAccessKey: process.env.S3_SECRET_KEY,
bucket: process.env.S3_BUCKET,
},
conversion: {
useLowerCaseLabels: true,
},
transfer: {
description: true,
milestones: true,
labels: true,
issues: true,
mergeRequests: true,
releases: true,
},
debug: false,
useIssueImportAPI: true,
usePlaceholderMilestonesForMissingMilestones: true,
usePlaceholderIssuesForMissingIssues: true,
useReplacementIssuesForCreationFails: true,
useIssuesForAllMergeRequests: false,
filterByLabel: null,
skipMergeRequestStates: [],
skipMatchingComments: [],
mergeRequests: {
logFile: './merge-requests.json',
log: false,
},
} as Settings;