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]

Incorrect source code history

The analysis for the iPodLinux project seems to have some issues determining the source code history. A simple svn log on the specified enlistments shows that the code has been around since 2003, yet the report says otherwise. In addition, the code is well over the listed 2000 LoC, with a single included toolkit (/libs/ttk) summing up about 22000 LoC. Finally, the language analysis indicates that there is a large amount of C#, which isn't actually used in the project at all.

courtc over 16 years ago
 

After yet another update, the reported code base for the iPodLinux project remains at under 2000 LoC. I was hoping that this update would clear up some of the problems, but it doesn't seem to have retroactively updated the broken code history.

courtc over 16 years ago
 

Hi courtc,

There's a lot going on here, but I believe I've gotten to the bottom of it all.

First, the Ohloh Subversion importer cannot track history across branches. This includes actions like renaming or moving the trunk directory. You can see the effect of this limitation by passing the --stop-on-copy flag to the svn log command. In this case, there appears to have been a massive directory reorganization on 2007-08-28, which becomes the beginning of the Ohloh history. I'd really love to get this fixed.

Second, we are working on a new Subversion importer which is much faster than our old one, and this project revealed a bug in our new importer. The bug is now fixed, and the new report shows 226K+ lines of code, which I believe is correct.

Finally, the C# comes from the files with extension .cs, which appear to be some sort of CSS templating system I'm not familiar with. Our parser latches on to the .cs extension and simply assumes these are C# files. I'll post a bug about this.

Let me know if you have more questions or if anything seems out of place. Thanks for using our service,

Robin

Robin Luckey over 16 years ago
 

About history, because my chart stopped in January?
http://www.ohloh.net/projects/5566/analyses/latest

Bruno Braga over 16 years ago
 

Hi Bruno,

Can you be a bit more specific? According to the Subversion log, the j2eespider directory wasn't created until March 2007, and we appear to have all of the history correctly.

Robin Luckey over 16 years ago
 

I will divide my question on two questions:

1) Before using SVN I used CVS. But only includes the monitor of SVN in ohloh. If I include the CVS also (still online), the Ohloh will understand that is the same source or will count my files twice?

2) I thought that the chart was month on month. Now it is understood that year in year. For projects with little time (few years) would not be better show only the last 3 years, using more space to show the evolution in months?

thanks,

Bruno Braga over 16 years ago
 

?

Bruno Braga over 16 years ago