Skip to content

Conversation

ryansb
Copy link

@ryansb ryansb commented Jan 2, 2024

Using https://api.github.com/users/{SOMEONE}/repos endpoint does not seem to return private repos for an organization. In this PR, I added a --org option to match the one on the pull-requests command and allow collecting private repos.

This differs from #76 in that it does not require all targets to be orgs or users.

Usage:

github-to-sqlite repos github.db user1 user2 --org org1 --org org2

Using `https://api.github.com/users/{SOMEONE}/repos` endpoint does not
seem to return private repos for an organization. In this PR, I added a
`--org` option to match the one on the pull-requests command and allow
collecting private repos.
@DonDebonair
Copy link

I would love this to be merged. I was hoping to use github-to-sqlite to analyze activity on repos across a Github organization. That is currently not possible

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.

2 participants