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

"How to do reviews and PRs" document needed #1514

Closed
castrojo opened this issue Dec 15, 2017 · 20 comments · Fixed by #4338
Closed

"How to do reviews and PRs" document needed #1514

castrojo opened this issue Dec 15, 2017 · 20 comments · Fixed by #4338
Assignees
Labels
area/contributor-guide Issues or PRs related to the contributor guide lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.
Milestone

Comments

@castrojo
Copy link
Member

Part of #1413

We have https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#best-practices-for-faster-reviews for the person submitting the reviews, but we are missing a document for people doing reviews. We need to collate some tips and tricks from reviewers from across the project.

@k8s-github-robot k8s-github-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Dec 15, 2017
@castrojo
Copy link
Member Author

/sig contributor-experience

@k8s-ci-robot k8s-ci-robot added the sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. label Dec 15, 2017
@k8s-github-robot k8s-github-robot removed the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Dec 15, 2017
@chrislovecnm
Copy link
Contributor

/assign @parispittman
/assign

@chrislovecnm
Copy link
Contributor

/cc @thockin

We talked about this Tim @ kubecon :) Dragging you into it kicking a screaming. NEED your help!!

/cc @justinsb

Since you are opinionated on PR reviews, need your help.

@tpepper
Copy link
Member

tpepper commented Dec 15, 2017

I like to use the docs like https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#best-practices-for-faster-reviews as a starting point for reviewers. The reviewer and reviewee docs should be symmetric.

A lot of the existing doc is around mechanical "how" parts. For the philosophical parts I like to refer people to http://sage.thesharps.us/2014/09/01/the-gentle-art-of-patch-review/ but some of this varies with project and the local k8s culture needs to be documented by local gurus.

I really like this https://www.youtube.com/watch?feature=player_embedded&v=fMeH7wqOwXA#! old talk on reviewer/approver/maintainer issues because it has a senior person describing their review process and workload. Reviewers need to be skeptical, have a broad view for technical debt and potential collateral damage. Has the change been sufficiently justified and tested? I also like that it comes from a time when that project was suddenly experiencing a huge spurt of growth (arm & arm64 and android drivers) and figuring out how to incentivize large out-of-tree code contributors to stay closer to upstream, which parallels @thockin's discussion about the kernel vs distro split concept.

@chrislovecnm
Copy link
Contributor

@castrojo
Copy link
Member Author

Notes from call with guin: this should live in community/contributor/guide/ and we should move and scrub the "best practices for faster reviews" so that the pair of docs are together.

@castrojo castrojo added the area/contributor-guide Issues or PRs related to the contributor guide label Jan 19, 2018
@parispittman
Copy link
Contributor

parispittman commented Jan 20, 2018

Created this doc - appreciate collaboration. This will be used as a resource when mentoring new reviewers.

"Code Reviews the Kuberetes Way"

@castrojo @guineveresaenger

@tpepper
Copy link
Member

tpepper commented Jan 25, 2018

I've dropped some related doc links in the google doc.

@castrojo
Copy link
Member Author

More reference material to check out: https://github.com/kubernetes/charts/blob/master/REVIEW_GUIDELINES.md

@castrojo
Copy link
Member Author

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 23, 2018
@guineveresaenger
Copy link
Contributor

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 23, 2018
@guineveresaenger
Copy link
Contributor

Current status summary of this issue:

  1. There is some material in Move assigned reviewers snippet from collab.md somewhere else. #1645 that should go into the reviewer guidelines
  2. A good location for this is either a new subsection of https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md
    or quite possibly a doc of its own, in the spirit of https://github.com/kubernetes/community/blob/master/contributors/devel/collab.md but it should live in contributors/guide not contributors/devel.
  3. https://github.com/kubernetes/community/blob/master/contributors/devel/collab.md needs to be moved and possibly renamed or sunsetted - the goal should be that it's in a logical, easy to find place, with a comprehensive title ("Code Review The Kubernetes Way" being a top contender).

@guineveresaenger
Copy link
Contributor

/help

@k8s-ci-robot k8s-ci-robot added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jun 14, 2018
@guineveresaenger
Copy link
Contributor

/remove-help

Apologies, this should be done by an experienced contributor.

@k8s-ci-robot k8s-ci-robot removed the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jun 14, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 12, 2018
@nikhita
Copy link
Member

nikhita commented Sep 13, 2018

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 13, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 12, 2018
@idealhack
Copy link
Member

/remove-lifecycle stale
/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Dec 15, 2018
@vishakhanihore
Copy link
Contributor

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/contributor-guide Issues or PRs related to the contributor guide lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.
Projects
None yet
Development

Successfully merging a pull request may close this issue.