-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json.example
87 lines (87 loc) · 1.65 KB
/
config.json.example
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[
{
"BaseURL": "https://gitlab.*****.com",
"API": "gitlab",
"ApiURI": "/api/v4",
"ApiToken": "******",
"CloneType": "ssh",
"SSHPrivateKeyPath": "/home/usr/.ssh/id_rsa",
"Destination": "/home/usr/giterate/gitlab",
"CloneOptions": [
{
"Name": "RemoteName",
"Value": "develop"
}
],
"Entities": [
{
"Type": "repository",
"Path": "link/to/repository",
"Name": "repository_name",
"Destination": "/home/usr/giterate/openjdk",
"CloneOptions": [
{
"Name": "RemoteName",
"Value": "master"
}
]
},
{
"Type": "group",
"Path": "link/to/group",
"Name": "group_name",
"Recurse": true
}
]
},
{
"BaseURL": "https://git.*****.com",
"API": "bitbucketv1",
"ApiURI": "/rest",
"CloneType": "http",
"Username": "usr",
"Password": "*****",
"Destination": "/home/usr/giterate/bitbucketv1",
"Entities": [
{
"Type": "repository",
"Path": "group_name",
"Name": "repository_name",
"Destination": "/home/usr/giterate/bitbucketv1/repository_name"
},
{
"Type": "group",
"Name": "group_name"
}
]
},
{
"BaseURL": "https://api.bitbucket.org",
"API": "bitbucketv2",
"ApiURI": "/2.0",
"CloneType": "ssh",
"Username": "usr",
"SSHPrivateKeyPath": "/home/usr/.ssh/id_rsa",
"Password": "*****",
"Destination": "/home/usr/giterate/bitbucketv2",
"Entities": [
{
"Type": "group",
"Name": "group_name"
}
]
},
{
"BaseURL": "https://github.com",
"API": "github",
"ApiURI": "/2.0",
"CloneType": "none",
"Destination": "/home/usr/giterate/github",
"Entities": [
{
"Type": "group",
"Name": "group_name"
}
]
}
]