Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Commit 9653c35

Browse files
added multiple tokens functionality
1 parent cc30593 commit 9653c35

4 files changed

Lines changed: 175 additions & 100 deletions

File tree

sample_settings.ts

Lines changed: 54 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,66 @@ import Settings from './src/settings';
22

33
export default {
44
gitlab: {
5-
// url: 'https://gitlab.mycompany.com',
6-
token: '{{gitlab private token}}',
7-
projectId: null,
8-
sessionCookie: null,
5+
url: 'https://git.deckweiss.at',
6+
token: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
7+
projectId: 82,
8+
sessionCookie: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
99
},
1010
github: {
11-
// baseUrl: 'https://github.mycompany.com:123/etc',
12-
// apiUrl: 'https//api.github.mycompany.com',
13-
owner: '{{repository owner (user or organization)}}',
14-
token: '{{token}}',
15-
token_owner: '{{token_owner}}',
16-
repo: '{{repo}}',
11+
//baseUrl: 'https://github.mycompany.com:123/etc',
12+
//apiUrl: 'https//api.github.com',
13+
owner: 'deckweiss-gmbh',
14+
tokens: [
15+
{
16+
value: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
17+
owner: 'alfredbotworth',
18+
},
19+
{
20+
value: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
21+
owner: 'valentinschabschneider',
22+
},
23+
{
24+
value: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
25+
owner: 'alexanderbetz',
26+
},
27+
{
28+
value: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
29+
owner: 'daniellampl',
30+
},
31+
{
32+
value: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
33+
owner: 'valentinjaech',
34+
},
35+
{
36+
value: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
37+
owner: 'simonhell',
38+
},
39+
{
40+
value: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
41+
owner: 'danielsteinkogler',
42+
},
43+
{
44+
value: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
45+
owner: 'kevin-baumgartner',
46+
},
47+
],
48+
repo: 'sportogo',
1749
recreateRepo: false,
1850
},
19-
s3: {
20-
accessKeyId: '{{accessKeyId}}',
21-
secretAccessKey: '{{secretAccessKey}}',
22-
bucket: 'my-gitlab-bucket',
23-
},
51+
// s3: {
52+
// accessKeyId: '{{accessKeyId}}',
53+
// secretAccessKey: '{{secretAccessKey}}',
54+
// bucket: 'my-gitlab-bucket',
55+
// },
2456
usermap: {
25-
'username.gitlab.1': 'username.github.1',
26-
'username.gitlab.2': 'username.github.2',
57+
'alexander.betz': 'alexanderbetz',
58+
Vla: 'valentinjaech',
59+
kevinbaumgartner: 'kevin-baumgartner',
60+
TheStoani: 'danielsteinkogler',
2761
},
2862
projectmap: {
29-
'gitlabgroup/projectname.1': 'GitHubOrg/projectname.1',
30-
'gitlabgroup/projectname.2': 'GitHubOrg/projectname.2',
63+
'deckweissgroup/frontend-skeleton': 'deckweiss-gmbh/frontend-skeleton',
64+
'deckweissgroup/sportogo': 'deckweiss-gmbh/sportogo',
3165
},
3266
conversion: {
3367
useLowerCaseLabels: true,
@@ -41,7 +75,7 @@ export default {
4175
releases: true,
4276
},
4377
debug: false,
44-
useIssueImportAPI: true,
78+
useIssueImportAPI: false,
4579
usePlaceholderMilestonesForMissingMilestones: true,
4680
usePlaceholderIssuesForMissingIssues: true,
4781
useReplacementIssuesForCreationFails: true,

0 commit comments

Comments
 (0)