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
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
# Sourcegraph Docs
2
2
3
-
<!-- Working branch for August Release -->
4
-
<!-- This is the PR to ship AI in docs -->
3
+
4
+
<!-- Working branch for September 2024 Release -->
5
+
5
6
6
7
Welcome to the Sourcegraph documentation! We're excited to have you contribute to our docs. We've recently rearchitectured our docs tech stack — powered by Next.js, TailwindCSS and deployed on Vercel. This guide will walk you through the process of contributing to our documentation using the new tech stack.
Copy file name to clipboardExpand all lines: docs/admin/config/webhooks/outgoing.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Outgoing webhooks
2
2
3
-
<Callouttype="note"> This feature is currently in beta and supported on Sourcegraph versions 5.0 or more.</Callout>
3
+
<Callouttype="note"> This feature is supported on Sourcegraph versions 5.0 or more.</Callout>
4
4
5
5
Outgoing webhooks can be configured on a Sourcegraph instance in order to send Sourcegraph events to external tools and services. This allows for deeper integrations between Sourcegraph and other applications.
Copy file name to clipboardExpand all lines: docs/admin/index.mdx
+8-13Lines changed: 8 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,32 +1,27 @@
1
1
# Administration
2
2
3
-
Administration is usually handled by site administrators are the admins responsible for deploying, managing, and configuring Sourcegraph for regular users. They have [special privileges](/admin/privileges) on a Sourcegraph instance. Check out this [quickstart guide](/admin/how-to/site-admin-quickstart) for more info on Site Administration.
3
+
Sourcegraph administration is primarily managed by site administrators, who are responsible for the deployment, management, and configuration of Sourcegraph instances for end users. For a comprehensive introduction to site administration, refer to our [quickstart guide](/admin/how-to/site-admin-quickstart).
4
+
4
5
5
6
## [Deploy Sourcegraph](/admin/deploy/)
6
7
8
+
Get started running Sourcegraph on-prem.
9
+
7
10
-[Deployment overview](/admin/deploy/)
8
-
-[Kubernetes with Helm](/admin/deploy/kubernetes/)
9
-
-[See all deployment options](/admin/deploy/#deployment-types)
-[Validate a Sourcegraph deployment](/admin/validation) (experimental)
14
13
15
14
## [Upgrade Sourcegraph](/admin/updates/)
16
15
17
-
> NOTE: The Sourcegraph [`migrator`](/admin/updates/migrator/migrator-operations) service can now perform upgrades across [multiple versions](/admin/updates/#multi-version-upgrades) on any instance 3.20 or later.
Copy file name to clipboardExpand all lines: docs/admin/updates/index.mdx
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Sourcegraph releases have three digits, for example: `v5.0.3`
22
22
| minor |`0`|
23
23
| patch |`3`|
24
24
25
-
For more details on our release candence, refer to the [Sourcegraph handbook](https://handbook.sourcegraph.com/departments/engineering/dev/process/releases/#sourcegraph-releases).
25
+
For more details on our release cadence, refer to the [Sourcegraph handbook](https://handbook.sourcegraph.com/departments/engineering/dev/process/releases/#sourcegraph-releases).
26
26
27
27
Generally, we ship a new version of Sourcegraph with new features and bug fixes monthly, followed by a patch release later that month. Major and minor releases happen less frequently and contain substantial changes to Sourcegraph.
28
28
@@ -44,17 +44,17 @@ Sourcegraph has two upgrade types. **Standard** upgrades and **Multiversion** up
44
44
45
45
> *Note: Patch versions don't determine upgrade type -- you should always upgrade to the latest patch.*
46
46
47
-
| From Version | To Version | Upgrade Type | Notes |
|`v5.0.0`|`v5.2.0`| Multiversion | Two minor versions|
51
+
|`v3.41.0`|`v3.42.2`| Standard | A minor version and patch version |
52
+
|`v5.1.0`|`v5.1.3`| Standard | Multiple patch versions |
53
53
|`v3.43.0`|`v4.0.0`| Standard | A major version change but only one absolute version |
54
-
|`v5.0.0`|`v5.2.2`| Multiversion | Two minor versions and patch |
55
-
|`v3.33.0`|`v5.2.0`| Multiversion | Major and minor |
56
-
|`v4.5.0`|`v5.0.0`| Standard | This is a major version but only one version change |
57
-
|`v4.4.2`|`v5.0.3`| Multiversion | Major, minor, and patch |
54
+
|`v5.0.0`|`v5.2.2`| Multiversion | Two minor versions and patch|
55
+
|`v3.33.0`|`v5.2.0`| Multiversion | Major and minor|
56
+
|`v4.5.0`|`v5.0.0`| Standard | This is a major version but only one version change |
57
+
|`v4.4.2`|`v5.0.3`| Multiversion | Major, minor, and patch|
58
58
59
59
> *Note:*
60
60
> -*Our major releases do not occur on a consistent interval, so make sure to check our changelog if you aren't certain about whether a major version is multiple minor versions away from your current version. You can also reach out to our support team [[email protected]](mailto:[email protected])*
@@ -78,7 +78,7 @@ It is highly recommended to:
78
78
Sourcegraph upgrades take the following general form:
79
79
1. Determine if your instance is ready to Upgrade (check upgrade notes)
80
80
2. Merge the latest Sourcegraph release into your deployment manifests
81
-
3. If updating more than a single minor version, perform an [**automatic multi-version upgrade**]/admin/updates/automatic) if targeting **Sourcegraph 5.1 or later**; [manual multi-verison upgrades]/admin/updates/migrator/migrator-operations) are required if upgrading to an earlier version, which requires shutting off the instance and invoking the `migrator` container or job to perform the database rewrite and application of unfinished out-of-band migrations
81
+
3. If updating more than a single minor version, perform an [**automatic multi-version upgrade**]/admin/updates/automatic) if targeting **Sourcegraph 5.1 or later**; [manual multi-version upgrades]/admin/updates/migrator/migrator-operations) are required if upgrading to an earlier version, which requires shutting off the instance and invoking the `migrator` container or job to perform the database rewrite and application of unfinished out-of-band migrations
82
82
4. With upstream changes to your manifests merged, start the new instance
83
83
84
84
> Note: For more explicit steps, specific to your deployment see the operations guides linked below.
Copy file name to clipboardExpand all lines: docs/cloud/private_connectivity_sourcegraph_connect.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
<Callouttype="note">This feature is in the Experimental stage. Please contact Sourcegraph directly via [prefered contact method](https://about.sourcegraph.com/contact) for more information.</Callout>
4
4
5
-
As part of the [Enterprise tier](https://sourcegraph.com/pricing), Sourcegraph Cloud supports connecting private resouces on any on-prem private network by running Sourcegraph Connect tunne agent in customer infrastructure.
5
+
As part of the [Enterprise tier](https://sourcegraph.com/pricing), Sourcegraph Cloud supports connecting private resources on any on-prem private network by running Sourcegraph Connect tunnel agent in customer infrastructure.
Copy file name to clipboardExpand all lines: docs/code-search/code-navigation/how-to/index_other_languages.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,4 +71,4 @@ Possible errors that can happen during upload include:
71
71
- Unknown repository (404): check your `-endpoint` and make sure you can view the repository on your Sourcegraph instance
72
72
- Invalid commit (404): try visiting the repository at that commit on your Sourcegraph instance to trigger an update
73
73
- Invalid auth when using Sourcegraph.com or when [`lsifEnforceAuth`](/admin/config/site_config#lsifEnforceAuth) is `true` (401 for an invalid token or 404 if the repository cannot be found on GitHub.com): make sure your GitHub token is valid and that the repository is correct
74
-
- Unexpected errors (500s): [file an issue](https://github.com/sourcegraph/sourcegraph/issues/new)
74
+
- Unexpected errors (500s): reach out to your Sourcegraph support team for assistance
Copy file name to clipboardExpand all lines: docs/code-search/types/search-jobs.mdx
+23-26Lines changed: 23 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,25 @@
1
1
# Search Jobs
2
2
3
-
<pclassName="subtitle">Use Search Jobs to search code at scale for large-scale organizations.</p>
4
-
5
-
<Callouttype="note"title="Beta"> Search Jobs feature is in Beta stage and only available for Enterprise accounts. It is enabled by default since 5.3.0.</Callout>
3
+
Use Search Jobs to search code at scale for large-scale organizations.
6
4
7
5
Search Jobs allows you to run search queries across your organization's codebase (all repositories, branches, and revisions) at scale. It enhances the existing Sourcegraph's search capabilities, enabling you to run searches without query timeouts or incomplete results.
8
6
9
7
With Search Jobs, you can start a search, let it run in the background, and then download the results from the Search Jobs UI when it's done. Site administrators can **enable** or **disable** the Search Jobs feature, making it accessible to all users on the Sourcegraph instance.
10
8
9
+
## Using Search Jobs
10
+
11
+
To use Search Jobs, you need to:
12
+
13
+
- Run a search query from your Sourcegraph instance
14
+
- Click the result menu below the search bar to see if your query is supported by Search Jobs
- If your query is valid, click **Create a search job** to initiate the search job
19
+
- You will be redirected to the "Search Jobs UI" page at `/search-jobs`, where you can view all your created search jobs. If you're a site admin, you can also view search jobs from other users on the instance
- If your query is valid, click **Run search job** to initiate the search job
80
-
- You will be redirected to the "Search Jobs UI" page at `/search-jobs`, where you can view all your created search jobs. If you're a site admin, you can also view search jobs from other users on the instance
@@ -99,20 +96,20 @@ The following result types are not supported:
99
96
The following elements of our query language are not supported:
100
97
101
98
- file predicates, such as `file:has.content`, `file:has.owner`, `file:has.contributor`, `file:contains.content`
102
-
-`.*` regexp search
99
+
-catch-all `.*` regexp search
103
100
- Multiple `rev` filters
104
101
- Queries with `index: filter`
105
102
106
-
<Callouttype="note">The search bar already supports exhaustive searches with the `count:all` operator. However, these searches are subject to lower timeouts, making them harder to use in large codebases.</Callout>
107
103
108
-
## Disable Search Jobs
104
+
<Callouttype="note">
105
+
Alternatively, the search bar supports the `count:all` operator which increases result limits and timeouts.
106
+
This works well if the search completes within a few minutes and the number of results is less than the configured display limit.
107
+
For longer running searches and searches with huge result sets, Search Jobs is the better choice.
108
+
</Callout>
109
109
110
-
Follow these steps to disable Search Jobs and to hide the feature in the Sourcegraph UI:
110
+
## Disable Search Jobs
111
111
112
-
- Login to your Sourcegraph instance and go to the site admin
113
-
- Next, click the site configuration
114
-
- From here, you'll see `experimentalFeatures`
115
-
- Set `searchJobs` to `false` and then refresh the page
112
+
To disable Search Jobs, set `DISABLE_SEARCH_JOBS=true` in your frontend and worker services.
0 commit comments