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. */}
70
-
{/* Last updated: Manual setup - will be automated via sourcegraph/sourcegraph releases*/}
70
+
{/* Last updated: 2025-07-01T23:25:35Z 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
0 commit comments