-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Membership Reporting Tool #874
Comments
One quick question is is Github API is enough to get all the information? |
Yes, but not necessarily directly. For example, getting PRs reviewed by someone who is not the "reviewer" or "assignee" in the gh usage of the word is not directly available. |
That'll be great if we have such tools! Will this be the official records? Someone uses http://stackalytics.com, which count by commit instead of PR and use email instead of gh. |
+1 cool! This tool will be a web thing, right? We may provide a script in K/community at first step. I'm imagining this script can generate the report. Contributors can run some command like |
I'm not sure what official records means here, but I think we can use it to help out with the contributor ladder.
If web thing means dashboard, that sounds ideal to me. I'm hoping to not build something new but rather to integrate with one the tools from ContribX (Sapho, Velodrome) that already pulls data from Gh. |
Yeah. Agreed. |
That sounds good. Does the tool work now? |
This is a feature request. If you'd like to work on this please self-assign and reach out to ContribX or me for help getting started. |
@grodrigues3 If no one is working on this, I'd like to do so! I had recently written a similar tool for generating the following list, taking the organization and contributor's github handle as the input.
(It was not for applying for the membership but for my Google Summer of Code project report). Here is the output it generates: https://github.com/nikhita/gsoc-meta-k8s#pull-requests-and-issues and this is the code: https://github.com/nikhita/github-contrib. I can work to create something more suitable for kubernetes like One question:
@grodrigues3 I am not sure I follow this. What is the other "meaning" of a reviewer, if not in the GH usage of the word? |
@nikhita awesome, yes we'd love the help.
Github ACLs don't allow someone who is not a collaborator or in the org to be assigned to issues or PRs. However, they can still comment (like you just did on this issue) and give feedback. I think those people should be credited with PR reviews even though they are not listed as the assignee or reviewer on the PR itself. In other words, if they wrote comments but they are not assigned to the PR, we should still consider that as code review. |
Oh, the Github API already supports this! :) However, the reviewed-PR list also takes into account the PRs that were authored by the contributor. (Do we want to show this as well? IMHO it's counter-intuitive to say that someone reviewed their own PR). But this is not really a problem and can be solved using another API call (I do that in my code). Example:
Please let me know if I'm missing something here. |
Yeah, we should filter this. More than likely they are just responding to other people's comments :)
Nope, I think you have a pretty good handle of this. Let me know if you get stuck at all. |
See also kubernetes-retired/contrib#1029 |
@bgrant0607 I've tried @nikhita 's tool and it's awesome, +1 for this contribute! |
So the tool does quite a bit of the work for us, but it still seems like a pull-not-push interface. Meaning I need to look up individual contributors. Instead, I'd like something that always displayed contributors that should be up for ladder promotion or infrequently alerted a list or the user that they should self-nominate. The project is too large for any one person to regularly identify who should be moving up the contrib ladder. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/lifecycle frozen |
/remove-lifecycle stale |
Closing this because it was decided in kubernetes/org#10 that we don't need this now. We can revisit it, if needed. /close |
@nikhita: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@spiffxp
Lots of people ask about membership and it'd be nice to have a consistent report (to send the kubernetes-membership@googlegroups.com ) to demonstrate justification for promotion up the contributor ladder.
I'm imagining something where you could type in your gh handle, and it'd automatically generate a list of the PRs you authored across repos, issues you've opened and closed, and PRs you've reviewed. WDYT?
This is aligned with the contribx q3 OKR:
@kubernetes/sig-contributor-experience-feature-requests
The text was updated successfully, but these errors were encountered: