-
Notifications
You must be signed in to change notification settings - Fork 64
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
codeintel: add an --associated-index-id flag for autoindexer usage #430
Conversation
cmd/src/lsif_upload.go
Outdated
@@ -71,6 +72,7 @@ Examples: | |||
flags.ignoreUploadFailures = flagSet.Bool("ignore-upload-failure", false, `Exit with status code zero on upload failure.`) | |||
flags.uploadRoute = flagSet.String("upload-route", "/.api/lsif/upload", "The path of the upload route.") |
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.
Should we add 'internal use only' here too?
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.
Sure, if someone's changed this in a forked Sourcegraph instance they'll happily ignore that instruction.
@@ -70,7 +70,7 @@ Examples: | |||
flags.noProgress = flagSet.Bool("no-progress", false, `Do not display a progress bar.`) | |||
flags.maxPayloadSizeMb = flagSet.Int("max-payload-size", 100, `The maximum upload size (in megabytes). Indexes exceeding this limit will be uploaded over multiple HTTP requests.`) | |||
flags.ignoreUploadFailures = flagSet.Bool("ignore-upload-failure", false, `Exit with status code zero on upload failure.`) | |||
flags.uploadRoute = flagSet.String("upload-route", "/.api/lsif/upload", "The path of the upload route.") | |||
flags.uploadRoute = flagSet.String("upload-route", "/.api/lsif/upload", "The path of the upload route. For internal use only.") |
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.
Need to wait for the codeintelutils update before this works.