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
This PR updates the embedded JSON schemas to match the schemas from
Sourcegraph v6.5.1211.
## Changes
- Updates JSON schema files referenced in MDX documentation
- Maintains version consistency between code and documentation
## Automation
This PR was created automatically by the schema sync tool during the
v6.5.1211 release process.
/cc @sourcegraph/release
---------
Co-authored-by: Maedah Batool <[email protected]>
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
37
-
{/* Last updated: Manual setup - will be automated via sourcegraph/sourcegraph releases*/}
37
+
{/* Last updated: 2025-07-07T17:35:38Z via sourcegraph/sourcegraph@v6.5.1211*/}
38
38
```json
39
39
{
40
+
// REQUIRED:
40
41
// The AWS access key ID to use when listing and updating repositories from AWS CodeCommit. Must have the AWSCodeCommitReadOnly IAM policy.
41
42
"accessKeyID": null,
42
43
43
44
// A list of repositories to never mirror from AWS CodeCommit.
44
-
//
45
45
// Supports excluding by name ({"name": "git-codecommit.us-west-1.amazonaws.com/repo-name"}) or by ARN ({"id": "arn:aws:codecommit:us-west-1:999999999999:name"}).
46
-
"exclude": null,
47
46
// Other example values:
48
47
// - [
49
48
// {
@@ -61,35 +60,55 @@ AWS CodeCommit connections support the following configuration options, which ar
61
60
// "name": "go-client"
62
61
// }
63
62
// ]
63
+
"exclude": null,
64
64
65
+
// REQUIRED:
65
66
// The Git credentials used for authentication when cloning an AWS CodeCommit repository over HTTPS.
66
-
//
67
67
// See the AWS CodeCommit documentation on Git credentials for CodeCommit: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_ssh-keys.html#git-credentials-code-commit.
68
68
// For detailed instructions on how to create the credentials in IAM, see this page: https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html
69
-
"gitCredentials": null,
69
+
"gitCredentials": {
70
+
"password": null,
71
+
"username": null
72
+
},
73
+
74
+
// SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`.
75
+
"gitSSHCipher": null,
76
+
77
+
// SSH keys to use when cloning Git repo.
78
+
"gitSSHCredential": null,
79
+
80
+
// The ID of the SSH key created for your IAM users. It is required when using SSH to clone repositories.
81
+
"gitSSHKeyID": null,
82
+
83
+
// The type of Git URLs to use for cloning and fetching Git repositories.
84
+
// Valid options: "http", "ssh"
85
+
"gitURLType": "http",
70
86
71
87
// Deprecated and ignored field which will be removed entirely in the next release. AWS CodeCommit repositories can no longer be enabled or disabled explicitly. Configure which repositories should not be mirrored via "exclude" instead.
72
88
"initialRepositoryEnablement": false,
73
89
90
+
// The maximum number of repos that will be deleted per sync. A value of 0 or less indicates no maximum.
91
+
"maxDeletions": 0,
92
+
93
+
// REQUIRED:
74
94
// The AWS region in which to access AWS CodeCommit. See the list of supported regions at https://docs.aws.amazon.com/codecommit/latest/userguide/regions.html#regions-git.
// The pattern used to generate a the corresponding Sourcegraph repository name for an AWS CodeCommit repository. In the pattern, the variable "{name}" is replaced with the repository's name.
78
-
//
79
99
// For example, if your Sourcegraph instance is at https://src.example.com, then a repositoryPathPattern of "awsrepos/{name}" would mean that a AWS CodeCommit repository named "myrepo" is available on Sourcegraph at https://src.example.com/awsrepos/myrepo.
80
-
//
81
100
// 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.
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
70
-
{/* Last updated: Manual setup - will be automated via sourcegraph/sourcegraph releases*/}
70
+
{/* Last updated: 2025-07-07T17:35:37Z via sourcegraph/sourcegraph@v6.5.1211*/}
71
71
```json
72
+
// Authentication alternatives: token OR windowsPassword
73
+
72
74
{
73
75
// A flag to enforce Azure DevOps repository access permissions
74
76
"enforcePermissions": false,
75
77
76
78
// A list of repositories to never mirror from Azure DevOps Services.
77
-
"exclude": null,
78
79
// Other example values:
79
80
// - [
80
81
// {
@@ -92,43 +93,77 @@ Azure DevOps connections support the following configuration options, which are
92
93
// "pattern": "^topsecretproject/.*"
93
94
// }
94
95
// ]
96
+
"exclude": null,
97
+
98
+
// SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`.
99
+
"gitSSHCipher": null,
100
+
101
+
// SSH keys to use when cloning Git repo.
102
+
"gitSSHCredential": null,
95
103
96
104
// The type of Git URLs to use for cloning and fetching Git repositories.
97
-
//
98
105
// If "http", Sourcegraph will access repositories using Git URLs of the form http(s)://dev.azure.com/myrepo.git.
99
-
//
100
-
// If "ssh", Sourcegraph will access repositories using Git URLs of the form git@ssh.dev.azure.com:v3/myrepo. See the documentation for how to provide SSH private keys and known_hosts: https://sourcegraph.com/docs/admin/repo/auth#repositories-that-need-http-s-or-ssh-authentication.
106
+
// If "ssh", Sourcegraph will access repositories using Git URLs of the form [email protected]:v3/myrepo. See the documentation for how to provide SSH private keys and known_hosts: https://sourcegraph.com/docs/admin/repo/auth.
107
+
// Valid options: "http", "ssh"
101
108
"gitURLType": "http",
102
109
110
+
// The maximum number of repos that will be deleted per sync. A value of 0 or less indicates no maximum.
111
+
"maxDeletions": 0,
112
+
103
113
// An array of organization names identifying Azure DevOps organizations whose repositories should be mirrored on Sourcegraph.
104
-
"orgs": null,
105
114
// Other example values:
106
-
// - ["name"]
115
+
// - [
116
+
// "name"
117
+
// ]
107
118
// - [
108
119
// "kubernetes",
109
120
// "golang",
110
121
// "facebook"
111
122
// ]
123
+
"orgs": null,
112
124
113
125
// An array of projects "org/project" strings specifying which Azure DevOps projects' repositories should be mirrored on Sourcegraph.
126
+
// Other example values:
127
+
// - [
128
+
// "org/project"
129
+
// ]
114
130
"projects": null,
131
+
132
+
// Rate limit applied when making background API requests.
133
+
"rateLimit": {
134
+
"enabled": false,
135
+
"requestsPerHour": 0
136
+
},
137
+
138
+
// The pattern used to generate the corresponding Sourcegraph repository name for a Azure DevOps repository.
139
+
// - "{host}" is replaced with the Azure DevOps URL's host (such as dev.azure.com)
140
+
// - "{orgName}" is replaced with the repository's parent projects owning organization (or collection on DevOps server)
141
+
// - "{projectName}" is replaced with the repository's parent project
142
+
// - "{repositoryName}" is replaced with the repository's name.
143
+
// For example, if your Azure DevOps is https://dev.azure.com and your Sourcegraph is https://src.example.com, then a repositoryPathPattern of "{host}/{orgName}/{projectName}/{repositoryName}" would mean that a Azure DevOps repository at https://dev.azure.com/MYORG/MYPROJECT/MYREPO is available on Sourcegraph at https://src.example.com/dev.azure.com/MYORG/MYPROJECT/MYREPO.
144
+
// 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.
// The Personal Access Token associated with the Azure DevOps username used for authentication.
119
150
"token": null,
120
151
152
+
// REQUIRED:
121
153
// URL for Azure DevOps Services, set to https://dev.azure.com.
122
-
"url": null,
123
154
// Other example values:
124
155
// - "https://dev.azure.com"
156
+
"url": null,
125
157
126
-
// A username for authentication with the Azure DevOps code host.
127
-
"username": null
158
+
// REQUIRED:
159
+
// A username for authentication with the Azure DevOps code host. Typically an email address when connect to Azure DevOps Services (cloud) and a domain\username when connecting to Azure DevOp Server (onPrem)
160
+
"username": null,
161
+
162
+
// Windows account password (Azure Devops Server OnPrem Only): This is needed to clone the repo, the Token will be used for REST API calls
// The workspace access token to use when authenticating with Bitbucket Cloud.
125
127
"accessToken": null,
126
128
127
129
// The API URL of Bitbucket Cloud, such as https://api.bitbucket.org. Generally, admin should not modify the value of this option because Bitbucket Cloud is a public hosting platform.
128
-
"apiURL": null,
129
130
// Other example values:
130
131
// - "https://api.bitbucket.org"
132
+
"apiURL": null,
131
133
132
134
// The app password to use when authenticating to the Bitbucket Cloud. Also set the corresponding "username" field.
133
135
"appPassword": null,
134
136
135
137
// If non-null, enforces Bitbucket Cloud repository permissions. This requires that there is an item in the [site configuration json](https://sourcegraph.com/docs/admin/config/site_config#auth-providers) `auth.providers` field, of type "bitbucketcloud" with the same `url` field as specified in this `BitbucketCloudConnection`.
136
-
"authorization": null,
138
+
"authorization": {
139
+
"identityProvider": null
140
+
},
137
141
138
142
// A list of repositories to never mirror from Bitbucket Cloud. Takes precedence over "teams" configuration.
139
-
//
140
143
// Supports excluding by name ({"name": "myorg/myrepo"}) or by UUID ({"uuid": "{fceb73c7-cef6-4abe-956d-e471281126bd}"}).
141
-
"exclude": null,
142
144
// Other example values:
143
145
// - [
144
146
// {
@@ -159,55 +161,72 @@ Bitbucket Cloud connections support the following configuration options, which a
159
161
// "pattern": "^topsecretproject/.*"
160
162
// }
161
163
// ]
164
+
"exclude": null,
165
+
166
+
// SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`.
167
+
"gitSSHCipher": null,
168
+
169
+
// SSH keys to use when cloning Git repo.
170
+
"gitSSHCredential": null,
162
171
163
172
// The type of Git URLs to use for cloning and fetching Git repositories on this Bitbucket Cloud.
164
-
//
165
173
// If "http", Sourcegraph will access Bitbucket Cloud repositories using Git URLs of the form https://bitbucket.org/myteam/myproject.git.
166
-
//
167
174
// If "ssh", Sourcegraph will access Bitbucket Cloud repositories using Git URLs of the form [email protected]:myteam/myproject.git. See the documentation for how to provide SSH private keys and known_hosts: https://sourcegraph.com/docs/admin/repo/auth#repositories-that-need-http-s-or-ssh-authentication.
168
-
"gitURLType": "http",
175
+
// Valid options: "http", "ssh"
169
176
// Other example values:
170
177
// - "ssh"
178
+
"gitURLType": "http",
179
+
180
+
// The maximum number of repos that will be deleted per sync. A value of 0 or less indicates no maximum.
181
+
"maxDeletions": 0,
171
182
172
183
// Rate limit applied when making background API requests to Bitbucket Cloud.
173
184
"rateLimit": {
174
185
"enabled": true,
175
186
"requestsPerHour": 7200
176
187
},
177
188
189
+
// An array of repository "projectKey/repositorySlug" strings specifying repositories to mirror on Sourcegraph.
190
+
// Other example values:
191
+
// - [
192
+
// "myproject/myrepo",
193
+
// "myproject/myotherrepo"
194
+
// ]
195
+
"repos": null,
196
+
178
197
// The pattern used to generate the corresponding Sourcegraph repository name for a Bitbucket Cloud repository.
179
-
//
180
-
// - "{host}" is replaced with the Bitbucket Cloud URL's host (such as bitbucket.org), and "{nameWithOwner}" is replaced with the Bitbucket Cloud repository's "owner/path" (such as "myorg/myrepo").
181
-
//
198
+
// - "{host}" is replaced with the Bitbucket Cloud URL's host (such as bitbucket.org), and "{nameWithOwner}" is replaced with the Bitbucket Cloud repository's "owner/path" (such as "myorg/myrepo").
182
199
// For example, if your Bitbucket Cloud is https://bitbucket.org and your Sourcegraph is https://src.example.com, then a repositoryPathPattern of "{host}/{nameWithOwner}" would mean that a Bitbucket Cloud repository at https://bitbucket.org/alice/my-repo is available on Sourcegraph at https://src.example.com/bitbucket.org/alice/my-repo.
183
-
//
184
200
// 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.
// An array of team names identifying Bitbucket Cloud teams whose repositories should be mirrored on Sourcegraph.
188
-
"teams": null,
189
204
// Other example values:
190
-
// - ["name"]
205
+
// - [
206
+
// "name"
207
+
// ]
191
208
// - [
192
209
// "kubernetes",
193
210
// "golang",
194
211
// "facebook"
195
212
// ]
213
+
"teams": null,
196
214
215
+
// REQUIRED:
197
216
// URL of Bitbucket Cloud, such as https://bitbucket.org. Generally, admin should not modify the value of this option because Bitbucket Cloud is a public hosting platform.
198
-
"url": null,
199
217
// Other example values:
200
218
// - "https://bitbucket.org"
219
+
"url": null,
201
220
202
221
// The username to use when authenticating to the Bitbucket Cloud. Also set the corresponding "appPassword" field.
203
222
"username": null,
204
223
224
+
// ⚠️ DEPRECATED: Deprecated in favour of first class webhooks. See https://sourcegraph.com/docs/admin/config/webhooks/incoming#deprecation-notice
205
225
// A shared secret used to authenticate incoming webhooks (minimum 12 characters).
0 commit comments