Skip to content

fix: stop fetching each listed GitHub repository again - #54

Merged
bfabio merged 1 commit into
fix/optional-github-tokenfrom
perf/reuse-github-org-listing
Nov 13, 2026
Merged

bfabio merged 1 commit into
fix/optional-github-tokenfrom
perf/reuse-github-org-listing

Conversation

@bfabio

@bfabio bfabio commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Scanning a GitHub organization called Repositories.Get on every listed
repository to read fields that ListByOrg already returns. A publisher
with N repositories cost N extra requests, so large organizations hit
the rate limit sooner.

Pass the listed repository to the publiccode.yml lookup and ask for
100 repositories per page instead of the default 30. A rate limit on
the publiccode.yml request now retries that request alone, instead of
starting over from Repositories.Get.

Scanning a GitHub organization called Repositories.Get on every listed
repository to read fields that ListByOrg already returns. A publisher
with N repositories cost N extra requests, so large organizations hit
the rate limit sooner.

Pass the listed repository to the publiccode.yml lookup and ask for
100 repositories per page instead of the default 30. A rate limit on
the publiccode.yml request now retries that request alone, instead of
starting over from Repositories.Get.
@bfabio
bfabio added this pull request to stack #56 November 13, 2026 15:28
@bfabio
bfabio merged commit 6160680 into main Nov 13, 2026
7 checks passed
@bfabio
bfabio deleted the perf/reuse-github-org-listing branch November 13, 2026 16:36
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.

1 participant