Forums : Ohloh API Discussion

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]

Sort & stack_count_reverse

When I pass the stack_count_reverse as sort option, API returns a failed response with error message:
An unknown application error occured.

The other endpoints (I mean except projects.xml which accepts sort) are all fine, and projects.xml works fine too with other parameters or even other sort options (e.g, createdat or createdatreverse), but only fails with stackcount_reverse.

Amir Mohammad S... about 17 years ago
 

Hi Amir,

Thanks for reporting this. We did make some changes to our sorting system. I've posted a bug and will try to get it fixed in the next day or two.

Thanks,
Robin

Robin Luckey about 17 years ago
 

Fixed.

Robin Luckey about 17 years ago
 

Hi Robin,

Thanks for the quick fix.
I like to mention something, prior then your fix the reverse stack count was used to return the projects sorted by popularity (e.g, Firefox, Subversion, Apache ...), but now stack count returns project this way, though I'm not sure if this change is intentional or not, I'd like warn of a potential bc break (yeah I know what beta means :)

Amir Mohammad S... about 17 years ago
 

Ugh. OK, it looks like I got the sorts backwards by mistake.

I'm going to change it to the way it used to be: reverse means big numbers first, small numbers last.

Sorry for the confusion; I hope I'm not causing mayhem. I'll get the fix in right now.

Robin Luckey about 17 years ago
 

Great,

Thanks for support Robin.

Amir Mohammad S... about 17 years ago