Un-experimentalize Azure DevOps (#48882)

Azure DevOps support is shipping with starship, No longer an
experimental feature :).
## Test plan
Manual.
This commit is contained in:
Idan Varsano 2023-03-08 15:55:58 -05:00 committed by GitHub
parent bed8750fe4
commit ebb350501c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 10 deletions

View File

@ -30,6 +30,7 @@ All notable changes to Sourcegraph are documented in this file.
- When encountering GitHub or GitLab rate limits, Sourcegraph will now wait the recommended amount of time and retry the request. This prevents sync jobs from failing prematurely due to external rate limits. [#48423](https://github.com/sourcegraph/sourcegraph/pull/48423), [#48616](https://github.com/sourcegraph/sourcegraph/pull/48616)
- Switching between code editor, files and symbols trees using keyboard shortcuts (currently under the experimental feature flag: `blob-page-switch-areas-shortcuts`). [#46829](https://github.com/sourcegraph/sourcegraph/pull/46829).
- Added "SCIM" badges for SCIM-controlled users on the User admin page. [#48727](https://github.com/sourcegraph/sourcegraph/pull/48727)
- Added Azure DevOps Services as a Tier 1 Code Host, including: repository syncing, permissions syncing, and Batch Changes support. [#46265](https://github.com/sourcegraph/sourcegraph/issues/46265)
- Added feature to disable some fields on user profiles for SCIM-controlled users. [#48816](https://github.com/sourcegraph/sourcegraph/pull/48816)
### Changed

View File

@ -1496,6 +1496,7 @@ export const codeHostExternalServices: Record<string, AddExternalServiceOptions>
gitolite: GITOLITE,
git: GENERIC_GIT,
gerrit: GERRIT,
azuredevops: AZUREDEVOPS,
...(window.context?.experimentalFeatures?.pythonPackages === 'enabled' ? { pythonPackages: PYTHON_PACKAGES } : {}),
...(window.context?.experimentalFeatures?.rustPackages === 'enabled' ? { rustPackages: RUST_PACKAGES } : {}),
...(window.context?.experimentalFeatures?.rubyPackages === 'enabled' ? { rubyPackages: RUBY_PACKAGES } : {}),
@ -1504,7 +1505,6 @@ export const codeHostExternalServices: Record<string, AddExternalServiceOptions>
...(window.context?.experimentalFeatures?.npmPackages === 'enabled' ? { npmPackages: NPM_PACKAGES } : {}),
...(window.context?.experimentalFeatures?.perforce === 'enabled' ? { perforce: PERFORCE } : {}),
...(window.context?.experimentalFeatures?.pagure === 'enabled' ? { pagure: PAGURE } : {}),
...(window.context?.experimentalFeatures?.azureDevOps === 'enabled' ? { azuredevops: AZUREDEVOPS } : {}),
}
export const nonCodeHostExternalServices: Record<string, AddExternalServiceOptions> = {

View File

@ -741,8 +741,6 @@ type ExpandedGitCommitDescription struct {
type ExperimentalFeatures struct {
// AccessRequestEnabled description: Enables/disables the request access feature, which allows users to request access if built-in signup is disabled.
AccessRequestEnabled *bool `json:"accessRequest.enabled,omitempty"`
// AzureDevOps description: Allow adding Azure DevOps code host connections
AzureDevOps string `json:"azureDevOps,omitempty"`
// BitbucketServerFastPerm description: DEPRECATED: Configure in Bitbucket Server config.
BitbucketServerFastPerm string `json:"bitbucketServerFastPerm,omitempty"`
// CustomGitFetch description: JSON array of configuration that maps from Git clone URL domain/path to custom git fetch command. To enable this feature set environment variable `ENABLE_CUSTOM_GIT_FETCH` as `true` on gitserver.
@ -838,7 +836,6 @@ func (v *ExperimentalFeatures) UnmarshalJSON(data []byte) error {
return err
}
delete(m, "accessRequest.enabled")
delete(m, "azureDevOps")
delete(m, "bitbucketServerFastPerm")
delete(m, "customGitFetch")
delete(m, "debug.log")

View File

@ -218,12 +218,6 @@
"enum": ["enabled", "disabled"],
"default": "disabled"
},
"azureDevOps": {
"description": "Allow adding Azure DevOps code host connections",
"type": "string",
"enum": ["enabled", "disabled"],
"default": "disabled"
},
"subRepoPermissions": {
"type": "object",
"additionalProperties": false,