-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Limit data collection to public organizations/groups #481
Comments
cc @simkim |
You'll still need a public token for GitLab as the api doesn't allow read access even for public data without a token, unlike gitea and github |
Right now repos will try to crawl a whole forge, and if it's given a token that can see private repos I suspect it may find some, although I've not tested that, we can definitely add a check to reject repositories that are have a private flag. Groups/orgs are called "owners" in the repos service. |
Good to know, thanks.
Yes, that will be useful.
Are you sure? This script collects metadata from GitLab instances without the need for a token. Or maybe I misunderstand what is the token needed for exactly? |
I'm not 100% on that, will need to double check, but I remember some GitLab API endpoints needing a token, I can't recall which ones though, it was a little while ago that I set that up. |
Okay, thanks. Because we want to crawl a lot for GitLab forges and because obtaining/renewing tokens can be a chore, we would love to have an option to crawl GitLab forges without tokens, even if it means that we don't get all the data we have when crawling with a token. |
fully agree on the usefullness to ignore repo flagged as private. |
PR to ignore private repos over here: #492 |
I've merged #492 now |
https://code.gouv.fr/public/#/repos collects data from repositories of public GitHub organizations and public GitLab groups.
My understanding is that https://repos.ecosyste.ms collects data from all groups, public and private.
Can we configure
repos
so that it only considers public groups?If so, can we spare the need for (GitLab) tokens?
Upvote & Fund
The text was updated successfully, but these errors were encountered: