Hi, I'm thinking about making a few improvements to Opengrok. I won't have a lot of time to work on it but here are a few things I'd like to add:
- Analyzer for Python source files. Syntax highlighting of Python files already looks quite good but the identifier recognition doesn't seem to work properly, at least not in 0.7 (haven't checked HEAD yet but from looking at the source it doesn't look like anything changed.) - Integrating Jetty into the distribution so that playing with the web application becomes easier (Jetty is licensed under APL so there doesn't seem to be a problem.) - Trying to find a better solution to setting the webapp parameters than "unpack the war file, edit web.xml and repack again" (or send the configuration to 2424). Maybe it could fall back to a Java system properties and environment variables. - It seems that support for search across multiple projects is already in HEAD (searchMultiDatabase), that's great. - Some minor tweaks/fixes, for example I've noticed that in 0.7 the date shown next to a file in the webapp is the time it was indexed, not the time it was last modified. Not sure if this is still the case in HEAD. What are your thoughts about adding Jetty? Regarding the Python analyzer, is anyone working on this already and if so, anything I can do to help? Otherwise, I will read up on JFlex and probably start off with an existing analyzer, maybe the Java or Lisp one. What would be the best way to test my changes during development without having to run the full stack -- is there a way to run the analyzer on a single input file and check its output? I might have a few more questions along the way. For example, I don't quite understand yet why the analyzers' Xref code is so verbose and how it fits together with syntax highlighting. What is the best place to ask little questions like that, this list or is there maybe an IRC channel? Thanks, Julian