Open cjb873 opened 11 months ago
Thanks for the ticket, you beat me to it. Here's an example of a package where it seems to fail: https://github.com/corelight/zeek-community-id
This package returns 200 for HTTP requests to both README.md and README. All of the actual content is stored within README, not README.md. Since we try README.md first and it does return 200, we are currently using the content for that. I'll figure something out to fix this issue.
You're right, I'm seeing this too. Looks like at the HTTP level the fact that README.md is a symlink to README gets lost (that's why the content just says "README" — funny). You could try some heuristics, or perhaps the Github API lets you spot the difference and it's time to use that if you're not already doing so.
Thanks for looking into it.
Some readme files are not being properly downloaded