Open nmdias opened 7 years ago
Published version 6.0.2 now, but with no luck it seems.
We're facing the same problem with https://cocoapods.org/pods/SwifterSwift Not only with tests, but website is not showing neither README nor CHANGELOG!
@omaralbeik I'm having the same problem where both the README and CHANGELOG have disappeared: https://cocoapods.org/pods/Blockly I see that your repo has been fixed -- could you share how you fixed it?
@vicng First I tried api.cocoadocs.org:4567/redeploy/SwifterSwift/3.0.0
, which didn't change anything for a few days, then suddenly after v3.1.0
release yesterday I saw the page was working!
I'm not sure was it because of the URL call, the new release or someone at cocoapods took care of it 😅
Same problem with https://cocoapods.org/pods/Siesta as well. The new version has only modest changes from the old one, which I'm pretty sure did show as tested. If that memory is correct, then this is a regression introduced since Mar 28.
@orta / other project maintainers: Where in the code does that “Tests ✗” in the right margin come from?
I dug into the code, but had trouble figuring it out. At first I thought I’d discovered it in testing_idealist.rb. However, that class is recognizing Siesta’s tests correctly. We can verify that it’s working even on the live site because it’s used to generate this image, which says “Great Tests” even while Siesta’s pod page has the dreaded ✗ next to Tests.
If anyone can point me in the right direction, I'll try to diagnose.
Well, after more digging:
testing_idealist
is the only source of a test count in the whole CocoaPods/Docs universe.File.read file_path, encoding: 'binary'
on the line linked above), which is perfectly fine since that part of the code is only looking for ASCII patterns and can safely just ignore all the funny bytes. But since I can’t seem to reproduce the problem, I can’t test that fix…. 😠@pcantrell try running your tests with an old ruby version, since my guess is what's running on the server is not 2.4.1 and might have a different version of icu and thus handle unicode text differently
I tried my local tests with both 2.1.3 and 2.3.1 (the versions that appear in the .ruby-version
files in possibly relevant Strata projects). This is my test:
require_relative 'cocoadocs'
t = TestingIdealist.new
t.download_location = 'local/path/to/siesta/'
t.testimate
…and it gives nonzero output with both those old versions of ruby. Could there be an OS difference? I'm running these on a Mac; is the production version of cocoadocs.org generated on Linux perhaps?
Report
Pod page not recognizing Swift Framework as
Tested
.I had a
Tests
folder, and moved tests into aTests/FeedKitTests
folder. And the issue appeared when I published version 6.0.0 of the framework.I have then moved the tests back from
Tests/FeedKitTests
to theTests
folder. I also updated my Package.swift to exclude theTests
folder.Published version 6.0.1 and the issue still occurs.
What did you do?
Run
pod trunk push FeedKit.podspec
What did you expect to happen?
Pod to be identified as
Tested
in the https://cocoapods.org/pods/FeedKit pageWhat happened instead?
Pod is identified as not being tested
CocoaPods Environment
Stack
Installation Source
Plugins
Project that demonstrates the issue
The FeedKit repo, as is.