mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 14:31:56 +00:00
Update to the latest src-cli release (#36050)
This commit is contained in:
parent
937a270762
commit
eea9e6ade9
22
doc/cli/references/code-intel.md
Normal file
22
doc/cli/references/code-intel.md
Normal file
@ -0,0 +1,22 @@
|
||||
# `src code-intel`
|
||||
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
'src code-intel' manages code intelligence data on a Sourcegraph instance.
|
||||
|
||||
Usage:
|
||||
|
||||
src code-intel command [command options]
|
||||
|
||||
The commands are:
|
||||
|
||||
upload uploads an LSIF dump file
|
||||
|
||||
Use "src code-intel [command] -h" for more information about a command.
|
||||
|
||||
|
||||
```
|
||||
|
||||
27
doc/cli/references/debug.md
Normal file
27
doc/cli/references/debug.md
Normal file
@ -0,0 +1,27 @@
|
||||
# `src debug`
|
||||
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
'src debug' gathers and bundles debug data from a Sourcegraph deployment for troubleshooting.
|
||||
|
||||
Usage:
|
||||
|
||||
src debug command [command options]
|
||||
|
||||
The commands are:
|
||||
|
||||
kube dumps context from k8s deployments
|
||||
compose dumps context from docker-compose deployments
|
||||
server dumps context from single-container deployments
|
||||
|
||||
|
||||
Use "src debug command -h" for more information about a subcommands.
|
||||
src debug has access to flags on src -- Ex: src -v kube -o foo.zip
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
@ -5,7 +5,9 @@
|
||||
|
||||
* [`api`](api.md)
|
||||
* [`batch`](batch/index.md)
|
||||
* [`code-intel`](code-intel.md)
|
||||
* [`config`](config/index.md)
|
||||
* [`debug`](debug.md)
|
||||
* [`extensions`](extensions/index.md)
|
||||
* [`extsvc`](extsvc/index.md)
|
||||
* [`login`](login.md)
|
||||
|
||||
@ -65,22 +65,25 @@ Usage of 'src lsif upload':
|
||||
|
||||
Examples:
|
||||
|
||||
Upload an LSIF dump with explicit repo, commit, and upload files:
|
||||
Upload a SCIP index with explicit repo, commit, and upload files:
|
||||
|
||||
$ src lsif upload -repo=FOO -commit=BAR -file=dump.lsif
|
||||
$ src code-intel upload -repo=FOO -commit=BAR -file=index.scip
|
||||
|
||||
Upload an LSIF dump for a subproject:
|
||||
Upload a SCIP index for a subproject:
|
||||
|
||||
$ src lsif upload -root=cmd/
|
||||
$ src code-intel upload -root=cmd/
|
||||
|
||||
Upload an LSIF dump when lsifEnforceAuth is enabled:
|
||||
Upload a SCIP index when lsifEnforceAuth is enabled:
|
||||
|
||||
$ src lsif upload -github-token=BAZ, or
|
||||
$ src lsif upload -gitlab-token=BAZ
|
||||
$ src code-intel upload -github-token=BAZ, or
|
||||
$ src code-intel upload -gitlab-token=BAZ
|
||||
|
||||
Upload an LSIF dump when the LSIF indexer does not not declare a tool name.
|
||||
Upload an LSIF index when the LSIF indexer does not not declare a tool name.
|
||||
|
||||
$ src lsif upload -indexer=lsif-elixir
|
||||
$ src code-intel upload -indexer=lsif-elixir
|
||||
|
||||
For any of these commands, an LSIF index (default name: dump.lsif) can be
|
||||
used instead of a SCIP index (default name: index.scip).
|
||||
|
||||
|
||||
```
|
||||
|
||||
@ -6,4 +6,4 @@ package srccli
|
||||
// as the suggested download with this instance.
|
||||
//
|
||||
// At the time of a Sourcegraph release, this is always the latest src-cli version.
|
||||
const MinimumVersion = "3.40.0"
|
||||
const MinimumVersion = "3.40.1"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user