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.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]

Importing source code into database failed

Fluxbox's git import failed. Also noticeable is that the reported size of the source code seems to have about doubled since the last time I checked. Of course, maybe the counting algorithm has just changed on that count: {\*/\*,\*/\*/\*}.{cc,hh} | wc -l gives me 60278 on the current code base, which is roughly the number reported. Also, you don't seem to pick up the MIT license at the top of every file.

mark-t over 15 years ago
 

Take a look at
this

j over 15 years ago
 

I don't see anything obviously useful there. I'm not looking for an explanation. I'm just reporting the issue, since the enlistments page told me to. I'd like to see it fixed. If it already is, then say no more.

mark-t over 15 years ago
 

Hi Mark,

Our git importer has trouble with merges occasionally. I've done a manual pull and started a fresh count.

There have been some changes in our line counter since the last full recount of this project. Until March we didn't recognize *.cc and *.hh files at all, so it's likely that this project was severely undercounted until recently.

If you want to play around with our line counter locally, you can get the Ohcount sources here.

Finally, we're not picking up the MIT license because the code doesn't literally say MIT license anywhere. Our detector isn't smart enough to read the text and recognize the license; we pretty much just grep for key phrases.

The license detection is also part of the Ohcount software -- we accept patches :-).

Let me know if you have more questions,
Robin

Robin Luckey over 15 years ago
 

The git import failed again.

mark-t over 15 years ago
 

Hi Mark,

I've done a manual pull and restarted the job. I'll keep an eye on it today.

Robin Luckey over 15 years ago