diff --git a/docs/admin/code_hosts/aws_codecommit.mdx b/docs/admin/code_hosts/aws_codecommit.mdx index 3464d64cd..02a3805e6 100644 --- a/docs/admin/code_hosts/aws_codecommit.mdx +++ b/docs/admin/code_hosts/aws_codecommit.mdx @@ -37,8 +37,7 @@ AWS CodeCommit connections support the following configuration options, which ar {/* SCHEMA_SYNC_START: admin/code_hosts/aws_codecommit.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:40Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:31Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { // REQUIRED: @@ -109,7 +108,6 @@ AWS CodeCommit connections support the following configuration options, which ar "secretAccessKey": null } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/aws_codecommit.schema.json */} ## Setup steps for SSH connections to AWS CodeCommit repositories diff --git a/docs/admin/code_hosts/azuredevops.mdx b/docs/admin/code_hosts/azuredevops.mdx index dc85a0aeb..8a3455e41 100644 --- a/docs/admin/code_hosts/azuredevops.mdx +++ b/docs/admin/code_hosts/azuredevops.mdx @@ -65,10 +65,9 @@ Azure DevOps connections support the following configuration options, which are {/* SCHEMA_SYNC_START: admin/code_hosts/azuredevops.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:39Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:30Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json -// Authentication alternatives: token OR windowsPassword + // Authentication alternatives: token OR windowsPassword { // A flag to enforce Azure DevOps repository access permissions @@ -162,7 +161,6 @@ Azure DevOps connections support the following configuration options, which are "windowsPassword": null } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/azuredevops.schema.json */} ## Webhooks diff --git a/docs/admin/code_hosts/bitbucket_cloud.mdx b/docs/admin/code_hosts/bitbucket_cloud.mdx index 0f0a0f326..9c8f10fad 100644 --- a/docs/admin/code_hosts/bitbucket_cloud.mdx +++ b/docs/admin/code_hosts/bitbucket_cloud.mdx @@ -116,8 +116,7 @@ Bitbucket Cloud connections support the following configuration options, which a {/* SCHEMA_SYNC_START: admin/code_hosts/bitbucket_cloud.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:38Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:29Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { // The workspace access token to use when authenticating with Bitbucket Cloud. @@ -227,7 +226,6 @@ Bitbucket Cloud connections support the following configuration options, which a "webhookSecret": null } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/bitbucket_cloud.schema.json */} ## Webhooks diff --git a/docs/admin/code_hosts/bitbucket_server.mdx b/docs/admin/code_hosts/bitbucket_server.mdx index 91c815da7..1eb90c98f 100644 --- a/docs/admin/code_hosts/bitbucket_server.mdx +++ b/docs/admin/code_hosts/bitbucket_server.mdx @@ -202,10 +202,9 @@ Bitbucket Server / Bitbucket Data Center connections support the following confi {/* SCHEMA_SYNC_START: admin/code_hosts/bitbucket_server.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:37Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:28Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json -// Authentication alternatives: token OR password + // Authentication alternatives: token OR password { // If non-null, enforces Bitbucket Server / Bitbucket Data Center repository permissions. @@ -319,7 +318,9 @@ Bitbucket Server / Bitbucket Data Center connections support the following confi // - [ // "?name=my-repo\u0026projectname=PROJECT\u0026visibility=private" // ] - "repositoryQuery": ["none"], + "repositoryQuery": [ + "none" + ], // A Bitbucket Server / Bitbucket Data Center personal access token with Read permissions. When using batch changes, the token needs Write permissions. Create one at https://[your-bitbucket-hostname]/plugins/servlet/access-tokens/add. Also set the corresponding "username" field. // For Bitbucket Server / Bitbucket Data Center instances that don't support personal access tokens (Bitbucket Server / Bitbucket Data Center version 5.4 and older), specify user-password credentials in the "username" and "password" fields. @@ -341,5 +342,4 @@ Bitbucket Server / Bitbucket Data Center connections support the following confi } } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/bitbucket_server.schema.json */} diff --git a/docs/admin/code_hosts/gerrit.mdx b/docs/admin/code_hosts/gerrit.mdx index d5e7f9d27..0522d9514 100644 --- a/docs/admin/code_hosts/gerrit.mdx +++ b/docs/admin/code_hosts/gerrit.mdx @@ -113,8 +113,7 @@ Gerrit connections support the following configuration options, which are specif {/* SCHEMA_SYNC_START: admin/code_hosts/gerrit.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:41Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:32Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { // If non-null, enforces Gerrit 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 "gerrit" with the same `url` field as specified in this `GerritConnection`. @@ -187,5 +186,4 @@ Gerrit connections support the following configuration options, which are specif "username": null } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/gerrit.schema.json */} diff --git a/docs/admin/code_hosts/github.mdx b/docs/admin/code_hosts/github.mdx index bb02ffb48..81700ace8 100644 --- a/docs/admin/code_hosts/github.mdx +++ b/docs/admin/code_hosts/github.mdx @@ -481,10 +481,9 @@ GitHub connections support the following configuration options, which are specif {/* SCHEMA_SYNC_START: admin/code_hosts/github.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:35Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:26Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json -// Authentication alternatives: token OR gitHubAppDetails OR externalAccount OR useRandomExternalAccount + // Authentication alternatives: token OR gitHubAppDetails OR externalAccount OR useRandomExternalAccount { // If non-null, enforces GitHub 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 "github" with the same `url` field as specified in this `GitHubConnection`. @@ -610,7 +609,9 @@ GitHub connections support the following configuration options, which are specif // - All other values are executed as a GitHub advanced repository search as described at https://github.com/search/advanced. Example: to sync all repositories from the "sourcegraph" organization including forks the query would be "org:sourcegraph fork:true". // If multiple values are provided, their results are unioned. // If you need to narrow the set of mirrored repositories further (and don't want to enumerate it with a list or query set as above), create a new bot/machine user on GitHub or GitHub Enterprise that is only affiliated with the desired repositories. - "repositoryQuery": ["none"], + "repositoryQuery": [ + "none" + ], // A GitHub personal access token. Create one for GitHub.com at https://github.com/settings/tokens/new?description=Sourcegraph (for GitHub Enterprise, replace github.com with your instance's hostname). See https://sourcegraph.com/docs/admin/code_hosts/github#github-api-access for which scopes are required for which use cases. "token": null, @@ -637,5 +638,4 @@ GitHub connections support the following configuration options, which are specif "webhooks": null } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/github.schema.json */} diff --git a/docs/admin/code_hosts/gitlab.mdx b/docs/admin/code_hosts/gitlab.mdx index 7a7d01be8..eae813f54 100644 --- a/docs/admin/code_hosts/gitlab.mdx +++ b/docs/admin/code_hosts/gitlab.mdx @@ -189,8 +189,7 @@ See [Internal rate limits](/admin/code_hosts/rate_limits#internal-rate-limits). {/* SCHEMA_SYNC_START: admin/code_hosts/gitlab.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:36Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:27Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { // If non-null, enforces GitLab repository permissions. This requires that there be an item in the `auth.providers` field of type "gitlab" with the same `url` field as specified in this `GitLabConnection`. @@ -268,7 +267,9 @@ See [Internal rate limits](/admin/code_hosts/rate_limits#internal-rate-limits). // "?membership=true\u0026search=foo", // "groups/mygroup/projects" // ] - "projectQuery": ["none"], + "projectQuery": [ + "none" + ], // A list of projects to mirror from this GitLab instance. Supports including by name ({"name": "group/name"}) or by ID ({"id": 42}). // Other example values: @@ -327,7 +328,6 @@ See [Internal rate limits](/admin/code_hosts/rate_limits#internal-rate-limits). "webhooks": null } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/gitlab.schema.json */} ## Native integration diff --git a/docs/admin/code_hosts/gitolite.mdx b/docs/admin/code_hosts/gitolite.mdx index 5aa9140aa..54b478ea3 100644 --- a/docs/admin/code_hosts/gitolite.mdx +++ b/docs/admin/code_hosts/gitolite.mdx @@ -25,8 +25,7 @@ To connect Gitolite to Sourcegraph: {/* SCHEMA_SYNC_START: admin/code_hosts/gitolite.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:42Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:32Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { // A list of repositories to never mirror from this Gitolite instance. Supports excluding by exact name ({"name": "foo"}). @@ -73,5 +72,4 @@ To connect Gitolite to Sourcegraph: "prefix": null } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/gitolite.schema.json */} diff --git a/docs/admin/code_hosts/other.mdx b/docs/admin/code_hosts/other.mdx index 86c2a4184..2747710a9 100644 --- a/docs/admin/code_hosts/other.mdx +++ b/docs/admin/code_hosts/other.mdx @@ -68,8 +68,7 @@ Repositories must be listed individually: {/* SCHEMA_SYNC_START: admin/code_hosts/other_external_service.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:44Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:34Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { // A list of repositories to never mirror by name after applying repositoryPathPattern. Supports excluding by exact name ({"name": "myrepo"}) or regular expression ({"pattern": ".*secret.*"}). @@ -111,5 +110,4 @@ Repositories must be listed individually: "url": null } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/other_external_service.schema.json */} diff --git a/docs/admin/code_hosts/phabricator.mdx b/docs/admin/code_hosts/phabricator.mdx index 944480dbc..11e47a70e 100644 --- a/docs/admin/code_hosts/phabricator.mdx +++ b/docs/admin/code_hosts/phabricator.mdx @@ -76,8 +76,7 @@ The Sourcegraph instance's site admin must [update the `corsOrigin` site config {/* SCHEMA_SYNC_START: admin/code_hosts/phabricator.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:43Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:33Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { // SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`. @@ -102,5 +101,4 @@ The Sourcegraph instance's site admin must [update the `corsOrigin` site config "url": null } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/phabricator.schema.json */} diff --git a/docs/admin/config/settings.mdx b/docs/admin/config/settings.mdx index 50b0d6219..8b3b576a8 100644 --- a/docs/admin/config/settings.mdx +++ b/docs/admin/config/settings.mdx @@ -27,10 +27,10 @@ Settings options and their default values are shown below. {/* SCHEMA_SYNC_START: admin/config/settings.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:35Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:25Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { + ////////////////////////////////////////////////////////////// // General Configuration ////////////////////////////////////////////////////////////// @@ -187,9 +187,9 @@ Settings options and their default values are shown below. // Enables default site wide search context. Only admins can set this. Individual users can override with their own search context. "siteWideSearchContext": null + } ``` - {/* SCHEMA_SYNC_END: admin/config/settings.schema.json */} ## Additional details on settings diff --git a/docs/admin/config/site_config.mdx b/docs/admin/config/site_config.mdx index ea8d7a737..c2bc8af17 100644 --- a/docs/admin/config/site_config.mdx +++ b/docs/admin/config/site_config.mdx @@ -21,10 +21,10 @@ All site configuration options and their default values are shown below. {/* SCHEMA_SYNC_START: admin/config/site.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:34Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:24Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { + ////////////////////////////////////////////////////////////// // General Configuration ////////////////////////////////////////////////////////////// @@ -667,6 +667,7 @@ All site configuration options and their default values are shown below. "retention": "72h" }, + ////////////////////////////////////////////////////////////// // Authentication & Authorization ////////////////////////////////////////////////////////////// @@ -713,7 +714,13 @@ All site configuration options and their default values are shown below. "allow": "all-users-create", "allowNoExpiration": false, "defaultExpirationDays": 90, - "expirationOptionDays": [7, 14, 30, 60, 90] + "expirationOptionDays": [ + 7, + 14, + 30, + 60, + 90 + ] }, // IP allowlist for access to the Sourcegraph instance. If set, only requests from these IP addresses will be allowed. By default client IP is infered connected client IP address, and you may configure to use a request header to determine the user IP. @@ -805,6 +812,7 @@ All site configuration options and their default values are shown below. // When true, site admins will only be able to see private code they have access to via our authz system. "authz.enforceForSiteAdmins": false, + ////////////////////////////////////////////////////////////// // Security & Encryption ////////////////////////////////////////////////////////////// @@ -836,6 +844,7 @@ All site configuration options and their default values are shown below. "webhookLogKey": null }, + ////////////////////////////////////////////////////////////// // AI & Completions ////////////////////////////////////////////////////////////// @@ -872,6 +881,7 @@ All site configuration options and their default values are shown below. "user": null }, + ////////////////////////////////////////////////////////////// // Executors ////////////////////////////////////////////////////////////// @@ -921,6 +931,7 @@ All site configuration options and their default values are shown below. // - "4.1.0" "executors.srcCLIImageTag": null, + ////////////////////////////////////////////////////////////// // Git & Repository Management ////////////////////////////////////////////////////////////// @@ -984,7 +995,13 @@ All site configuration options and their default values are shown below. // "size": 1000 // } "gitRecorder": { - "ignoredGitCommands": ["show", "rev-parse", "log", "diff", "ls-tree"], + "ignoredGitCommands": [ + "show", + "rev-parse", + "log", + "diff", + "ls-tree" + ], "repos": null, "size": 10000 }, @@ -1007,6 +1024,7 @@ All site configuration options and their default values are shown below. // Disk usage threshold at which to display warning notification. Value is a percentage. "gitserver.diskUsageWarningThreshold": 90, + ////////////////////////////////////////////////////////////// // Branding & UI ////////////////////////////////////////////////////////////// @@ -1033,6 +1051,7 @@ All site configuration options and their default values are shown below. "light": null }, + ////////////////////////////////////////////////////////////// // Observability & Monitoring ////////////////////////////////////////////////////////////// @@ -1138,9 +1157,9 @@ All site configuration options and their default values are shown below. "type": "opentelemetry", "urlTemplate": null } + } ``` - {/* SCHEMA_SYNC_END: admin/config/site.schema.json */} #### Known bugs diff --git a/docs/admin/repo/perforce.mdx b/docs/admin/repo/perforce.mdx index cbf6b86e0..fec16719e 100644 --- a/docs/admin/repo/perforce.mdx +++ b/docs/admin/repo/perforce.mdx @@ -228,8 +228,7 @@ With this setting, Sourcegraph will ignore any rules with a host other than `*`, {/* SCHEMA_SYNC_START: admin/code_hosts/perforce.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2025-11-12T22:19:45Z via sourcegraph/sourcegraph@v6.10.0 */} - +{/* Last updated: 2025-11-25T00:35:35Z via sourcegraph/sourcegraph@v6.10.3349 */} ```json { // If non-null, enforces Perforce depot permissions. @@ -288,7 +287,6 @@ With this setting, Sourcegraph will ignore any rules with a host other than `*`, "repositoryPathPattern": "{depot}" } ``` - {/* SCHEMA_SYNC_END: admin/code_hosts/perforce.schema.json */} ## Known issues and limitations