forked from piceaTech/node-gitlab-2-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample_settings.ts
60 lines (59 loc) · 1.54 KB
/
sample_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
import Settings from './src/settings';
export default {
gitlab: {
// url: 'https://gitlab.mycompany.com',
token: '{{gitlab private token}}',
projectId: 0,
listArchivedProjects: true,
sessionCookie: "",
},
github: {
// baseUrl: 'https://github.mycompany.com:123/etc',
// apiUrl: 'https://api.github.mycompany.com',
owner: '{{repository owner (user or organization)}}',
ownerIsOrg: false,
token: '{{token}}',
token_owner: '{{token_owner}}',
repo: '{{repo}}',
recreateRepo: false,
},
s3: {
accessKeyId: '{{accessKeyId}}',
secretAccessKey: '{{secretAccessKey}}',
bucket: 'my-gitlab-bucket',
region: null,
},
usermap: {
'username.gitlab.1': 'username.github.1',
'username.gitlab.2': 'username.github.2',
},
projectmap: {
'gitlabgroup/projectname.1': 'GitHubOrg/projectname.1',
'gitlabgroup/projectname.2': 'GitHubOrg/projectname.2',
},
conversion: {
useLowerCaseLabels: true,
},
transfer: {
description: true,
milestones: true,
labels: true,
issues: true,
mergeRequests: true,
releases: true,
},
dryRun: false,
useIssueImportAPI: true,
usePlaceholderMilestonesForMissingMilestones: true,
usePlaceholderIssuesForMissingIssues: true,
useReplacementIssuesForCreationFails: true,
useIssuesForAllMergeRequests: false,
filterByLabel: undefined,
trimOversizedLabelDescriptions: false,
skipMergeRequestStates: [],
skipMatchingComments: [],
mergeRequests: {
logFile: './merge-requests.json',
log: false,
},
} as Settings;