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

Syncs failing because of new GitHub limits ?? #534

Open
jeroen opened this issue Nov 25, 2024 · 2 comments
Open

Syncs failing because of new GitHub limits ?? #534

jeroen opened this issue Nov 25, 2024 · 2 comments

Comments

@jeroen
Copy link
Member

jeroen commented Nov 25, 2024

It looks like GitHub has started blocking git remote ls commands after +/- 5000 calls in a short span.

For now his only affects the CRAN sync it seems: https://github.com/r-universe/cran/actions/runs/12010931924/job/33478835990

jeroen added a commit to r-universe-org/sync that referenced this issue Nov 25, 2024
jeroen added a commit to r-universe-org/sync that referenced this issue Nov 25, 2024
jeroen added a commit to r-universe-org/sync that referenced this issue Nov 25, 2024
jeroen added a commit to r-universe-org/sync that referenced this issue Nov 25, 2024
jeroen added a commit to r-universe-org/sync that referenced this issue Nov 25, 2024
jeroen added a commit to r-universe-org/sync that referenced this issue Nov 25, 2024
@jeroen
Copy link
Member Author

jeroen commented Nov 25, 2024

Updated it to do it in batches of max 1000 and then wait for 60 seconds in between. Let's see if that is more stable...

This should only affect cran and bioc universes which are the only ones bigger than 1000.

jeroen added a commit to r-universe-org/sync that referenced this issue Nov 25, 2024
@jeroen
Copy link
Member Author

jeroen commented Nov 25, 2024

I think passing the Authorization header has made github happy: r-universe-org/sync@499bc20

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