Forums : Ohloh General Discussion

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

GPL with classpath exception

My project has a lot of files under the GPL+classpath exception type of license. These are currently being discovered as pure GPL. How can I make sure these files are detected for the license they are?

Erik Hülsmann over 15 years ago
 

Hi ehuelsmann,

Licenses are detected using Ohcount, our open-source line counter.

If you want to try your hand at adding a new license detection rule, we'd be happy to accept the patch. The license name for this license is gpl_classpath.

If this is not something you want to tackle, I can get it done, but it will probably be a while before I have time to take a look at it.

Thanks,
Robin

Robin Luckey over 15 years ago
 

Hi Robin,

Thanks for your reaction. I too will put it on my TODO list. I'm not much of a ruby hacker though. I saw the change probably impacts licenses.rb in the /lib/licenses subdirectory. When you say 'the name for this license is gplclasspath', do you mean that the indicator symbol to be used should be ':gplclasspath'?

Bye,

Erik.

Erik Hülsmann over 15 years ago
 

Yes, that's what I mean. Good luck, and let me know if you need anything.

Robin Luckey over 15 years ago
 

Ok, I finally got around to setting up Ruby on one of my development machines. I implemented a low-impact change. Now while I'm adding the tests, I find that - ofcourse - any file classified as gpl_classpath will also be identified as gpl. Should I change the patterns for gpl in order not to match gpl_classpath?

Erik Hülsmann almost 15 years ago