This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: How to keep Reviewed-by lines in git commits with gerrit.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>, Florian Weimer <fweimer at redhat dot com>
- Date: Tue, 12 Nov 2019 22:26:30 +0000
- Subject: Re: How to keep Reviewed-by lines in git commits with gerrit.
- Ironport-sdr: yfqAS5H998mT1DNMrmgxGJIg9fxWIvXFF5Xtrc8sONuM+wYoICF378VNUvZhBY46TxoK0bNW0y 7nN5mpS52uvBrVX2ztE1uM1oZbc2eaYJbZAjIllRZhZJ7NVoDk5Xu74nOj5frRuIOw9+HBraJ3 O/NABa7DpFR2z1PahxgBbl9uDPP6urJx/YoLAsl1ekxdBMR26FEV1th281Sug6dQEhyLDZEx5e hdEZ6FfJiDza5MfwwzzE8fSI5bqNj8fPv5HUkvgIjYmS4KE4etloCFdDNOdsB6HxmOHUzPtfER e6A=
- Ironport-sdr: zVNzmSsgEIdSJPp89w0lsEKNB5ou0TtuiiWlgXLkMs4x77n8ZiTk/C1C4lUuoe0oCiPnHGKa/J RAGkX7F1QLpB9GpNMLCfECSXtXckCL+/uioaM8oqyP9xSHrCBvTsTwbXKnhcuvW1eWOe68ckp3 Z4Ly+nJKDCvTWc3TczvMEnKinaVuOl8n66DXQAze63j2+9F6ON1qMIASlixLukg2LUd2Rj068g 9w8LVY4JUovVHMVpUoTnDVj9pJ87pm+yWL8uyZLM8GE8egTMIG5s2q/HgZzd9JrJpVYvVEwDA7 Ni0=
- References: <7b4aa5d2-14e7-c0aa-a258-bbd60455fae5@redhat.com> <alpine.DEB.2.21.1911121737580.10440@digraph.polyomino.org.uk> <28848c99-55e0-cbda-9230-3a0c3c8257ae@redhat.com>
On Tue, 12 Nov 2019, Carlos O'Donell wrote:
> - Gerrit does not close the review but adds a new patchset version
> because the commit message changed.
I don't see this as a useful way for it to behave.
By including a Change-Id (that matches the Change-Id of something tracked
in gerrit) in a commit pushed to master, the committer is making an
assertion that what they are pushing is the latest version of the tracked
change, and (by pushing) that it needs no further review. On that basis,
the review should automatically be closed, without needing to add any new
patchset version.
This shouldn't just be about Reviewed-by. If someone says a patch is OK
with a specific change made to it (whether to the code or to the commit
message), it should be enough to make that change and retest and push to
master, without needing to go through extra administration in a review
system just because of that change.
*Reducing* the amount of administration required is a good thing (for
example, if we can develop a way for a commit message to say that the
commit fixes a given bug, and for that to result in the bug being marked
RESOLVED / FIXED with target milestone set automatically). Increasing the
amount of administration needed for a patch that's OK with changes doesn't
seem a good idea to me; patch tracking systems should be reducing the work
humans need to do rather than adding extra steps.
--
Joseph S. Myers
joseph@codesourcery.com