History vs. Codebase - a suggestion

Avatar

David Zülke

over 3 years ago

Hi folks,

as we all know, a lot of projects have incorrect activity ratings because they develop primarily in branches, for instance. But if a whole repository is added, the codebase analysis will be totally wrong, as the same code is counted multiple times. This affects Agavi ( http://www.ohloh.net/projects/5907 ), for instance, where for months development has been done in a branch, and a lot of contributors aren't listed or listed incorrectly due to measurements being pulled from trunk.

So what about splitting up the two? Let people define one or more repositories that are used to measure activity, show commit history etc, and one path in one repository that is used to analyze the codebase, LOC, total cost etc.

Does that sound reasonable?

Oh and maybe give the ability to exclude parts of the project from the codebase analysis, so third-party stuff does not get taken into account. But if you add that feature, give projects that do so a "badge of honesty" or so ;)


Avatar

Veikko Mäkinen

over 2 years ago

+1 for branches

-veikko


Avatar

Gaz Davidson

over 2 years ago

I think the coolest solution would be to to be able to go through the directory structure and mark subdirs as a branch, release, or part of another project.


Avatar

Mike Seth

over 2 years ago

Yeah, unfortunately ohloh isn't friendly to projects who primarily develop in branches (read: serious projects)


Avatar

Michael Gebetsroither

over 2 years ago

branches have nothing to do with subdirs, thats only the branch-emulation from svn/cvs


Avatar

David Zülke

over 2 years ago

Any news here? Ohloh team?

I'd really love to hear some feedback on this. Such a functionality is now getting really important as you added the project comparison tool recently. But the comparison simply is not fair as it does not measure activity or contributor count correctly.

Please with a cherry on top at least tell us you're considering it, or if not, why not.

Thanks a lot for an otherwise cool service.

-David


Avatar

Noah Fontes

over 2 years ago

+1 for branching support for sure. This would be an excellent feature.


Avatar

Robin Luckey

over 2 years ago

Yes, we are absolutely working on this.

There is a lot of technical work happening on the back end right now to make our source code storage more flexible. This should make it possible for us to store not just Subversion branches but also additional source control systems like Mercurial. We've had plans for this for quite a while, but the scale of our operations has grown rapidly, keeping us very busy. There's a lot of source code on our servers. :-)

As David proposes, it seems likely that we would create LOC and cost reports based on a select few chosen branches. These reports are pretty intense for us, and to create one for every possible branch is probably not feasible. However, it does seem reasonable that we should finally be able to follow all commits in all branches, so that every code change by every developer could be presented.

The 'ignore these directories' feature is another oldie-but-goodie that we've wanted to implement for a long time but just haven't had the time. Technically I don't think it's too difficult, but it's lower priority.

Robin