Dear Open Hub Users,
We’re excited to announce that we will be moving the Open Hub Forum to
https://community.blackduck.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
info@openhub.net
Hi.
I have some commits in a non master
git branch of the openswan
project -- I enlisted the git url. After the update completed there are 0 contributions. The project has been around for years and has thousands of commits... so maybe something else went wrong.
So my first question is: why does ohloh say there are no commits?
Second, does ohloh know about branches in Git repositories? The openswan project has 8 published.
git-ls-remote --heads http://git.openswan.org/public/scm/openswan.git | wc -l
8
Will commits that have not been merged into the maser
branch be counted also?
Anyway... Great work!
Cheers,
-Bart
Hi Bart,
This is strictly a branching issue. We never say this specifically on our web site, but we always look at 'master'.
We've found a few other Git repositories like yours which do not have a master branch.
Off the top of my head, I think it would be pretty straightfoward to allow Git users to specify which branch they'd like us to track. Everywhere that it matters to us, it's just an arbitrary string we pass to the git command line tools.
I'll take a look at this, and if it's pretty simple, maybe we can git this feature in soon.
Robin
Ok, first of all... WOW! I love the reply to topic
split screen widget. Nice.
As per the topic. I didn't even realize that we didn't have a master branch :)
The git repo was setup when cogito was still used, and some of the members still use it. So in cogito you would specify the branch name with git://repo/#branch.
Although if I was to suggest the syntax, a space followed by a branch name would be more natural.
BTW, I am speculating that the backend of ohloh is git... is that true?
Hi Bart,
OK, I've done a quick pass through the code and you can now specifiy a branch besides 'master'.
I've scheduled a new download of the Openswan 'public' branch. We'll see how it goes... these things always seem simple in principle, but the real world has a way of surprising us.
And yes, Ohloh currently uses Git for all back-end storage and operations. We convert CVS and Subversion repositories to Git. I love Git, even though it sometimes makes my head hurt.
That was a really quick turn around. I added another branch, it seems to have queued it up just fine.
Thanks.
Git is awesome! :)
-BArt
Robin,
it looks like the other branches got fetched. That's good.
I don't think the stats were updated based on the new commits. Since v3_0ocf includes the other branches, should I remove them, or will the stats get updated eventually?
TIA
-Bart