You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
73
-
{/* Last updated: Manual setup - will be automated via sourcegraph/sourcegraph releases*/}
73
+
{/* Last updated: 2025-07-01T22:33:10Z via sourcegraph/sourcegraph@v6.5.1211*/}
74
74
```json
75
75
{
76
76
// A list of repositories to never mirror by name after applying repositoryPathPattern. Supports excluding by exact name ({"name": "myrepo"}) or regular expression ({"pattern": ".*secret.*"}).
77
-
"exclude": null,
78
77
// Other example values:
79
78
// - [
80
79
// {
@@ -84,37 +83,36 @@ Repositories must be listed individually:
84
83
// "pattern": ".*secret.*"
85
84
// }
86
85
// ]
86
+
"exclude": null,
87
+
88
+
// SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`.
89
+
"gitSSHCipher": null,
90
+
91
+
// SSH keys to use when cloning Git repo.
92
+
"gitSSHCredential": null,
87
93
88
94
// Whether or not these repositories should be marked as public on Sourcegraph.com. Defaults to false.
89
95
"makeReposPublicOnDotCom": false,
90
96
97
+
// REQUIRED:
91
98
"repos": null,
92
99
93
100
// The pattern used to generate the corresponding Sourcegraph repository name for the repositories. In the pattern, the variable "{base}" is replaced with the Git clone base URL host and path, and "{repo}" is replaced with the repository path taken from the `repos` field.
94
-
//
95
101
// For example, if your Git clone base URL is https://git.example.com/repos and `repos` contains the value "my/repo", then a repositoryPathPattern of "{base}/{repo}" would mean that a repository at https://git.example.com/repos/my/repo is available on Sourcegraph at https://sourcegraph.example.com/git.example.com/repos/my/repo.
96
-
//
97
102
// It is important that the Sourcegraph repository name generated with this pattern be unique to this code host. If different code hosts generate repository names that collide, Sourcegraph's behavior is undefined.
98
-
//
99
-
// Note: These patterns are ignored if using src-expose / src-serve / src-serve-local.
100
-
"repositoryPathPattern": "{base}/{repo}",
103
+
// Note: These patterns are ignored if using src-expose / src-serve.
101
104
// Other example values:
102
105
// - "pretty-host-name/{repo}"
106
+
"repositoryPathPattern": "{base}/{repo}",
103
107
104
-
// The root directory to walk for discovering local git repositories to mirror. To sync with local repositories and use this root property one must run Cody App and define the repos configuration property such as ["src-serve-local"].
-**Repository Path Pattern**: The `repositoryPathPattern` field controls how repository names appear in Sourcegraph. Use `{base}` for the clone URL base and `{repo}` for the repository path.
0 commit comments