metrics.cocoapods.org icon indicating copy to clipboard operation
metrics.cocoapods.org copied to clipboard

Are the Metrics/Quality Indexes working?

Open pcsaito opened this issue 7 years ago • 3 comments

Report

What did you do?

Submitted a new Pod version.

What did you expect to happen?

The metrics get updated to the new version sent.

What happened instead?

All the metrics used for the quality index are frozen on the first version of the pod. This is misleading and turns all the quality index not trustful and favourable to old Pods with the metrics.

CocoaPods Environment

Stack

   CocoaPods : 1.5.3
        Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
    RubyGems : 2.5.2.3
        Host : Mac OS X 10.14 (18A365a)
       Xcode : 9.4.1 (9F2000)
         Git : git version 2.15.2 (Apple Git-101.1)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 35342599c4c53b5fa1930f5bee1ee810e4dcf4ac

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

cocoapods-deintegrate : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.0
cocoapods-try         : 1.1.0

Podfile

platform :ios, '10.0'
use_frameworks!

target 'FlowterTests' do
  pod 'KIF'
end

Project that demonstrates the issue

https://cocoapods.org/pods/Flowter https://cocoapods.org/pods/Flowter/quality

pcsaito avatar Aug 17 '18 18:08 pcsaito

Almost everything around quality metrics seems to be broken. I've nerver had any working stats since I published my pod in March or so.

  • Broken: https://cocoapods.org/pods/SwiftObserver/quality
  • Broken: https://cocoapods.org/pods/SwiftObserver
  • Broken: http://metrics.cocoapods.org/api/v1/pods/SwiftObserver
  • Broken: http://cocoadocs.org/docsets/SwiftObserver/5.0.1/stats.json
  • Broken: http://api.cocoadocs.org:4567/redeploy/SwiftObserver/latest

codeface-io avatar Dec 28 '18 22:12 codeface-io

Hey there, yeah - CocoaDocs was shut down in May 2017, and the replacement for it doesn't do quality indexes. So. I removed links to the quality overviews from the web front-end but not removed the API routes etc.

I don't have time for maintaining all these things anymore, and no-one else has taken the mantle.

I guess we should also just kill the GitHub stats from the front-end too, as that's also pretty much unmaintained and not keeping up to date (no-one else has looked at fixing it)

So, the GitHub stats looks broken, everything else is documented as not existing anymore

orta avatar Dec 29 '18 03:12 orta

@orta Thanks for taking the time to give some clarification! :)

That means that all stats should then be removed from the pod documentation pages on cocoapods.org, right? Otherwise they'd be kinda misleading and certainly not comparable ...

codeface-io avatar Dec 29 '18 10:12 codeface-io