qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Warner Losh <imp@bsdimp.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Large patch set advice
Date: Thu, 26 Apr 2018 08:09:25 +0100	[thread overview]
Message-ID: <20180426070925.GA26812@redhat.com> (raw)
In-Reply-To: <AFF77CBF-01EC-494F-AA9C-9820F368EA32@gmail.com>

On Wed, Apr 25, 2018 at 01:57:01PM -0600, Warner Losh wrote:
> Every Open Source project has its own quirks. Nobody wants the 520 commits
> on the branch that I started with (too many merged rather than rebases in
> the last 5 years). The 320 real commits are a mess. I’ve been preening them
> to get rid of the silly stuff like (back this out, put it back, all the
> ‘spelling/typo/white space’ fixes). At the end of the rebase, I still
> wasn’t to ‘the same’ so I had a bunch of ‘true up’ commits to make it the
> same...

> My first question seems almost rhetorical: that’s not an acceptable state
> of affairs, and curation is needed to upstream. Right?

Yeah, no one is going to want to review 300 patches !

> (4) Deal with the cases where multiple people have worked on a patch by
> putting SoBs for all of them (or reworking them if I can’t get a hold
> of the original authors) on the commits that are merged. I didn’t see
> a specific policy for this, but this seems sane. The alternative seems
> worse (having elements that don’t compile)

The signed off by line is attesting that you agree to this:

   http://developercertificate.org/

IIUC nothing there requires you to add a SoB line for each author,
but you have to be confident that you can agree to terms a) & b),
given the the work you are building on top of.


> (5) Send them in small batches. I’d go insane trying to manage
> 200 concurrent code reviews, and I can’t image that I’m unique
> in this. I also image that fixes in the early part of the series
> may have ripples to the later parts if my past experience with
> these things has any relevance.

Can't  disagree with that !

> Thanks for any help you can give me.

IIUC, the current bsd-user code in GIT is completely broken & unusable.
After all 500 patches have been applied, I'm wondering how much of
the original code is actually left ? If it is a very small percentage,
an alternative strategy might be to send a patch deleting everything
in tree, and then treat your code as if you were adding bsd-user as a
brand new feature. This could potentially let you merge & restructure
the patches into a smaller more easily reviewable set of work. 


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

  parent reply	other threads:[~2018-04-26  7:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-25 19:57 [Qemu-devel] Large patch set advice Warner Losh
2018-04-26  4:18 ` Thomas Huth
2018-04-26  7:02 ` Markus Armbruster
2018-04-26  7:09 ` Daniel P. Berrangé [this message]
2018-04-26  8:11 ` Peter Maydell
2018-04-26 11:22   ` Kamil Rytarowski
2018-04-26 19:53     ` Warner Losh
2018-04-26 19:58       ` Kamil Rytarowski
2018-04-26 19:51   ` Warner Losh
2018-04-27 10:05     ` Peter Maydell
2018-04-30 14:44   ` Warner Losh
2018-04-30 15:05     ` Peter Maydell

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=20180426070925.GA26812@redhat.com \
    --to=berrange@redhat.com \
    --cc=imp@bsdimp.com \
    --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).