git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Help using git I'm review process

From
Jens Lehmann <jens.lehmann@web.de>
Date
Jul 24, 2011, 14:37 UTC
Message-ID
<4E2C2E15.8010602@web.de>
In-Reply-To
<CA+39Oz5OT_RjyGeQdKaFycHjwN6hzy+N6P6DDBAtSv3vTYo_4A@mail.gmail.com>
Am 24.07.2011 14:16, schrieb Thomas Adam:
Show 6 quoted lines
> On 24 July 2011 13:12, Mathew Benson <mathew.benson@gmail.com> wrote:
>> I'm planning to use git for a work project, which requires tight control of the peer review process.  In previous jobs, the peer review was a tedious manual process of creating PDF files, writing comments in spreadsheets, and copying comments to the CM system.  I want to use technology to my best advantage.
>>
>> Once a developer has completed all his changes in his development branch, what's the best way to get those files to the reviewers, without requiring the author to stop work?  First, I think I should create a tag in the developer branch.  Each developer has a local repository, and my review tool writes files directly in the work area.  Can they just fetch, checkout a tag (don't know how to do that), commit changes, and push it back to the central repository?  Is there a better workflow?--
> 
> This is what Gerrit is useful for.
Yes, Gerrit is a very sophisticated way to do that.

But you can also achieve a review process by just using git and email too: Have each developer do each topic of his work on a separate feature branch and send merge requests (e.g. per email) to the reviewer when he is done. If the reviewer approves the changes, he merges that branch (and deletes the remote topic branch, as that topic is now finished and part of the history). If not, he requests improvements from the developer who updates that branch and sends another review request when he is done. We use this approach successfully at my dayjob.

Previous: Thomas AdamNext: Mathew Benson
Message 5 of 9 in “Help using git I'm review process”
  1. Mathew BensonJul 24, 2011
  2. Thomas AdamJul 24, 2011
  3. Mathew BensonJul 24, 2011
  4. Thomas AdamJul 24, 2011
  5. Jens LehmannJul 24, 2011
  6. Mathew BensonJul 24, 2011
  7. Fwd: Help using git I'm review processThomas Adam, Jul 24, 2011
  8. Mathew BensonJul 24, 2011
  9. Magnus BäckJul 24, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.