From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 10ACAA0C4C for ; Tue, 21 Sep 2021 16:36:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7C2540DF8; Tue, 21 Sep 2021 16:36:33 +0200 (CEST) Received: from AZHDRRW-EX02.NVIDIA.COM (azhdrrw-ex02.nvidia.com [20.64.145.131]) by mails.dpdk.org (Postfix) with ESMTP id BCE454003C for ; Tue, 21 Sep 2021 16:36:32 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by mxs.oss.nvidia.com (10.13.234.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.15; Tue, 21 Sep 2021 07:36:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PQOeWcj95JISoMMIlAlyD/7YBgY2miqbvdBSjXmwM+7mt8/MO8td4XpeSDVK30K/CAU0u7XBBh/q8WIR7BaT4CnetVqcU+ohMQHL4ot8Zh4BjhAa24d+xYKvy2q4Cs6BGq379VhiQ5Hj7ub5VRvMoi30LhQWvm5RHh6QEP/mocRfMN+5o1t2KA2g2T6R7uaLHFIfX6VaZHO68YL5YBiGVY5+0nKJmaQt8aSzPaBl1UhBbEvYA5B1ptGCXS5csDquvgLD6d9ZeO6ajZKZp5O98vqpoGH2frjX12SOQT+2AiHy25HBHCvRau3GY/FYje8Ep3DbPCScJlWibC6/u9cunQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MOIZVcyOg8JNeuhp6w0eUR+nmJx2Miuxzr6aXsudTuM=; b=OvsObWXEAMn9cAy0WwRx97tFb36HqsvITwn2MbXsKpjdAYb2b9dW3cdRIfxOmT9U1MnwAqb7w5A57Xmj3BrQV0hkigW5Iv/wcDcaHgAXWcmarozfFmZ4BycNdR/d+JLt1wKPhJ2FVWn3PHpW94kQa3GPC9f8rNT61kskX4cN8FqwHOedzktC8bZ1JPsRjw2IV9t6uIxoVKiALnrV9FfkZQdOqnsOQnr4q6ErqiJL+SftoTPvqR36wjvf2dR2coYG52XX0hG04p3LaJANmg30A2d42OFypTOi8e4oIpDgCzmKOcXAbRpvZCtqG6LeUo7E1IrNpCnu1S8HnQ/B6L0qkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.36) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MOIZVcyOg8JNeuhp6w0eUR+nmJx2Miuxzr6aXsudTuM=; b=m4VSv1Ne3dD7aC13LgYVJsbHhAiZl8UMcaZeoUCjXKX31NhyUkvCpRZrMzVD99h/Sa5XycdjUQmJe+TT0Noqo1/+Z37TiH6Zj5gX10N6YAwhJcXu5wJ8DU51acGDKO9dssG7hCp9g+uS7Pb7Bi31jCmLKsaCHEDvJFLVFkF0KZrA/6NFXa+6L68e1DhHBRl3kiultf8iqkFoUfZWYwRwzMZDMsfEw0P++V0CnM9A+YOIXVW/cMd29lCelMBa6lle14rvLfq8WI+UYjC846+aQl8YyJlaqJivRhHTZGnERtoIt0aq2Nlq70T4+fnqt0As0mM6VRDzwUB7mZ7+G90isg== Received: from MWHPR14CA0054.namprd14.prod.outlook.com (2603:10b6:300:81::16) by BN6PR1201MB0257.namprd12.prod.outlook.com (2603:10b6:405:4e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Tue, 21 Sep 2021 14:36:30 +0000 Received: from CO1NAM11FT009.eop-nam11.prod.protection.outlook.com (2603:10b6:300:81:cafe::dc) by MWHPR14CA0054.outlook.office365.com (2603:10b6:300:81::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Tue, 21 Sep 2021 14:36:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.36) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.36 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.36; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.36) by CO1NAM11FT009.mail.protection.outlook.com (10.13.175.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4523.14 via Frontend Transport; Tue, 21 Sep 2021 14:36:30 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 21 Sep 2021 14:36:29 +0000 Received: from nvidia.com (172.20.187.5) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 21 Sep 2021 14:36:26 +0000 From: To: CC: , , , , Date: Tue, 21 Sep 2021 17:35:33 +0300 Message-ID: <20210921143542.4412-2-alialnu@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210921143542.4412-1-alialnu@nvidia.com> References: <20210906154537.1299-1-alialnu@nvidia.com> <20210921143542.4412-1-alialnu@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 966a5f25-8aa7-468a-8af3-08d97d0d3387 X-MS-TrafficTypeDiagnostic: BN6PR1201MB0257: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-Transport-Forked: True X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HWco9t6lZHWc/LQiojqKYBpZE+3fQV3vFpPusfriH/sGjIB4xu3/cLn+syNQYoaPuhI4mHYNx3C92gQDdn5aD0o/1UaNmKfLNf8WMUtmgHFPU1PVA7FlFYDeQu4wJ/uCtsl64WBaYfa5W0RFR9KKd6ANJHzduh4YlS5J/Wr0JF32V1riP48hKcFkr1siTqOeS27Nt6dNIw60s0HGURD/Pv2QimeO4+8wxqqYD1bTk9WbcvprdPhP7HbJ5QU7SNmZFwdj+naccU0/sCUzsYmlr4UIjVlJwmi/Qm6UsXwDXGtaiNGo4l/Q0hFmzGaq9MCnNXYO2BKw972MNcVef/DGJr5LVk+OqA3/6SRIjAlO2fsw2iqlx7NFN4chltpCQUg8LoXwN+fWiNpjirFCCm76lBzF7juml8tqLxh0DsoW6mi52vqYYEOptdTZ54a1jNkjjwWj00Uyb2Eu2OUECkDreinfuh28BG3J/TgMI2Yq67hHidI5dDP6XktWpUCczS+LwxEPaVi9KHQIXYSMDoW5+USSj+vfmiE9oEqfBB9VSpgPsochHTeBEYKVYRSMmjPRVlvAGc3q3FS1sZt7yvqO7awbo8JYIFX5s0UjE7mCWt5v41l/SsBnF03uL8/nR2tj4ZuUxGhI41ZHYteQA+fMoYcCFWhxiU7LziDsM1g8X+TuIla+uT83aPv+yr48JQSYXVog9YELwtci9H1sYsAbNQ== X-Forefront-Antispam-Report: CIP:216.228.112.36; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid05.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(5660300002)(508600001)(36906005)(82310400003)(6916009)(36756003)(186003)(16526019)(2906002)(54906003)(47076005)(70206006)(107886003)(6666004)(55016002)(2616005)(7636003)(1076003)(2876002)(7696005)(4326008)(26005)(356005)(83380400001)(36860700001)(6286002)(86362001)(316002)(8936002)(8676002)(336012)(426003)(70586007); DIR:OUT; SFP:1101; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2021 14:36:30.1084 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 966a5f25-8aa7-468a-8af3-08d97d0d3387 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.36]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT009.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1201MB0257 Subject: [dpdk-ci] [PATCH v2 01/10] tools: rename guess_git_tree script X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 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" From: Ali Alnubani The name 'pw_maintainers_cli.py' will make more sense when adding more operations to the script. Signed-off-by: Ali Alnubani --- Changes in v2: - Changed the script's name to 'pw_maintainers_cli.py' instead of 'maintainers.py' (Suggested by Juraj Linkes). tools/{guess_git_tree.py => pw_maintainers_cli.py} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename tools/{guess_git_tree.py => pw_maintainers_cli.py} (98%) diff --git a/tools/guess_git_tree.py b/tools/pw_maintainers_cli.py similarity index 98% rename from tools/guess_git_tree.py rename to tools/pw_maintainers_cli.py index c9eef39..a31f605 100755 --- a/tools/guess_git_tree.py +++ b/tools/pw_maintainers_cli.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 + ./pw_maintainers_cli.py --command list_trees_for_series 2054 + ./pw_maintainers_cli.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 pw_maintainers_cli import (Maintainers, GitPW, Diff) _git_pw = GitPW({ 'pw_server': os.environ.get('PW_SERVER'), 'pw_project': os.environ.get('PW_PROJECT'), -- 2.25.1