Hi folks. It's historically been an issue with gerrit as we have it set up
for use in gem5 that it seems to be pretty picky about when a change can be
submitted, and I've had to fairly often (but not always) perform a trivial
rebase through the gerrit UI so that it's happy and will let me submit a
CL. In the past this has been annoying, but not a big deal since it just
takes a few clicks to placate gerrit.

Now that we have kokoro running and verifying CLs (which is a very good
thing), rebases have the unfortunate side effect of clearing the verified
bit which necessitates running the CI again on essentially the same CL,
including a several hour wait. So far this has been a bigger annoyance than
before with the added latency getting a CL submitted, but since there
haven't (yet) been any series with a lot of those delays stack on top of
each other it hasn't been a huge problem.

What I'd like to know is what people think about making gerrit less picky
(not sure how that translates to settings TBH) so that these trivial
rebases aren't as necessary. Looking at the settings, I see that the
"Submit type" is "Rebase Always" and the "Allow content merges" setting is
false. There are other settings, but these seem like the most relevant ones.

This page takes a bit about the philosophy behind the submit type setting:

https://gerrit-review.googlesource.com/Documentation/intro-project-owner.html

With a more complete description of all the submit types over here:

https://gerrit-review.googlesource.com/Documentation/config-project-config.html#submit-type

If people agree that this is something we should try to change, we can
probably ask the gerrit gurus here at Google what settings we can adjust to
get the desired effect.

Gabe
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to