Misidentified code

Avatar

Charles Goodwin

3 months ago

Our project, like many others, suffers from a lot of misidentified code.

What about the ability to specify extension->type preferences for each project?

http://www.ohloh.net/p/vexi

  • .jpp not identified as Java
  • .t identified as xsl (custom type, although it is just xml/js)

I created the following ohcount topics:

  • https://www.ohloh.net/forums/3493/topics/3782
  • https://www.ohloh.net/forums/3493/topics/3759

However creating (what some may construe as) project specific extensions to a generic tool is obviously not gonna fly - so hence this suggestion.


Avatar

Robin Luckey

3 months ago

Hi Charles,

There's a general feature idea brewing to allow a file somewhat like "robots.txt" to give directives to the Ohloh parser.

Initially, the most-requested feature is to ignore certain directories. However, I think we could generalize the feature to allow you to tell the Ohloh which languages are in use.

For instance, you might have a directive in the file that says to ignore everything in the "3rd_party" directory, and to treat all of the "*.jpp" files as Java.

This is a pretty popular feature request, so it's on our radar, but I can't promise any timeline.


Avatar

Charles Goodwin

3 months ago

I look forward to future announcements relating to this issue.

Thanks! =)