CocoaPods / cocoapods.org

That website https://cocoapods.org/ - pretty useful
53 stars 47 forks source link

My author page does not reference all my pods #222

Closed yannickl closed 8 years ago

yannickl commented 8 years ago

Hi there,

I don't know why but my cocoapods author page does not reference my DynamicButton pod.

The Maintained by link redirects correctly to my author page but the DynamicButton is not available.

Thank you for the great work! :+1:

yannickl commented 8 years ago

I have the same issue with my new Splitflat pod.

orta commented 8 years ago

I'm willing to bet this is because there's not GitHubs generated yet http://metrics.cocoapods.org/api/v1/pods/Splitflap - we should not predicate showing a pod on this, likely this line of code in app.rb:

    all_dbs = metrics.join(:stats_metrics).on(:id => :pod_id)
yannickl commented 8 years ago

Indeed the 2 pods that are not related to my profile have a nil stats value. However today the github stats are ready.

So the problem comes from the join between the github stats and the cocoapods stats when one of both are nil.

orta commented 8 years ago

interesting, thanks, I'll see if I can get to it on the weekend if not anyone else is welcome to take a look.

orta commented 8 years ago

https://github.com/CocoaPods/stats.cocoapods.org/pull/13 may have fix this, now every pod should have a row.

yannickl commented 8 years ago

Yes everything seems to work. Thank you! :+1: