oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.34k stars 745 forks source link

Analyzer plugin framework #2588

Open vladak opened 5 years ago

vladak commented 5 years ago

As discussed on Slack #dev channel, some (namely @tarzanek) would like to add some new analyzers (e.g. PDF analyzer - #492) written in Scala/Kotlin/Closure/you-name-it. Given that core OpenGrok should stay pure Java, we need a plugin framework and interface for the analyzers to facilitate this.

The repositories for analyzers can be then hosted anywhere (our own would live under https://github.com/OpenGrok/) and the jars published to Maven central. This should also allow for 3rd party analyzers - just shove them under analyzer directory (configurable) and OpenGrok will load them automatically.

tulinkry commented 5 years ago

We can somehow reuse the existing framework for authorization plugins.

vladak commented 5 years ago

Yeah, that would be nice.

vladak commented 5 years ago

Some things for consideration: