CocoaPods / cocoapods.org

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

Reopening Issue #345 #410

Open RiftValleySoftware opened 5 years ago

RiftValleySoftware commented 5 years ago

This seems to be a repeat of https://github.com/CocoaPods/cocoapods.org/issues/345

I created a new pod yesterday (RVS_Spinner), and the README is not updating properly.

Last year, when this happened, a temporary redeploy script URI was published that solved the issue, but that script is no longer available.

One thing that may have something to do with it, was that I switched my pod (RVS_Spinner) from one owner to another. Maybe that hosed it, as the new owner shows zero pods.

https://cocoapods.org/pods/RVS_Spinner

https://cocoapods.org/owners/40171

As a feature request, it sure would be great if we could update the README without having to trunk push an entire new version.

RiftValleySoftware commented 5 years ago

Hmm... This may be a cache. It looks like GitHub is displaying the same behavior.

The issue is with the images being displayed. What is shown are old versions. I know that my Webhost uses REALLY aggressive CDN caching. I am not closing the issue, although it may not be your problem, because of the feature request.

orta commented 5 years ago

GitHub caches the image per edit to your README, so you'd need to edit the readme and ship a build.

RiftValleySoftware commented 5 years ago

Not sure that's what's happening here. because I use the README in Jazzy, as well as GitHub and CocoaPods, I've found that I should use remote images.

They reach into my Jazzy docs, which I host here: https://riftvalleysoftware.com/RVS_Spinner/

If you scroll down, and look at the last image (the test harness screenshot), you will see that it is the newer version (width 320). However, the very same version in GH and CocoaPods shows the old version (width, like 480 or something). The text is current, but the images are not.

This could be the aggressive CDN caching from my hosting provider. It drives me nuts. It caches my CSS, so Web site changes are an absolute bitch to test. I have to keep switching browsers (the CDN fingerprints browsers).

It's likely that my CDN fingerprinted the GH server, and is feeding old content to it. Since GH snapshots, it retains that image forever, even after the CDN cache clears, and I assume that CocoaPods uses GH as its source for the README.

I am gonna see if I can disable my CDN.

Are you saying that if I were to change the README in GitHub, then move the tag to point to the new version of the README, that CocoaPods would pick that up automatically?

RiftValleySoftware commented 5 years ago

It would be great to have a trunk push redeploy function that would simply flush the CocoaPods cache and rebuild the pod.

Also, note that my ID says I have no pods, yet the pod says it belongs to my ID. That looks like a bug.

lupatus commented 3 years ago

I have also the problem with README not updating correctly for AdColony pod