forked from hound-search/hound
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-example.json
44 lines (44 loc) · 1.33 KB
/
config-example.json
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
{
"dbpath" : "data",
"repos" : {
"SomeGitRepo" : {
"url" : "https://www.github.com/YourOrganization/RepoOne.git"
},
"AnotherGitRepo" : {
"url" : "https://www.github.com/YourOrganization/RepoOne.git",
"ms-between-poll": 10000
},
"SomeMercurialRepo" : {
"url" : "https://www.example.com/foo/hg",
"vcs" : "hg"
},
"Subversion" : {
"url" : "http://my-svn.com/repo",
"url-pattern" : {
"base-url" : "{url}/{path}{anchor}"
},
"vcs" : "svn"
},
"SubversionWithCreds" : {
"url" : "http://my-private-svn.com/repo",
"url-pattern" : {
"base-url" : "{url}/{path}{anchor}"
},
"vcs" : "svn",
"vcs-config" : {
"username" : "username_for_ro_account",
"password" : "password_for_ro_account"
}
},
"LocalFolder" : {
"url" : "file:///absolute/path/to/directory"
},
"RepoWithCustomUrls" : {
"url" : "https://github.com/username/Foo.git",
"url-pattern" : {
"base-url" : "{url}/files/{path}{anchor}",
"anchor" : "#line={line}"
}
}
}
}