Forums : Ohloh General Discussion

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]

commit counts do not count branches

I was working with 2 of my developers on a feature of NDjango project. We were working in a branch. Now the code is merged back into trunk.

As recommended I only enlisted the repository trunk therefore I did not expect my commits to count. But now all my commits are in the trunk.

I wonder all these changes to the trunk - are they counted against the person running the merge or they are not counted at all? They are certainly not counted in my commit timeline.

P.S. The source control repository is subversion

Michael Feingold over 14 years ago
 

Hi Michael,

Unfortunately, Subversion does not track the original author when commits are merged from a branch into the trunk. As a result, your work will be credited to the person running the merge.

It is not absolutely required to add only the trunk to Ohloh. If your situation warrants, you can also add other branches to Ohloh. However, Ohloh will not be able to eliminate duplicate commits. If the Subversion log for your branch and the Subversion log for the trunk both show some of the same commits, then these commits will be duplicated on Ohloh.

Let me know if you have any other questions,
Robin

Robin Luckey over 14 years ago
 

Hi Robin

Well I am not sure how to address this issue. Enlisting the branch is not possible - it is removed because after merge back to the trunk it is no longer usable.

BTW speaking of subversion tracking the original author - guess what - it does. If you run svn log command on the trunk with -g switch the log will also inlcude the merged - in messages

Michael Feingold over 14 years ago
 

Would a Git mirror of SVN work?

Tiki uses SVN, but we have this:
Tiki, Git-ified. Synced via SVN every hour, including branches and tags! This repository is just a mirror of the Tiki subversion repository. Thanks to sync2git (https://github.com/dpocock/sync2git) http://tiki.org
https://github.com/tikiorg/tiki

Thanks!

Marc Laporte almost 7 years ago