From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D6732A04F1 for ; Mon, 6 Jan 2020 12:16:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8EA2C1D622; Mon, 6 Jan 2020 12:16:40 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id D50431D61F for ; Mon, 6 Jan 2020 12:16:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578309398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RJ4FyQMCAgeMnNUzGut1csi10ZGwb3pQszNusA8lkZE=; b=P6SwrsX5pskCOMbi9SJOi364Pb3a3UX7xHN2MDTstVj2slofRK6QSuIMnhpBkzzsip3Dst 4SRZ8Rlo95viHGjYiqR8PuSuBRbdp5LGbQyAotfXEw54M4anR3QPq2motZwBMtgVykc0zo +NNJwPOp/wrb7hKH/o2NDG1MbDSDwLk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-259-yaxkZiK5Mr6zpQVKkSajqA-1; Mon, 06 Jan 2020 06:16:33 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CA3A6185432C; Mon, 6 Jan 2020 11:16:31 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-204-19.brq.redhat.com [10.40.204.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5F6F360CD3; Mon, 6 Jan 2020 11:16:30 +0000 (UTC) From: David Marchand To: ci@dpdk.org Cc: thomas@monjalon.net, alialnu@mellanox.com Date: Mon, 6 Jan 2020 12:15:31 +0100 Message-Id: <20200106111531.26431-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: yaxkZiK5Mr6zpQVKkSajqA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-ci] [PATCH] tools: fix tree detection for "unmaintained" files X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org Sender: "ci" Implicitly, if a file has no official maintainer / tree, it is in the end maintained in the master branch. This problem has been seen while looking at test failures reported on the series https://patchwork.dpdk.org/project/dpdk/list/?series=3D7981. This series mixes changes in ethdev, net/tap and EAL, and thus should go through the main repository. Signed-off-by: David Marchand --- tools/guess_git_tree.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/guess_git_tree.py b/tools/guess_git_tree.py index 3c6f2da..bc63674 100755 --- a/tools/guess_git_tree.py +++ b/tools/guess_git_tree.py @@ -146,8 +146,11 @@ class Maintainers(object): tree_list =3D [] for _file in files: _tree =3D self._get_tree(_file) - if _tree: - tree_list.append(_tree) + # No identified tree for a file means that it should go throug= h + # the main repository. + if not _tree: + _tree =3D 'dpdk' + tree_list.append(_tree) tree =3D self.get_common_denominator(tree_list) if tree =3D=3D '': tree =3D 'dpdk' --=20 2.23.0