-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Post onboarding information for new contributors' first PR #3083
Comments
How do we know if it is their first PR? Might make for an interesting |
I think the most workable solution right now is to make sure the default PR text points you to the contributor guide (which I think it already does now?) AFAIK you can scrape GitHub for contributor data but there isn't a great way to check per user. |
Independently of detecting new contributors it may be useful to detect PRs to the wrong branch, PRs with excessive numbers of commits to the master branch, and other obvious mistakes. |
PR Linter? I like it |
Great idea! |
/area prow |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
I don't think there's API access to this yet but they're definitely tracking first time contributors in the GitHub web interface now. |
/sig contributor-experience |
This came up again in #sig-contribex slack today, I think we could do this if we:
If the number of results is exactly one and there are no other pages, it's a new contributor. This would cost one extra token for every opened PR, which should definitely be very manageable on a dedicated account (it might even be manageable on the existing accounts?). Ex for @nikhita's PRs in test-infra (currently 12): |
/assign |
That's weird because I only have 11 PRs in test-infra. All of them have been merged and none is open right now: https://github.com/kubernetes/test-infra/pulls?q=is%3Apr+author%3Anikhita+is%3Aclosed. |
Ah, there's a typo in that, there shouldn't be a space after |
/remove-help |
Implemented in #8643 |
@stevekuznetsov: 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. |
/reopen |
@BenTheElder: Reopening 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. |
#9227 to enable testing this on test-infra |
#9231 did not work, I think |
filed a fix #9232 |
can confirm that this works now #9350 (comment) |
What's keeping this open at this point? |
Seems like it's done. I'm okay to close it. @BenTheElder any other concerns ? Feel free to close it if needed. |
We still need to actually post onboarding info. The tooling works but the words need smithing :+) |
@BenTheElder is the plugin deployed in k/website? I don't see the onboarding info in kubernetes/website#10712 |
@xiangpengzhao Nope, only test-infra. Lines 207 to 210 in c4ad32d
|
Thanks @nikhita ! |
poke! this plugin seems to be working pretty well where it is deployed, we just need to do #9367 (comment) and then roll it out more widely |
this is basically done? it might be rolled out more at some point, but the tooling is there and enabled for some repos at least. |
Yup. Thanks Ben and Guin! :) /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. |
FWIW last I saw still it was still not enabled generally.
…On Mon, Apr 15, 2019, 08:08 Kubernetes Prow Robot ***@***.***> wrote:
@nikhita <https://github.com/nikhita>: Closing this issue.
In response to this
<#3083 (comment)>
:
this is basically done?
Yup. Thanks Ben and Guin! :)
/close
Instructions for interacting with me using PR comments are available here
<https://git.k8s.io/community/contributors/guide/pull-requests.md>. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
<https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:>
repository.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3083 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA4Bq3VYfUCOhXfXt879mK05XLLjbl1Dks5vhJXagaJpZM4N7_va>
.
|
/reopen |
@nikhita: Reopened 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. |
Will follow up on this next week |
Thought so too....but turns out it is :P Lines 287 to 294 in b23cfa0
|
/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. |
There are so many PRs named
Release 1.6
which are created by new contributors.kubernetes/kubernetes#47418
kubernetes/kubernetes#46616
kubernetes/kubernetes#45470
kubernetes/kubernetes#45396
kubernetes/kubernetes#45205
kubernetes/kubernetes#44823
kubernetes/kubernetes#44183
kubernetes/kubernetes#43733
kubernetes/kubernetes#43547
......
These PRs have the same name and the same info as below:
xx wants to merge xx commits into master from release-1.6
They're obviously created by some same mistake. The creator might haven't read the develop docs before they create the PR. They might not know where to find the docs.
We'd better let bot post some onboarding information when it detects a PR is created by a new contributor. So that they can know what's the correct process to create a PR. This will help them not make mistake next time whether their first process is correct or not.
xref:
kubernetes-retired/contrib#1090
kubernetes/kubernetes#36596
/cc @bgrant0607 @ConnorDoyle @grodrigues3
The text was updated successfully, but these errors were encountered: