Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Update memorycache for tarballs #473

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

raghavkaul
Copy link

Update condition to not cache tarballs. Scorecard requests tarball with api.github.com URLs that end with tarball/ (See tarball.go).

Although those URLs 302 redirect to codeload.github.com URLs as the comment says, the api.github.com URL is what the HttpClient sees.

Addresses #381.

Signed-off-by: Raghav Kaul <[email protected]>
@jeffmendoza jeffmendoza merged commit 2ec2dca into ossf:main Nov 21, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants