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

Data Carpentry Site fails to build #820

Closed
bkmgit opened this issue Apr 9, 2024 · 1 comment
Closed

Data Carpentry Site fails to build #820

bkmgit opened this issue Apr 9, 2024 · 1 comment

Comments

@bkmgit
Copy link
Contributor

bkmgit commented Apr 9, 2024

When creating https://github.com/bkmgit/2024-05-06-uci-nnlm-online/tree/gh-pages the site fails to build during the Build with Jekyll step. Error message from log

Liquid Exception: GET https://api.github.com/repos/bkmgit/sched_ext/contributors?per_page=100: 403 - The history or contributor list is too large to list contributors for this repository via the API. // See: https://docs.github.com/rest/repos/repos#list-repository-contributors in /_layouts/base.html
/usr/local/bundle/gems/octokit-4.25.1/lib/octokit/response/raise_error.rb:14:in `on_complete': GET https://api.github.com/repos/bkmgit/sched_ext/contributors?per_page=100: 403 - The history or contributor list is too large to list contributors for this repository via the API. // See: https://docs.github.com/rest/repos/repos#list-repository-contributors (Octokit::Forbidden)
@bkmgit
Copy link
Contributor Author

bkmgit commented Apr 9, 2024

The problem is specific to me, the build process gets metadata from all user repositories on GitHub associated with the hosting account, not just the the main repository. The sched_ext repository causes the build process to fail as it has very many contributors. Once deleted my fork of sched_ext, build process completed. Following the api documentation it is possible to reproduce the error using:

$ curl -L \
> -H "Accept: application/vnd.github+json" \
> -H "X-GitHub-Api-Version: 2022-11-28" \
> https://api.github.com/repos/sched_ext/sched_ext/contributors

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

No branches or pull requests

1 participant