-
Notifications
You must be signed in to change notification settings - Fork 65
Remove LSIF support from src-cli #1147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove LSIF support from src-cli #1147
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…nversion-from-src-cli
// Make 'upload' available under 'src lsif' for backwards compatibility. | ||
lsifCommands = append(lsifCommands, &command{ | ||
flagSet: codeintelUploadFlagSet, | ||
handler: handleCodeIntelUpload, | ||
usageFunc: func() { | ||
fmt.Fprintf(flag.CommandLine.Output(), "Usage of 'src lsif %s':\n", codeintelUploadFlagSet.Name()) | ||
codeintelUploadFlagSet.PrintDefaults() | ||
fmt.Println(usage) | ||
}, | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to look into how src-cli docs are generated for the docs.sourcegraph.com page and regenerate those.
I found multiple copies of the file, one in the monorepo and one in the docs repo.
Not sure which is the source of truth.
Also uses streaming parser to infer metdata about index, to avoid loading the whole thing in memory
Test plan