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: docs/admin/config/private-network.mdx
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,12 @@ A **private network** refers to a secure network environment segregated from the
4
4
When deploying self-hosted Sourcegraph instances in private networks with specific compliance and policy requirements, additional configuration may be required to ensure all networking features function correctly. The reasons for applying the following configuration options depend on the specific functionality of the Sourcegraph service and the unique network and infrastructure requirements of the organization.
5
5
6
6
The following is a list of Sourcegraph services and how and when each initiates outbound connections to external services:
7
+
-**executor**: Sourcegraph [Executor](../executors) batch change or precise indexing jobs may need to connect to services hosted within an organization's private network
7
8
-**frontend**: The frontend service communicates externally when connecting to external [auth providers](../auth), sending [telemetry data](../pings), testing code host connections, and connecting to [externally hosted](../external_services) Sourcegraph services
8
9
-**gitserver**: Executes git commands against externally hosted [code hosts](../external_service)
9
-
-**repo-updater**: Communicates with [code hosts](../external_service) APIs to coordinate repository synchronization
10
10
-**migrator**: Connects to Postgres instances (which may be [externally hosted](../external_services/postgres)) to process database migrations
11
-
-**executor**: Sourcegraph [Executor](../executors) batch change or precise indexing jobs may need to connect to services hosted within an organization's private network
11
+
-**repo-updater**: Communicates with [code hosts](../external_service) APIs to coordinate repository synchronization
12
+
-**worker**: Sourcegraph [Worker](../workers) run various background jobs that may require establishing connections to services hosted within an organization's private network
12
13
13
14
## HTTP proxy configuration
14
15
All Sourcegraph services respect the conventional `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` environment variables for routing Sourcegraph client application HTTP traffic through a proxy server. The steps for configuring proxy environment variables will depend on your Sourcegraph deployment method.
@@ -17,14 +18,14 @@ All Sourcegraph services respect the conventional `HTTP_PROXY`, `HTTPS_PROXY`, a
17
18
Add the proxy environment variables to your Sourcegraph Helm chart [override file](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/charts/sourcegraph/values.yaml):
<Callout type="warning">Failure to configure `NO_PROXY` correctly can cause the proxy configuration to interfere with local networking between internal Sourcegraph services.</Callout>
Copy file name to clipboardExpand all lines: docs/admin/monorepo.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,12 +27,12 @@ Some monorepos use a custom command for `git fetch` to speed up fetch. Sourcegra
27
27
28
28
## Statistics
29
29
30
-
You can help the Sourcegraph developers understand the scale of your monorepo by sharing some statistics with the team. The bash script [`git-stats`](https://github.com/sourcegraph/sourcegraph/blob/main/dev/git-stats) when run in your git repository will calculate these statistics.
30
+
You can help the Sourcegraph developers understand the scale of your monorepo by sharing some statistics with the team. The bash script [`git-stats`](https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/dev/git-stats) when run in your git repository will calculate these statistics.
Copy file name to clipboardExpand all lines: docs/code-search/queries/index.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
@@ -38,7 +38,7 @@ Clicking the (.*) toggle interprets all search patterns as regular expressions.
38
38
|[`foo bar`](https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+foo+bar&patternType=regexp)| Search for the regexp `foo(.*?)bar`. Spaces between non-whitespace strings becomes `.*?` to create a fuzzy search |
39
39
|[`foo\ bar`](https://sourcegraph.com/search?q=foo%5C+bar&patternType=regexp) or [`/foo bar/`](https://sourcegraph.com/search?q=/foo+bar/&patternType=regexp)| Search for the regexp `foo bar`. The `\` escapes the space and treats the space as part of the pattern. Use `/.../` to avoid escaping spaces |
40
40
|[`foo\nbar`](https://sourcegraph.com/search?q=foo%5Cnbar&patternType=regexp)| Perform a multiline regexp search. `\n` is interpreted as a newline |
41
-
|[`"foo bar"`](https://sourcegraph.com/search?q=%27foo+bar%27&patternType=regexp)| Match the string literal `"foo bar"`. Quotes interpret strings exactly, except that special characters like `"` and `\` may be escaped, and whitespace escape sequences like `\n` are interpreted normally|
41
+
|[`"foo bar"`](https://sourcegraph.com/search?q=%22foo+bar%22&patternType=regexp)| Match the string `foo bar` exactly. The space between the terms is interpreted literally. The quotes are not matched. |
42
42
43
43
<Callouttype="note">We support [RE2 syntax](https://golang.org/s/re2syntax). Matching is case-insensitive by default (toggle the `Aa` button to change).</Callout>
Copy file name to clipboardExpand all lines: docs/cody/capabilities/chat.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
@@ -4,7 +4,7 @@
4
4
5
5
You can **chat** with Cody to ask questions about your code, generate code, and edit code. By default, Cody has the context of your open file and entire repository, and you can use `@` to add context for specific files, symbols, remote repositories, or other non-code artifacts.
6
6
7
-
You can do it from the **chat** panel of the supported editor extensions ([VS Code](/clients/install-vscode), [JetBrains](/clients/install-jetbrains), [Visual Studio](/clients/install-visual-studio)) or in the [web](/clients/cody-with-sourcegraph) app.
7
+
You can do it from the **chat** panel of the supported editor extensions ([VS Code](/cody/clients/install-vscode), [JetBrains](/cody/clients/install-jetbrains), [Visual Studio](/cody/clients/install-visual-studio)) or in the [web](/cody/clients/cody-with-sourcegraph) app.
Copy file name to clipboardExpand all lines: docs/cody/capabilities/openctx.mdx
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,13 @@
6
6
7
7
[OpenCtx](https://openctx.org/) is an open standard for bringing contextual info about code into your dev tools. Cody Free and Pro users can use OpenCtx providers to fetch and use context from the following sources:
Copy file name to clipboardExpand all lines: docs/cody/clients/cody-with-sourcegraph.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,11 @@ The chat interface with your Code Search queries is operated per chat. You canno
29
29
30
30
## LLM Selection
31
31
32
-
Sourcegraph.com users with Cody **Free** and **Pro**can choose from a list of supported LLM models for a chat. Claude Sonnet 3.5 is the default LLM model, but users can select the LLM of their choice from the drop-down menu.
32
+
Cody Free and Pro users can select multiple models. Enterprise users with the new [model configuration](/cody/clients/model-configuration)can use the LLM selection dropdown to choose a chat model.
You can read about these supported LLM models [here](/cody/capabilities/supported-models#chat-and-commands).
35
35
36
-
Users on an Enterprise Sourcegraph instance do not have the option to choose an LLM model. Their site admin will configure the default LLM model for chat. However, Enterprise users with the new [model configuration](/cody/clients/model-configuration) can use the LLM selection dropdown to choose a chat model.
Copy file name to clipboardExpand all lines: docs/cody/clients/index.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
# Cody Clients
2
2
3
-
<pclassName="subtitle">You can install and start using Codyin your favorite IDEs and with the Sourcegraph web app.</p>
3
+
<pclassName="subtitle">There are multiple ways to use Cody: you can install its extension in your favorite IDEs, access it via the Sourcegraph web app, or use it through the Cody CLI.</p>
4
4
5
5
<ProductCards>
6
6
<ProductCardhref="/cody/clients/install-vscode"imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/vscode.svg"imgAlt="VS Code"title="Cody for VS Code"description="Install Cody's free extension for VS Code. " />
7
7
<ProductCardhref="/cody/clients/install-jetbrains"imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/jb_beam.svg"imgAlt="JetBrains"title="Cody for JetBrains"description="Install Cody's free extension for JetBrains." />
8
+
<ProductCardhref="/cody/clients/install-visual-studio"imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/visual-studio-Product-Icon.svg"imgAlt="Visual Studio"title="Cody for Visual Studio (Experimental)"description="Install Cody's free extension for Visual Studio." />
8
9
<ProductCardhref="/cody/clients/cody-with-sourcegraph"imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/cody-logomark-default.svg"imgAlt="Cody Web"title="Cody for Web"description="Use Cody in the Sourcegraph web app." />
9
10
<ProductCardhref="/cody/clients/install-cli"imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/command-line-blue.svg"imgAlt="Cody CLI"title="Cody CLI"description="Run Cody from the command line." />
10
11
<ProductCardhref="/cody/clients/enable-cody-enterprise"imgSrc="https://sourcegraph.com/.assets/img/sourcegraph-mark.svg"imgAlt="Cody Enterprise"title="Cody Enterprise"description="Get in touch with our team to try Cody for Sourcegraph Enterprise." />
0 commit comments