Skip to content

SCIP indexer uses all default options #536

@mattwparas

Description

@mattwparas

The glean index scip command appears to only ever use defaults, and not accept any additional arguments:

https://github.com/facebookincubator/Glean/blob/main/glean/lang/scip/indexer/Glean/Indexer/SCIP.hs

When poking around, I also found this entrypoint:

https://github.com/facebookincubator/Glean/blob/main/glean/lang/scip/indexer/Glean/Indexer/SCIP/Main.hs

Which appears to have the behavior that is more expected. Before I open a PR, should the latter be used instead?

The consequence of this is that when indexing scip files, the language is always unknown, which renders glean/glass less than useful. Once I updated this manually, I was able to get glass working well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions