sourcegraph/Sourcegraph Go SCIP Indexer
Generate SCIP data from Go source code
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| recursive | Recursively scan for go.mod files, indexing each identified project independently | — | true |
| go-mod-path | Overrides the module path inferred from go.mod | no | — |
| go-mod-root | Specifies the directory containing the go.mod file | no | — |
| go-mod-version | Specifies the version of the module defined by go-mod-root | no | — |
| output | Output file path for the SCIP index | — | index.scip |
| project-root | Specifies the directory to index | — | . |
| quiet | Do not output to stdout or stderr | — | false |
| repository-remote | Specifies the canonical name of the repository remote | no | — |
| scip-go-version | Version of scip-go to use (e.g., "v0.2.1", "latest") | — | latest |
| skip-implementations | Skip generating implementations | — | false |
| skip-tests | Skip compiling tests. Will not generate SCIP indexes over tests. | — | false |
| verbose | Verbosity level (0=default, 1=verbose, 2=very verbose, 3=very very verbose) | — | 0 |
| github-token | GitHub access token with 'public_repo' scope for repository verification when lsif.enforceAuth is enabled | no | — |
| sourcegraph-token | Sourcegraph access token for uploading indexes | no | — |
| sourcegraph-url | URL of the Sourcegraph instance (e.g., https://sourcegraph.com) | no | — |
| src-cli-version | Version of src-cli to use for uploads (e.g., "6.12.0", "latest") | — | latest |
| upload | Upload the index to a Sourcegraph instance | — | false |
Outputs
| name | description |
|---|---|
| index-path | Path to the generated SCIP index file(s), comma-separated when recursive |