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

Compile checklist of PR review steps and more clearly share responsibility for readying PRs #3563

Open
7 tasks
jywarren opened this issue Oct 2, 2018 · 33 comments
Labels

Comments

@jywarren
Copy link
Member

jywarren commented Oct 2, 2018

Looking to help check off pull request review steps and get the workflow more clear so we don't get backlogged and more people can help!

@publiclab/reviewers what are our steps?

  • add label has-pull-request to the issue having a pr
  • link to original issue
  • description in title
  • reviewed/approved by at least one reviewer
  • screenshot if applicable
  • passes tests

What else?

  • label as ready
@SidharthBansal
Copy link
Member

Please check modularity also.

@jywarren
Copy link
Member Author

jywarren commented Oct 2, 2018

Yes, so:

  • PR is (ideally) less than 50 lines of code & generally tries to implement only a single feature or fix
  • PR doesn't affect highly sensitive areas of the site such as header or top of dashboard or signup form without input from @publiclab/community-reps
  • Gemfile.lock, yarn.lock, and other unrelated files are not included (message below)

Hi, this is looking great, but would you mind removing the Gemfile.lock from your PR, as I think it's just a version tweak? https://stackoverflow.com/questions/215718/reset-or-revert-a-specific-file-to-a-specific-revision-using-git

How about these couple extra as well? Thanks!!!

@tech4GT
Copy link
Member

tech4GT commented Oct 2, 2018

@jywarren Awesome!! Lot's of nice things in this list!! How about these

  • Issue should be claimed before opening the pull request
  • Double check if it contains any feature that will be difficult to roll back(Possibly ask for review from other reviewers as well)

@grvsachdeva
Copy link
Member

We also have this step in summer:

  • label as review-me if review required from another reviewer

@jywarren
Copy link
Member Author

jywarren commented Oct 2, 2018 via email

@tech4GT
Copy link
Member

tech4GT commented Oct 3, 2018

@jywarren @SidharthBansal @gauravano I think we should have a project specific team, since not everyone on plots is familiar with Image sequencer and vice versa, apart from the standard reviewers team let's have specific project specific teams with deeper experience with that project, like plots-experts and IS-experts
What say?
Thanks!

@SidharthBansal
Copy link
Member

Instead of tagging we can direct Image sequencer to your review only. Leaflet to sagar's review only. Because no one else I assume have knowledge of those projects. After your review jeff can re- review them and merge them.
What you say?

@tech4GT
Copy link
Member

tech4GT commented Oct 3, 2018

@SidharthBansal I think making an experts team still makes sense since in future we may have others who could also get added to that, also there is @ccpandhare who knows the project inside out, and since @jywarren is the only one merging prs anyway, he can review them then. Thanks!

@SidharthBansal
Copy link
Member

SidharthBansal commented Oct 3, 2018 via email

@jywarren
Copy link
Member Author

jywarren commented Oct 3, 2018

❤️ this convo. Could we think of a name a little less exclusive sounding than experts? I guess that is what the name reviewers is for, in part. Something else?

@jywarren
Copy link
Member Author

jywarren commented Oct 3, 2018

Does everyone know how to use saved replies? It's really helpful to keep a consistent nice tone and provide common links. Sidharth maybe "install saved replies" is itself a task we could make?

@SidharthBansal
Copy link
Member

SidharthBansal commented Oct 4, 2018 via email

@SidharthBansal
Copy link
Member

Hi @jywarren we currently have most of the active members in @publiclab/mentors instead of @publiclab/reviewers. So it would be better to ask from @publiclab/mentors by tagging them. Also, this will be easy for students who are very new to open source.

@SidharthBansal
Copy link
Member

We should not use @publiclab/reviewers any more I think so.
We should always use @publiclab/mentors

@tech4GT
Copy link
Member

tech4GT commented Oct 4, 2018

@jywarren how about image-sequencer-specialists ??

@SidharthBansal
Copy link
Member

@jywarren can we mark it as gci issue so that gci students can review each other commits and we will have a self-sustained system at Public labs

@SidharthBansal
Copy link
Member

This could be multiple instance count (probably infinity) gci issue. If you agree please add gci candidate label.
Thanks

@jywarren
Copy link
Member Author

jywarren commented Oct 8, 2018

What about "plots-guides"?

Sidharth, this issue? Maybe we should tidy it up a bit? But I like the idea!!!

@SidharthBansal
Copy link
Member

What about "plots-guides"?

@ jywarren Sorry I can't understand what you are referring to.
Yeah, there is a need of making a documentation for this issue.

@jywarren
Copy link
Member Author

Oops, sorry - catching up -- i meant like a group called @publiclab/plots-guides and @publiclab/image-sequencer-guides maybe for people who can guide each project as @tech4GT suggested, and review PRs for each project. So for each pull request we'd mention this group to get a review.

@tech4GT
Copy link
Member

tech4GT commented Oct 14, 2018

Yeah that sounds good to me!

@SidharthBansal
Copy link
Member

Hi @jywarren can we add this issue to gci candidate issue?
This way we will have a self sustainable system at pl. Even though we would be busy in some work, students will make issues, solve issues, review PRS. You just need to merge it up. This will save a lot of mentors time too.

@championpaddler
Copy link
Contributor

@SidharthBansal @jywarren We can assign each project to the different group of mentors for reviewing. This way mentors can concentrate on reviewing particular projects PR much better.

@SidharthBansal
Copy link
Member

All mentors can review PRS throughout all the repositories of public lab
We have many new mentors who don't know about more than a single repo. Also, it depends on interest of the person, we can't divide people. People have different interests.

@asquare14
Copy link
Member

Yes ! I agree with both of you.

@tech4GT
Copy link
Member

tech4GT commented Oct 16, 2018

@SidharthBansal where are we with the teams, did we do it?

@SidharthBansal
Copy link
Member

Jeff is out of US. Mentorship form is closed. Applications will be reviewed by 21 october. After he returns US.

@tech4GT
Copy link
Member

tech4GT commented Oct 16, 2018

Oh I meant the guides teams.

@jywarren
Copy link
Member Author

jywarren commented Oct 17, 2018

I haven't set them up yet but I can in the next couple days (or today if I get through the PR backlog) -- starting to head back to the US now! Maybe we can start with just a couple repositories to see how it works? Esp. since we can then refer to teams like @publiclab/image-sequencer-guides for repositories that have more specific contributor groups?

Also, for reviewing, did folks see this new GitHub feature for inline suggestions that actually produce a commit? Very cool!

image

image

@jywarren
Copy link
Member Author

OK! I created @publiclab/leaflet-environmental-layers-guides and @publiclab/image-sequencer-guides -- let's see how this works and we can expand to more repositories if we find it's useful. Thanks!

@jywarren
Copy link
Member Author

In general, we can make "sub-teams" for different purposes for different repositories. But I'm cautious. We don't want to fragment our community too much, as @SidharthBansal points out. I think we should do our best to have a consistent unified community where people can move easily between projects. So, this is kind of an experiment and we can re-assess how well it works.

@jywarren
Copy link
Member Author

@tech4GT says:

Okay so I am thinking that only the plots-guides and image-sequencer-guides should approve pull requests. This will save us a lot of confusion and prevent incomplete PRS from getting merged.

This sounds reasonable. Can we restrict the specific right to "approve" to a certain team? I haven't seen that exactly. @tech4GT you are an admin in image-sequencer, can you check if this is possible? If so, we could discuss if we want to do this for a bigger project like plots2. Thanks!

@tech4GT
Copy link
Member

tech4GT commented Oct 18, 2018

@jywarren I'll check this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants