Adding New Languages
How language integrations work
You can add support for a languages by creating a
Builder for that language.
Builder interface describes key functionality that FOSSA CLI relies on to
perform dependency analysis:
Initializedoes initialization for the builder and gathers environment context (e.g. binary paths).
Buildruns a default build of the module if the user requests it.
Analyzereturns a list of dependencies in a standard format.
IsBuiltdetects whether a module requires a build.
Dependency is a component with a locator. Locators are built out of 3 parts:
Fetcher: the component's source ecosystem (e.g.
Package: the package name in the ecosystem's registries.
Revision: the revision (or version) name in the ecosystem's registries.