Forums : Technical Issue Help

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.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]

Primary Language: HTML?!

Hey folks,

For some reason, my project CrissCross shows on my profile (http://www.ohloh.net/accounts/4428) as having a primary language of HTML. There's no reason this should be the case, since it's a C++ project, and the only HTML in it was the Doxygen-generated HTML files which have been long since removed from the project.

Any ideas how to fix this or to get Ohloh to unscramble its brains?

  • Steven Noonan
Steven Noonan over 17 years ago
 

Hi Steven,

Ohloh determines primary language by how many lines of code a contributor changed. In the case of your contribution to CrissCross, this is confusing since as you mention, all you did was add and remove a single (but LARGE ~44K line) HTML file.

It's unlikely we'll address this problem in the immediate future, so you're options are to wait for this to fix itself -- it looks like you're very active and your C++ LOC will eclipse HTML on its own in a few months. Or if you want this to happen more quickly, you could check in a 10K line C++ file and then delete it.

In the fullness of time, we will likely come up with a solution for fixing this. A solution to this problem might be part of a broader feature we're considering: allowing contributors to reassign a commit to someone else, typically because they committed someone else's work. We might extend that to assigning the commit to null/nobody. I'd love your feedback on whether that idea or maybe something else would make sense.

Thanks for using Ohloh,
Andy

Andy Verprauskus over 17 years ago
 

Uh, actually, it wasn't a single HTML file. It was all our doxygen-generated documentation, so it was about 50 different HTML files. But it very likely added up to at LEAST 44K. And I know just what to commit. Here's an AWFUL, AWFUL solution to a primality test that someone submitted to a coding contest I run. It'll surely be adequate to overshadow the HTML side of things:

http://idlesoft.net/prime1.cpp

Steven Noonan over 17 years ago