help: vendor branches in trunk are counted

Avatar

Snowcrash

3 months ago

Hi

I just registered my project, which is about 4 weeks old, but the line counter tool claims that I have 17 man years of work in the repo.

I'm good, but not that good, I guess it is because I have some vendor branches and other third party stuff in my trunk.

I'd like to have a more accurate reading, but I can only register repo's with "trunk" in the ending, and I cannot seem to find a way to exclude certain parts of the trunk.

Is there a way to solve this, without re-organizing my repo structure?


Avatar

Robin Luckey

3 months ago

Hi Snowcrash,

Unfortunately, this is not currently possible. Ohloh counts everything it finds, and there's no way to selectively hide sections of code.

It's not mandatory that you enlist only the trunk directory. You can specify other directories if you prefer. We just don't want anyone enlisting the tags directory or large numbers of branches unintentionally.

One possible workaround would be to remove the trunk directory from Ohloh, and instead supply Ohloh with the individual trunk subdirectories you are interested in. If there are many such subdirectories, this might not be practical, and it may lead to duplicated commits if certain commits touch more than one subdirectory. However, if it's just one or two subdirectories you'd like to have tracked, this might work well for you.

This is a very common problem/feature request on Ohloh, so you're not alone, but I have to admit it will probably be quite a while before we can implement features to handle this scenario.


Avatar

Snowcrash

3 months ago

Hi Robin

Thank you for your reply, I did in fact try to: 1) De-register the repo 2) re-register the relevant folders, there is only two

but I got an error message when trying to do so, and from the error message I concluded that it was because the path didn't end with "/trunk"


Avatar

Robin Luckey

3 months ago

Ahh, OK. Let me know the project name and the URLs you would like registered, and I'll take a look and see what the problem is.


Avatar

Snowcrash

3 months ago

http://snowcrash.svn.sourceforge.net/viewvc/snowcrash/trunk/

is the trunk of the project, but: http://snowcrash.svn.sourceforge.net/viewvc/snowcrash/trunk/Snowcrash/

and http://snowcrash.svn.sourceforge.net/viewvc/snowcrash/trunk/Test/

contains 99% of the work effort, so if they were registered the count would be a lot more accurate