News for hackers. Stuff that matters.
Re:Bzg/woof: online monitor for mailing list based patch wor... by kettro on Sunday April 18, 2021 @05:07AM (#26850952)
I’ve used Gerrit at 3 different places, now including at Google. It is, by far, the best git experience.

The patch workflow is smooth and just a great experience. It is vastly improved by some git aliases (which you can set up in your gitconfig), but is, in general, very smooth. It allows for local branches to a single upstream, topic tagging, and a reasonable learning curve. Much better than GH.

It would be very well served to have a web-based offering (like GitHub/Lab).

Re:Bzg/woof: online monitor for mailing list based patch wor... by da39a3ee on Sunday April 18, 2021 @09:57AM (#26852519)
> The patch workflow is smooth a

Can you explain what a "patch workflow" is and in what sense Github is not a "patch workflow"?

There's some confusion since some people associate "patch workflow" with an email-based workflow.

Re:Bzg/woof: online monitor for mailing list based patch wor... by lima on Sunday April 18, 2021 @12:54PM (#26854098)
A patch/diff workflow operates at the level of individual diffs, rather than a branch identified by base and head refs like with pull requests.

Email is one (very clunky) way of implementing such a workflow, there's other tools like Gerrit, Reviewable or Phabricator that are more friendly.

Re:Bzg/woof: online monitor for mailing list based patch wor... by da39a3ee on Sunday April 18, 2021 @01:15PM (#26854313)
Thanks. Can you explain why that might be a good thing?

If I update the diff, does it become a new reviewable item, independent from the first version?

I've never worked at a large tech company but my understanding is that at e.g. google there is some sort of monorepo, so it would presumably zoom forwards while a commit is under review. Even so, why is it not a good thing to review the commit in an explicit location in the historical commit graph?

Re:Bzg/woof: online monitor for mailing list based patch wor... by lima on Sunday April 18, 2021 @02:03PM (#26854783)
Patches would still have a base, it's really more about about the data model. It's possible to synthesize a GitHub PR from a Gerrit CL and vice-versa.

In fact, Gerrit is entirely based on Git and you can simply clone any given CL.