[dpdk-ci] [PATCH 1/9] tools: rename guess_git_tree script

Ali Alnubani alialnu at oss.nvidia.com
Mon Sep 6 17:45:29 CEST 2021


The name 'maintainers.py' will make more sense when
adding more operations to the script.

Signed-off-by: Ali Alnubani <alialnu at nvidia.com>
---
 tools/{guess_git_tree.py => maintainers.py} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename tools/{guess_git_tree.py => maintainers.py} (98%)

diff --git a/tools/guess_git_tree.py b/tools/maintainers.py
similarity index 98%
rename from tools/guess_git_tree.py
rename to tools/maintainers.py
index c9eef39..0cf1907 100755
--- a/tools/guess_git_tree.py
+++ b/tools/maintainers.py
@@ -31,13 +31,13 @@ variables PW_{SERVER,PROJECT,TOKEN} should be set. If not, the script will try
 to load the git configurations pw.{server,project,token}.
 
 Example usage:
-    ./guess-git-tree.py --command list_trees_for_series 2054
-    ./guess-git-tree.py --command list_trees_for_patch 2054
+    ./maintainers.py --command list_trees_for_series 2054
+    ./maintainers.py --command list_trees_for_patch 2054
 
 Or if you want to use inside other scripts:
 
     import os
-    from guess_git_tree import (Maintainers, GitPW, Diff)
+    from maintainers import (Maintainers, GitPW, Diff)
     _git_pw = GitPW({
         'pw_server': os.environ.get('PW_SERVER'),
         'pw_project': os.environ.get('PW_PROJECT'),
-- 
2.25.1



More information about the ci mailing list