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.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 [email protected]

Ohloh shows zero on everything

Hi,

I added a git repository to Ohloh (http://www.ohloh.net/projects/phoronixtestsuite/enlistments), but Ohloh says everything is empty. The branch it was supposed to get is origin/master, however Ohloh refused to accept that - but it did accept just the git url.

Is there any way to fix it up?

Vadim Peretokin about 17 years ago
 

Hmmm,

It looks like our local copy of the code is synced to branch trondheim-12, which I'm guessing must be the 'default' branch of the repository we cloned.

I'll get us switched over to master. I think the issue may be that our code wants you to specify simply master, not origin/master, but I have to admit I'm not 100% sure that's the issue yet. I'll investigate.

Robin Luckey about 17 years ago
 

Still didn't work unfortunately, ohloh finished the update but it's at zero still.

We got two branches as I understand, trondheim-12 which is a development right now 1.2 series, and origin/master, which is a 1.0 series. The git was messed up and it's defaulting to the 1.2 series atm, so to get the 1.0 series, you do git-checkout origin/master.

I'd like Ohloh to index the 1.0 series 'till the 1.2 one is out in the world.

Vadim Peretokin about 17 years ago
 

Yeah, there appear to be two separate problems here. First, we're enlisting in the wrong branch, and secondly, even though the branch we've cloned has code in it, we're still turning up zeros.

The two problems might be related; I'm not sure. I'm still working on it -- this one might take a while.

Thanks,
Robin

Robin Luckey about 17 years ago
 

Oh, and the instructions for getting 1.0 were:

http://www.phorogit.com/repo/phoronix-test-suite.git and then you need to switch to origin/master

Vadim Peretokin about 17 years ago
 

Okay thank you.

Vadim Peretokin about 17 years ago
 

Hi vadi,

I finally got to the bottom of this.

The problem was a stupid bug in our servers -- basically, we do the wrong thing in the specific case where you want to track origin/master but that branch is not the server default.

I deployed a fix, and the new report is running now. I'll keep an eye on it to make sure it completes properly.

Thanks,
Robin

Robin Luckey about 17 years ago
 

Thanks very much! Ohloh now reports everything perfectly.

Vadim Peretokin about 17 years ago