Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Detect most active GCI repo for each org #165

Open
jayvdb opened this issue Oct 28, 2018 · 6 comments
Open

Detect most active GCI repo for each org #165

jayvdb opened this issue Oct 28, 2018 · 6 comments

Comments

@jayvdb
Copy link
Member

jayvdb commented Oct 28, 2018

Like #164 ...

Im not sure how to get it using open data methodology , but lets try... ;)

@li-boxuan
Copy link
Member

A possible approach:

Fetch all GCI tasks
Fetch task description, one by one
Use regex to match GitHub/GitLab repo in the task description

API needed is on https://developers.google.com/open-source/gci/resources/downloads/TaskAPISpec.pdf

@andrewda
Copy link
Member

I'm not positive on this one, but I don't think you're able to get task descriptions from other orgs using that API? So that would work for getting our most active GCI repo, but not the most active repo for other orgs.

@li-boxuan
Copy link
Member

li-boxuan commented Oct 29, 2018

I'm not positive on this one, but I don't think you're able to get task descriptions from other orgs using that API?

Oh really, I didn't know that. People can see tasks from any org on gci website, so I assumed we could get task descriptions using API.

@andrewda
Copy link
Member

That's true, maybe that's the case. The API just it's very well documented and it didn't look like they gave you the organization_name field on most of the requests...

@jayvdb
Copy link
Member Author

jayvdb commented Oct 29, 2018

Ya the API only gives data about one org, so not useful.

There are some hacks around to log in as a student, using oauth, and then you can see all tasks from all orgs.

But all tasks from all orgs are are available to all mentors from any org, but only if you know the URL.

@jayvdb
Copy link
Member Author

jayvdb commented Oct 29, 2018

As a first attempt at this, we could just sort the repos in each github org.

The scraper can not access github dashboards for orgs that it is not a member of.

We could try to get waffle stats out of orgs which have enabled that, e.g. https://waffle.io/coala/coala-bears/metrics/throughput

Ahhhh ... #166 will give us a window into this information.

# for free to join this conversation on GitHub. Already have an account? # to comment
Development

No branches or pull requests

4 participants