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
Is there a way too either return only org repos matching a regex or quickly returning all the repo names (and then doing the regex match as a separate step)? Currently I have only found this approach:
But that takes a prohibitively long time for large orgs due to it having to traverse all the repo end points in the API. I was hoping that there was a way to retrieve all the repo names with a single API call and then parsing that list before connecting only to the desired repos.
Running something like this from the command line is an order of magnitude faster, so I'm thinking there must be an end point in the API for getting all names directly (maybe this one?):
gh repo list org-name --json name --jq '.[].name' -L 99999
The text was updated successfully, but these errors were encountered:
Is there a way too either return only org repos matching a regex or quickly returning all the repo names (and then doing the regex match as a separate step)? Currently I have only found this approach:
But that takes a prohibitively long time for large orgs due to it having to traverse all the repo end points in the API. I was hoping that there was a way to retrieve all the repo names with a single API call and then parsing that list before connecting only to the desired repos.
Running something like this from the command line is an order of magnitude faster, so I'm thinking there must be an end point in the API for getting all names directly (maybe this one?):
The text was updated successfully, but these errors were encountered: