Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Update README to explain parameters #4

Closed
christinaforney opened this issue Nov 17, 2019 · 1 comment
Closed

Update README to explain parameters #4

christinaforney opened this issue Nov 17, 2019 · 1 comment
Assignees

Comments

@christinaforney
Copy link

While going through setting up this LSIF indexer on a C project, there were a few things that weren't clear:

  • What does ABSROOTDIR and ABSOUTDIR represent? What are they used for and where should they point to?
  • When running lsif-cpp, it assumes that the C compiler used is linked to the LLVM. For this particular setup, they were not, so it would be nice to be able to pass this information
  • Similarly for the conversion of the CSV files to LSIF, what are the parameters supposed to be pointing at?

We were able to work through and successfully generate an LSIF file, but when uploading it, we encountered two different errors on try 1 and try 2:

  1. 404 Not Found Unknown commit.
  2. stream error: stream ID 1; INTERNAL_ERROR

Not sure if this is an error with the uploader, or with the LSIF indexer.

@chrismwendt
Copy link
Contributor

chrismwendt commented Nov 18, 2019

Thanks for running through this 🙇

Updated docs in 5c9ab4e

I'm not sure what happened with the "Unknown commit" error. The next time this happens, it would be helpful to see the full stdout of the upload command, the output of git rev-parse HEAD, etc.

The cause of "stream error" was fixed in sourcegraph/sourcegraph#6622 sourcegraph/sourcegraph#6648.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants