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]

QElectroTech not updating

Hi,

Enlistment for QElectroTech failed one month ago and it seems it doesn't update anymore.

Could someone take a look?

Thanks.

Guillaume over 13 years ago
 

Guillaume,

Rescheduled the hung update which finished OK (12 added commits). Analysis page is now at May 07 2012 and last commit is at 2012-05-07 (about 6 hours ago).

Please let me know here if the project stops updating again.

Thanks!

ssnow-blackduck over 13 years ago
 

Hello,

Thanks to both of you for the update. Just a few questions regarding the latest update:

Is there any way to know where the 11 lines detected as C language come from?

More important, the repository contains a bunch of XML files with unusual file extensions (.qet, .elmt, .titleblock): is there any way to count these as XML contributions?

Thanks in advance.

xavierg over 13 years ago
 

xavierg,

I just tried it locally and turns out that the file, sources/titleblock/dimension.h is being detected as a C file. This seems to be a bug in Ohloh's language detector / line counter. We'll look into it.

By the way, the language detector / line counter, ohcount, is open source - https://github.com/blackducksw/ohcount. If you wanted to give it a try, it compiles to a Linux binary that can be run stand-alone.

On your second question, are these extensions well-known? We don't want to add file extensions as a certain language if they are not well-known.

Thanks,
Abhay

Abhay Mujumdar over 13 years ago
 

Hello Abhay,

The .h file you mention could indeed look like pure C if it were not using namespaces and default arguments.

The extensions I provided are not well-known, they're specific to the QElectroTech project and I do not expect you to add them to ohcount. I was wondering whether there is some kind of heuristic beyond filename analysis. I'll check the ohcount code later, but I guess the lack of XML declaration could be an explanation.

Thanks for your help.

xavierg over 13 years ago