-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathsettings.ts
More file actions
52 lines (49 loc) · 1.07 KB
/
settings.ts
File metadata and controls
52 lines (49 loc) · 1.07 KB
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
export default interface Settings {
debug: boolean;
gitlab: GitlabSettings;
github: GithubSettings;
usermap: {
[key: string]: string;
};
projectmap: {
[key: string]: string;
};
conversion: {
useLowerCaseLabels: boolean;
};
transfer: {
milestones: boolean;
labels: boolean;
issues: boolean;
mergeRequests: boolean;
migrationTopic: boolean;
};
usePlaceholderIssuesForMissingIssues: boolean;
useReplacementIssuesForCreationFails: boolean;
useIssuesForAllMergeRequests: boolean;
filterByLabel: string | null;
skipMatchingComments: string[];
mergeRequests: {
logFile: string;
log: boolean;
};
s3?: S3Settings;
}
export interface GithubSettings {
baseUrl?: string;
owner: string;
token: string;
repo: string;
timeout?: number;
username?: string; // when is this set???
}
export interface GitlabSettings {
url?: string;
token: string;
projectId: number;
}
export interface S3Settings {
accessKeyId: string;
secretAccessKey: string;
bucket: string;
}