Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit eea9e6a

Browse files
authored
Update to the latest src-cli release (#36050)
1 parent 937a270 commit eea9e6a

File tree

5 files changed

+64
-10
lines changed

5 files changed

+64
-10
lines changed

doc/cli/references/code-intel.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# `src code-intel`
2+
3+
4+
5+
## Usage
6+
7+
```
8+
'src code-intel' manages code intelligence data on a Sourcegraph instance.
9+
10+
Usage:
11+
12+
src code-intel command [command options]
13+
14+
The commands are:
15+
16+
upload uploads an LSIF dump file
17+
18+
Use "src code-intel [command] -h" for more information about a command.
19+
20+
21+
```
22+

doc/cli/references/debug.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# `src debug`
2+
3+
4+
5+
## Usage
6+
7+
```
8+
'src debug' gathers and bundles debug data from a Sourcegraph deployment for troubleshooting.
9+
10+
Usage:
11+
12+
src debug command [command options]
13+
14+
The commands are:
15+
16+
kube dumps context from k8s deployments
17+
compose dumps context from docker-compose deployments
18+
server dumps context from single-container deployments
19+
20+
21+
Use "src debug command -h" for more information about a subcommands.
22+
src debug has access to flags on src -- Ex: src -v kube -o foo.zip
23+
24+
25+
26+
```
27+

doc/cli/references/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
* [`api`](api.md)
77
* [`batch`](batch/index.md)
8+
* [`code-intel`](code-intel.md)
89
* [`config`](config/index.md)
10+
* [`debug`](debug.md)
911
* [`extensions`](extensions/index.md)
1012
* [`extsvc`](extsvc/index.md)
1113
* [`login`](login.md)

doc/cli/references/lsif/upload.md

+12-9
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,25 @@ Usage of 'src lsif upload':
6565
6666
Examples:
6767
68-
Upload an LSIF dump with explicit repo, commit, and upload files:
68+
Upload a SCIP index with explicit repo, commit, and upload files:
6969
70-
$ src lsif upload -repo=FOO -commit=BAR -file=dump.lsif
70+
$ src code-intel upload -repo=FOO -commit=BAR -file=index.scip
7171
72-
Upload an LSIF dump for a subproject:
72+
Upload a SCIP index for a subproject:
7373
74-
$ src lsif upload -root=cmd/
74+
$ src code-intel upload -root=cmd/
7575
76-
Upload an LSIF dump when lsifEnforceAuth is enabled:
76+
Upload a SCIP index when lsifEnforceAuth is enabled:
7777
78-
$ src lsif upload -github-token=BAZ, or
79-
$ src lsif upload -gitlab-token=BAZ
78+
$ src code-intel upload -github-token=BAZ, or
79+
$ src code-intel upload -gitlab-token=BAZ
8080
81-
Upload an LSIF dump when the LSIF indexer does not not declare a tool name.
81+
Upload an LSIF index when the LSIF indexer does not not declare a tool name.
8282
83-
$ src lsif upload -indexer=lsif-elixir
83+
$ src code-intel upload -indexer=lsif-elixir
84+
85+
For any of these commands, an LSIF index (default name: dump.lsif) can be
86+
used instead of a SCIP index (default name: index.scip).
8487
8588
8689
```

internal/src-cli/consts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ package srccli
66
// as the suggested download with this instance.
77
//
88
// At the time of a Sourcegraph release, this is always the latest src-cli version.
9-
const MinimumVersion = "3.40.0"
9+
const MinimumVersion = "3.40.1"

0 commit comments

Comments
 (0)