Skip to content

Add module: how to do PR reviews #11

@lindsayplatt

Description

@lindsayplatt

Right now, we briefly touch on what to expect from someone who is reviewing your PR (see the 8th step in the course) BUT we never really go into how to do one yourself. This is a critical skill. It might be a lot to squeeze into this course, so maybe it is an additional module at the end. I could see it starting out like this:

You are almost ready to be a Git project collaborator! Being a collaborator on a Git project will require you to contribute code and receive peer review (as you have done already in this course), but it will also require you to provide peer review of others' code. Let's talk about how to perform a PR review for a collaborator's code.

Consider diving into the mechanics, as well as, the concepts (this list needs to be checked for completeness):

  • High level check: skim all files. Are there any being checked in that shouldn't be? E.g. big data files, non-code?
  • Look at style, documentation, and comments. Are there things that are difficult to follow?
  • Test the code. Check the code out locally and actually verify that it works and does what it should. Sam Oliver suggested this handy post describing how to use usethis functions to aid in that review process if you are in R. This course is somewhat language agnostic, but might be worth mentioning this resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions