[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] MAINTAINERS: Clarify check-in requirements for mixed-author patches


  • To: George Dunlap <george.dunlap@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 8 Dec 2022 12:34:25 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TWqeCpCZtcESpRIwRlyhsWjwdw4OPqx+5XCf3fWF/cU=; b=gjQWErlw3j/NjUgukyvtyhcWyzcsMI1Vahg+hsQ92DbwKbe5vyg/NREgUeHvCriMKZtcDHwVImLAKSQizyHM5Oh1H5Xgw/JoC89z4ji8XubhlYoSvp6xLcld2KJNSyU2R9ppMfSJJ8Eyh6qMamlfCGaDw+t5jqT3N+mHh+jNbRlbWK7vUvYH3albpeXXw0iKPLKgKoH5jdN6VMYUpjEv652PHaTDZEXgy3ij427hlqjWsvJKxtHJu/fwEFxsbTGPlTDuKIrWDSxqk084jYpadKDkdS1Ygj3G31fa2tySIp+BY41K6H4OP9t08rVIFcG8gQijql1BQwiy61t2s2sHiA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i7bg5dq+XVKOKPsHBjTzHs+5SR4ehXcdTaG8HjxNuhFfNIhDcYxTIUcqcViXxfMFadpyx2mEK6iicwRmA862+KgSfqjjJAGAbk7VMqU7w6HLqumyDZ3jMofrNZTxq0XleTGtLWgv7d0uC2IYLyxkx4DnobpWQe5uNhH0H3f6AL0MuGgfH9pXDyT2G0DypaxfVSV/0Ri5RYG3LAYVyBFTTu+EZWbro/rdJBeBIikeC6IVt5yTMOO9zO4Iystq8WlcG7x3xvNjDiAhRmeGgpzjUnAeHVfZ5qE9razQCxJnG1+GmYeG8QHberolSGY/h+kueWkirGBtzNU4kW/QFGPbDA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: George Dunlap <george.dunlap@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 08 Dec 2022 11:34:36 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 08.12.2022 11:49, George Dunlap wrote:
> From: George Dunlap <george.dunlap@xxxxxxxxxx>
> 
> There was a question raised recently about the requriements for
> checking in a patch which was originally written by one maintainer,
> then picked up and modified by a second maintainer, and which they now both
> agree should be checked in.
> 
> It was proposed that in that case, the following set of tags would suffice:
> 
>    Signed-off-by: First Author <...>
>    Signed-off-by: Second Author <...>
>    Reviewed-by: First Author <...>
> 
> The rationale was as follows:
> 
> 1. The patch will be a mix of code, whose copyright is owned by the
> various authors (or the companies they work for).  It's important to
> keep this information around in the event, for instance, of a license
> change or something else requiring knowledge of the copyright owner.
> 
> 2. The Signed-off-by of the Second Author approves not only their own
> code, but First Author's code;

The wording in ./MAINTAINERS looks good to me, so it may be benign that
here a perhaps relevant (in the course of development) aspect is not
expressed correctly: Second Author may have fixed a bug in the original
patch, which surely he then doesn't approve. So I'd be inclined to
suggest making this "..., but also the unchanged parts of First Author's
code".

> the Reviewed-by of the First Author
> approves not only their own code, but the Second Author's code.  Thus
> all the code has been approved by a maintainer, as well as someone who
> was not the author.
> 
> In support of this, several arguments were put forward:
> 
> * We shouldn't make it harder for maintainers to get their code in
>   than for non-maintiners
> 
> * The system we set up should not add pointless bureaucracy; nor
>   discourage collaboration; nor encourage contributors to get around
>   the rules by dropping important information.  (For instance, by
>   removing the first SoB, so that the patch appears to have been
>   written entirely by Second Author.)
> 
> Concerns were raised about two maintainers from the same company
> colluding to get a patch in from their company; but such maintainers
> could already collude, by working on the patch in secret, and posting
> it publicly with only a single author's SoB, and having the other
> person review it.
> 
> There's also something slightly strange about adding "Reviewed-by" to
> code that you've written; but in the end you're reviewing not only the
> code itself, but the final arrangement of it.  There's no need to
> overcomplicate things.
> 
> Encode this in MAINTAINERS as follows:
> 
> * Refine the wording of requirement #2 in the check-in policy; such
> that *each change* must have approval from someone other than *the
> person who wrote it*.
> 
> * Add a paragraph explicitly stating that the multiple-SoB-approval
>   system satisfies the requirements, and why.
> 
> Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxx>

Since the actual change to the policy looks good to me:
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.