You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, obtaining details about all repositories in an organization requires either
using github_organization providing the names of the repositories, then using github_repository to fetch details for all of them or
using github_repositories to use GitHub's search feature to fetch repositories.
Unfortunately, option (1) is prohibitively slow for large organization as at least one network request is sent for each github_repository while option (2) does not work at all for repositories with more than 1000 repositories.
Luckily, the GitHub API provides an endpoint to obtain details about all repositories in an organization, namely /orgs/{org}/repos. Unfortunately, this endpoint is not yet exposed in the Terraform provider. To remedy this, one might want to introduce a new github_organization_repositories data source.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the need
Currently, obtaining details about all repositories in an organization requires either
github_organization
providing the names of the repositories, then usinggithub_repository
to fetch details for all of them orgithub_repositories
to use GitHub's search feature to fetch repositories.Unfortunately, option (1) is prohibitively slow for large organization as at least one network request is sent for each
github_repository
while option (2) does not work at all for repositories with more than 1000 repositories.Luckily, the GitHub API provides an endpoint to obtain details about all repositories in an organization, namely
/orgs/{org}/repos
. Unfortunately, this endpoint is not yet exposed in the Terraform provider. To remedy this, one might want to introduce a newgithub_organization_repositories
data source.SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: