DPDK CI discussions
 help / color / mirror / Atom feed
* [dpdk-ci] [PATCH] tools: fix tree detection for "unmaintained" files
@ 2020-01-06 11:15 David Marchand
  2020-01-06 22:28 ` Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: David Marchand @ 2020-01-06 11:15 UTC (permalink / raw)
  To: ci; +Cc: thomas, alialnu

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=7981.

This series mixes changes in ethdev, net/tap and EAL, and thus should go
through the main repository.

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 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 = []
         for _file in files:
             _tree = self._get_tree(_file)
-            if _tree:
-                tree_list.append(_tree)
+            # No identified tree for a file means that it should go through
+            # the main repository.
+            if not _tree:
+                _tree = 'dpdk'
+            tree_list.append(_tree)
         tree = self.get_common_denominator(tree_list)
         if tree == '':
             tree = 'dpdk'
-- 
2.23.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-07 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06 11:15 [dpdk-ci] [PATCH] tools: fix tree detection for "unmaintained" files David Marchand
2020-01-06 22:28 ` Thomas Monjalon
2020-01-07 10:08   ` Ali Alnubani
2020-01-07 18:11     ` Thomas Monjalon

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).