From: David Woodhouse <dwmw2@infradead.org>
To: Laszlo Ersek <lersek@redhat.com>,
Peter Maydell <peter.maydell@linaro.org>
Cc: "Jordan Justen (Intel address)" <jordan.l.justen@intel.com>,
Paolo Bonzini <pbonzini@redhat.com>,
qemu devel list <qemu-devel@nongnu.org>,
Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: Re: [Qemu-devel] why restrict pull reqs to signed tags?
Date: Thu, 10 Mar 2016 08:21:50 +0000 [thread overview]
Message-ID: <1457598110.118898.281.camel@infradead.org> (raw)
In-Reply-To: <56E03600.2040602@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 2129 bytes --]
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 for example, which
is utterly hosed and broke the build for everyone except me.
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....
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
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 — but a workflow which *enforces* a rebase, and *never* lets you
pull a complex submission as it *actually* happened, is quite wrong.
--
dwmw2
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5691 bytes --]
next prev parent reply other threads:[~2016-03-10 8:22 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-09 10:20 [Qemu-devel] why restrict pull reqs to signed tags? Laszlo Ersek
2016-03-09 11:33 ` Paolo Bonzini
2016-03-09 11:35 ` Peter Maydell
2016-03-09 12:13 ` Laszlo Ersek
2016-03-09 12:19 ` Paolo Bonzini
2016-03-09 12:31 ` Laszlo Ersek
2016-03-09 12:33 ` Paolo Bonzini
2016-03-09 12:38 ` David Woodhouse
2016-03-09 12:40 ` Ard Biesheuvel
2016-03-09 12:44 ` Peter Maydell
2016-03-09 13:14 ` Laszlo Ersek
2016-03-09 12:34 ` David Woodhouse
2016-03-09 12:42 ` Peter Maydell
2016-03-09 13:09 ` David Woodhouse
2016-03-09 13:27 ` Peter Maydell
2016-03-09 14:13 ` David Woodhouse
2016-03-09 14:41 ` Laszlo Ersek
2016-03-10 8:21 ` David Woodhouse [this message]
2016-03-10 8:52 ` Markus Armbruster
2016-03-10 10:34 ` David Woodhouse
2016-03-10 12:38 ` Laszlo Ersek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1457598110.118898.281.camel@infradead.org \
--to=dwmw2@infradead.org \
--cc=ard.biesheuvel@linaro.org \
--cc=jordan.l.justen@intel.com \
--cc=lersek@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).