forked from piceaTech/node-gitlab-2-github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.ts
More file actions
60 lines (57 loc) · 1.25 KB
/
settings.ts
File metadata and controls
60 lines (57 loc) · 1.25 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
53
54
55
56
57
58
59
60
export default interface Settings {
debug: boolean;
gitlab: GitlabSettings;
github: GithubSettings;
usermap: {
[key: string]: string;
};
projectmap: {
[key: string]: string;
};
conversion: {
useLowerCaseLabels: boolean;
};
transfer: {
description: boolean;
milestones: boolean;
labels: boolean;
issues: boolean;
mergeRequests: boolean;
releases: boolean;
};
useIssueImportAPI: boolean;
usePlaceholderMilestonesForMissingMilestones: boolean;
usePlaceholderIssuesForMissingIssues: boolean;
useReplacementIssuesForCreationFails: boolean;
useIssuesForAllMergeRequests: boolean;
filterByLabel?: string;
skipMergeRequestStates: string[];
skipMatchingComments: string[];
mergeRequests: {
logFile: string;
log: boolean;
};
s3?: S3Settings;
}
export interface GithubSettings {
baseUrl?: string;
apiUrl?: string;
owner: string;
token: string;
token_owner: string;
repo: string;
timeout?: number;
username?: string; // when is this set???
recreateRepo?: boolean;
}
export interface GitlabSettings {
url?: string;
token: string;
projectId: number;
sessionCookie: string;
}
export interface S3Settings {
accessKeyId: string;
secretAccessKey: string;
bucket: string;
}