From patchwork Tue Feb 9 03:04:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Warren X-Patchwork-Id: 8257841 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C869CBEEE5 for ; Tue, 9 Feb 2016 03:04:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B3D7B20270 for ; Tue, 9 Feb 2016 03:04:46 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3FCBC2026D for ; Tue, 9 Feb 2016 03:04:45 +0000 (UTC) Received: from localhost ([::1]:51203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSybc-0007vb-FR for patchwork-qemu-devel@patchwork.kernel.org; Mon, 08 Feb 2016 22:04:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSybV-0007us-F0 for qemu-devel@nongnu.org; Mon, 08 Feb 2016 22:04:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSybS-0003aw-8i for qemu-devel@nongnu.org; Mon, 08 Feb 2016 22:04:37 -0500 Received: from avon.wwwdotorg.org ([70.85.31.133]:52800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSybS-0003ar-3t for qemu-devel@nongnu.org; Mon, 08 Feb 2016 22:04:34 -0500 Received: from severn.wwwdotorg.org (unknown [192.168.65.5]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by avon.wwwdotorg.org (Postfix) with ESMTPS id BE54864A5; Mon, 8 Feb 2016 20:04:32 -0700 (MST) Received: from dart.wwwdotorg.org (localhost [127.0.0.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by severn.wwwdotorg.org (Postfix) with ESMTPSA id 432D8E40CA; Mon, 8 Feb 2016 20:04:32 -0700 (MST) From: Stephen Warren To: Peter Maydell Date: Mon, 8 Feb 2016 20:04:25 -0700 Message-Id: <1454987065-12961-1-git-send-email-swarren@wwwdotorg.org> X-Mailer: git-send-email 1.9.1 X-NVConfidentiality: public X-Virus-Scanned: clamav-milter 0.98.6 at avon.wwwdotorg.org X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 70.85.31.133 Cc: Paolo Bonzini , John Snow , qemu-devel@nongnu.org, Markus Armbruster , Stephen Warren Subject: [Qemu-devel] [PATCH V2] MAINTAINERS: add all-match entry for qemu-devel@ X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add an entry to MAINTAINERS that matches every patch, and requests the user send patches to qemu-devel@nongnu.org. It's not 100% obvious to project newcomers that all patches should be sent there; checkpatch doesn't say so, and since it mentions other lists to CC, the wording "the list" from the SubmitAPatch wiki page can be taken to mean only those lists, not the main list too. The F: entries were taken from a similar entry in the Linux kernel. Modify get_maintainer.pl so that the all-matching list entry doesn't prevent the git fallback from ever triggering. The fallback now relies on finding a real person in MAINTAINERS, not just a mailing list for the relevant sub-community. This portion of the patch was suggested by pbonzini@redhat.com. Cc: Paolo Bonzini Cc: Markus Armbruster Cc: John Snow Signed-off-by: Stephen Warren --- v2: Patch get_maintainer.pl too. --- MAINTAINERS | 5 +++++ scripts/get_maintainer.pl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index b6ed87a26349..2d78eea5d62d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -52,6 +52,11 @@ General Project Administration ------------------------------ M: Peter Maydell +All patches CC here +L: qemu-devel@nongnu.org +F: * +F: */ + Responsible Disclosure, Reporting Security Issues ------------------------------ W: http://wiki.qemu.org/SecurityProcess diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 7dacf32f435c..8261bcb1adc0 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -636,7 +636,7 @@ sub get_maintainers { if ($email) { if (! $interactive) { - $email_git_fallback = 0 if @email_to > 0 || @list_to > 0 || $email_git || $email_git_blame; + $email_git_fallback = 0 if @email_to > 0 || $email_git || $email_git_blame; if ($email_git_fallback) { print STDERR "get_maintainer.pl: No maintainers found, printing recent contributors.\n"; print STDERR "get_maintainer.pl: Do not blindly cc: them on patches! Use common sense.\n";