From patchwork Wed Sep 4 11:30:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars Kurth X-Patchwork-Id: 11129895 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 882E2112C for ; Wed, 4 Sep 2019 11:31:34 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6D23D22DBF for ; Wed, 4 Sep 2019 11:31:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6D23D22DBF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i5TUR-0006Ri-EP; Wed, 04 Sep 2019 11:30:19 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i5TUQ-0006RK-4T for xen-devel@lists.xenproject.org; Wed, 04 Sep 2019 11:30:18 +0000 X-Inumbo-ID: 5e1d4230-cf07-11e9-abb0-12813bfff9fa Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 5e1d4230-cf07-11e9-abb0-12813bfff9fa; Wed, 04 Sep 2019 11:30:16 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i5TUM-0005bw-TW; Wed, 04 Sep 2019 11:30:14 +0000 Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by xenbits.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i5TUM-0004TJ-MR; Wed, 04 Sep 2019 11:30:14 +0000 From: Lars Kurth To: xen-devel@lists.xenproject.org Date: Wed, 4 Sep 2019 12:30:07 +0100 Message-Id: X-Mailer: git-send-email 2.13.0 Subject: [Xen-devel] [PATCH v4 0/3] Allow get_maintainer.pl / add_maintainers.pl scripts to be called outside of xen.git X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Lars Kurth , Stefano Stabellini , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Use-case: Allow using both scripts on xen repositories such as mini-os.git, osstest.git, Assumptions: the repository contains a MAINTAINERS file that follows the same conventions as the file in xen.git A suggested template for sister repositories of Xen ======================================================== This file follows the same conventions as outlined in xen.git:MAINTAINERS. Please refer to the file in xen.git for more information. THE REST M: MAINTAINER1 M: MAINTAINER2 L: xen-devel@lists.xenproject.org S: Supported F: * F: */ V: xen-maintainers-1 ======================================================== Changes in v2: * Remove debug message Changes in v3: * Split patch * add_maintainers.pl: do not issue a warning * add_maintainers.pl: introduce processing logic for V: tag * MAINTAINERS: Add V: tag to file Changes in v4: * Removed tabs and fixed typo * Removed unused variable Lars Kurth (3): Remove hardcoding from scripts/add_maintainers.pl Add V section entry to allow identification of Xen MAINTAINERS file Add logic to use V section entry in THE REST for identifying xen trees MAINTAINERS | 4 +++- scripts/add_maintainers.pl | 4 +-- scripts/get_maintainer.pl | 57 +++++++++++++++++++++++---------------- 3 files changed, 41 insertions(+), 24 deletions(-) base-commit: 6c9639a72f0ca3a9430ef75f375877182281fdef