New issue
Advanced search Search tips

Issue 722892 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task

Blocked on:
issue 723082



Sign in to add a comment

[WPT Dashboard] Set up code review for the wptdashboard repo.

Project Member Reported by qyears...@chromium.org, May 16 2017

Issue description

Some Chromium-related repos on Github are using Rietveld for code reviews. (At least, I think https://github.com/catapult-project/catapult/ does). We could start doing code review for wptdashboard using Rietveld or Gerrit.

Pros:
 Chromium committers are used to a code review process using a tool like Rietveld or PolyGerrit.

Cons:
 Non-Chromium committers may not be used to this, and may be more comfortable making pull requests on GitHub.

Jeff, what do you think?
 
If we mirror on GoB (which we'll need to do in order to store infra code in the wptdashboard repo), will we get code review for free? How does the two-way sync work?
Blockedon: 723082
Cc: aga...@chromium.org
Hi Aaron, what would be necessary for setting up Gerrit code review for this? We already have a mirror:

https://chromium.googlesource.com/external/github.com/GoogleChrome/wptdashboard

I see there's a file `codereview.settings` file and that Gerrit has an API endpoint for creating projects. Is there anything else we need to enable Gerrit code review and two-way sync between the GoB and GitHub repos?

https://chromium.googlesource.com/external/github.com/luci/luci-go/+/9d852289caad98d19a53501c9cf22853f33d1351/codereview.settings

Comment 4 by aga...@chromium.org, May 18 2017

Status: WontFix (was: Unconfirmed)
Two-way sync doesn't work. Repos can be maintained on github only one of three ways:
1) Use native github pull requests
2) Do code review on Rietveld and push directly to github
3) Do code review on Gerrit and mirror the result back to github
(This third option is not actually supported yet, but we hope to support it soon.)

As long as the golden source of truth is the github repo, we cannot enable gerrit code review.
Components: Blink>Infra>Ecosystem
Components: -Blink>Infra>Predictability

Sign in to add a comment