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

Feature: Improve CII-Best-Practices-Badge API access #1240

Closed
azeemshaikh38 opened this issue Nov 11, 2021 · 1 comment · Fixed by #1284
Closed

Feature: Improve CII-Best-Practices-Badge API access #1240

azeemshaikh38 opened this issue Nov 11, 2021 · 1 comment · Fixed by #1284
Assignees
Labels
kind/enhancement New feature or request

Comments

@azeemshaikh38
Copy link
Contributor

Scorecard check for CII-Best-Practices-Badge makes a single HTTP request per repo. With our current scale of 1M repos, the cron job constantly receives 429 errors and is also affecting the CII Best Practices servers. To remediate this, will use the page-based API to pre-download the data into Google Cloud and access this instead - https://github.com/coreinfrastructure/best-practices-badge/blob/main/doc/best_practices.py

@david-a-wheeler FYI.

@azeemshaikh38 azeemshaikh38 added the kind/enhancement New feature or request label Nov 11, 2021
@azeemshaikh38 azeemshaikh38 self-assigned this Nov 11, 2021
@david-a-wheeler
Copy link
Contributor

Thanks so much! I think this optimization will improve help both Scorecard & CII Best Practices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants