CocoaPods/metrics.cocoapods.org

Reset e.g. not_found counter for pod when pod gets updated.

floere opened this issue · 1 comments

The code would need to be in the inbound webhook action.
https://github.com/CocoaPods/metrics.cocoapods.org/blob/master/app/controller.rb#L32-L40

At this point, I am considering to add pod ("pod":"KFData"), version ("version":"1.0.2"), and commit ("commit":"<some sha>") to the trunk webhook so this would be much easier and straightforward. (Currently one would have to extract the data_url, then load the data, and e.g. get the pod name from there)

Added webhook data, and done.