maiao: Gerrit-style stacked diffs for GitHub, Cursor Origin, GitLab, Codeberg and more

2 points by joaoqalves


drmorr

There are dozens of these types of projects. Graphite was one (but I think they might have pivoted, I'm not sure), jj is trying to fill this space, now there's maiao, and there's a bunch of others.

They all fundamentally work the same way: a stack of commits turns into a github set of PRs, each with a different branch, and they play magic games behind the hood to keep the branches in order.

The fact that none of these tools has taken off and become mainstream I think indicates that a stacked commit workflow is fundamentally at odds with github's design. I'm kindof coming to the conclusion that stacked commits will never work well with the "pull request" model, and we need some other type of "forge" (ugh I hate that term) to take over if we want to use stacked commits as a workflow.

(NB I haven't tried the new github stacked commit feature yet, but everything I've read about it makes it seem pretty lackluster)

PuercoPop

The important part of Gerrit is that you review commits. You can comment on every part of the the commit, including the commit message. Gerrit tracks the history of the commit over time, it doesn't invalidate review comments just because a new version of the commit has been pushed. If one still has to use the GitHub for reviewing changes it is not a meaning improvement.