Received: from eggs.gnu.org ([2001:4830:134:3::10]:45178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adwKb-0008Qx-Co for qemu-devel@nongnu.org; Thu, 10 Mar 2016 03:52:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adwKX-0006tn-4F for qemu-devel@nongnu.org; Thu, 10 Mar 2016 03:52:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adwKW-0006ti-T5 for qemu-devel@nongnu.org; Thu, 10 Mar 2016 03:52:25 -0500 From: Markus Armbruster References: <56DFF8DA.2070408@redhat.com> <56E0136E.8050709@redhat.com> <1457526892.118898.239.camel@infradead.org> <1457528972.118898.257.camel@infradead.org> <2e237edf67147cad0710accce5808f35.squirrel@twosheds.infradead.org> <56E03600.2040602@redhat.com> <1457598110.118898.281.camel@infradead.org> Date: Thu, 10 Mar 2016 09:52:19 +0100 In-Reply-To: <1457598110.118898.281.camel@infradead.org> (David Woodhouse's message of "Thu, 10 Mar 2016 08:21:50 +0000") Message-ID: <87mvq6u33w.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] why restrict pull reqs to signed tags? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Woodhouse Cc: Peter Maydell , Ard Biesheuvel , "Jordan Justen (Intel address)" , qemu devel list , Paolo Bonzini , Laszlo Ersek David Woodhouse writes: > On Wed, 2016-03-09 at 15:41 +0100, Laszlo Ersek wrote: >> According to your description, QEMU uses git improperly, so does >> libvirt, and the KVM (kernel) queue too. > > Let's see... > > Imagine I'm working on a new feature, and I submit a carefully tested > sequence of commits in a pull request. > > Someone *rebases* my work onto a different point in history, which > introduces a bug. > > The record now shows that I submitted something *broken*. Like > https://github.com/openssl/openssl/commit/963bb621=C2=A0for example, which > is utterly hosed and broke the build for everyone except me.=C2=A0 > > On that occasion, I was able to look back at what I *actually* > submitted and point out that it wasn't my fault. But sometimes the > breakage is more subtle. You end up looking back a few months later and > trying to work out why an esoteric corner case is failing. You might > ask me, and I'll say that I *distinctly* remember I thought about it, > and that I could have sworn I *had* tested it....=C2=A0 > > But again the record shows that what got merged has *never* worked. > That's no longer just a problem of embarrassment for the submitter, by > misrepresenting their work. That's now causing problems for the > *project*. Because if history had been represented *correctly*, with a > working commit and then a subsequent merge introducing the breakage, > then that is a *whole* lot easier to figure out. > > Preserving accurate history is a large part of the reason we *have* > version control systems. And yes, if any of those projects you list are > deliberately throwing away history as a matter of course on non-trivial=20 > submissions, then I would say that they are using the tools improperly. > > Of course, for simple patches it often makes no difference (well, apart > from the OpenSSL example I gave above). And for larger submissions it > doesn't *often* make a difference. But that's not the point. Sure, let > people apply their *discretion* about rebasing stuff, if you really > must =E2=80=94 but a workflow which *enforces* a rebase, and *never* lets= you > pull a complex submission as it *actually* happened, is quite wrong. Strawman alert: we don't *enforce* rebase. We leave it to the maintainer's discretion. Nothing stops a maintainer (or a chain of them) from accepting pull requests. But for better or worse, most maintainers rebase most of the time. When they do, they add their S-o-B to every patch, which provides a measure of accountability. I acknowledge your points are worth considering, even though you exaggerated for effect :)