License information

Avatar

Michal Čihař

over 3 years ago

I recently added Wammu to ohloh and it says it was not able to find license information in files - http://www.ohloh.net/projects/4427/analyses/latest

However most of files in this project contain GPL header, so there is probably something wrong in the parser...


Avatar

Robin Luckey

over 3 years ago

Hi nijel,

Correct me if I'm wrong, but it looks like this project declares its licenses inside of Python docstrings instead of regular comment blocks.

We don't yet support Python docstrings. Our parser only looks in regular comment blocks for license information.

This also means that we are short-changing this project on its comment count, since we are counting all of the documentation as string constants, which we would consider code. Properly, docstrings should be counted as comments.

This is a known issue on our to-do list.

Thanks, Robin


Avatar

Michal Čihař

over 3 years ago

Thanks for information. I expected this will be an issue, I just wanted to make sure that it is know, because I didn't find license case mentioned anywhere.