sourcegraph / srclib

srclib is a polyglot code analysis library, built for hackability. It consists of language analysis toolchains (currently for Go and Java, with Python, JavaScript, and Ruby in beta) with a common output format, and a CLI tool for running the analysis.
https://srclib.org
Other
942 stars 62 forks source link

allow importing when no toolchains are present #230

Closed sqs closed 8 years ago

sqs commented 8 years ago

Removes the SRCLIB_NO_TOOLCHAINS env var, which permitted srclib store import operations (and other things that depended on already produced data) even when no toolchains were present. This behavior is now the standard behavior.

This could make it slightly more confusing if you are trying to debug why a scanned source unit is not being passed to a grapher (e.g., if you specify the wrong ToolRef to use to graph the source unit), but it comes at a significant decrease in complexity overall.