Skip to content

Commit 48c4a21

Browse files
committed
Update admin/code_hosts/other_external_service.schema.json schema for v6.5.1211
1 parent 4e26f94 commit 48c4a21

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

docs/admin/code_hosts/other.mdx

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ Repositories must be listed individually:
7070

7171
{/* SCHEMA_SYNC_START: admin/code_hosts/other_external_service.schema.json */}
7272
{/* 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 */}
7474
```json
7575
{
7676
// 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,
7877
// Other example values:
7978
// - [
8079
// {
@@ -84,37 +83,36 @@ Repositories must be listed individually:
8483
// "pattern": ".*secret.*"
8584
// }
8685
// ]
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,
8793

8894
// Whether or not these repositories should be marked as public on Sourcegraph.com. Defaults to false.
8995
"makeReposPublicOnDotCom": false,
9096

97+
// REQUIRED:
9198
"repos": null,
9299

93100
// 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-
//
95101
// 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-
//
97102
// 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.
101104
// Other example values:
102105
// - "pretty-host-name/{repo}"
106+
"repositoryPathPattern": "{base}/{repo}",
103107

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"].
105-
"root": "",
106-
// Other example values:
107-
// - "path/to/my/repos"
108-
109-
"url": null
110108
// Other example values:
111109
// - "https://github.com/?access_token=secret"
112110
// - "ssh://[email protected]:2333/"
113111
// - "git://host.xz:2333/"
112+
"url": null
114113
}
115114
```
116115
{/* SCHEMA_SYNC_END: admin/code_hosts/other_external_service.schema.json */}
117-
118116
## Configuration Notes
119117

120118
- **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

Comments
 (0)