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

Better support private repos for organizations #82

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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