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 3D585A0C4B for ; Mon, 8 Nov 2021 07:29:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1210540151; Mon, 8 Nov 2021 07:29:20 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2083.outbound.protection.outlook.com [40.107.100.83]) by mails.dpdk.org (Postfix) with ESMTP id AA1DA40040 for ; Mon, 8 Nov 2021 07:29:18 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SG5YZxtZ0MbJJ/sGI4av64DeAsiEImwK3x9kiJ5m++Ib5KKzuzKIw3LdE4kBYdGHJ5B03vJguSRQD4x9TokXGDmembLpcz0iSNuCRJOMrX/fBvBUhlgSRtYqgOqSRvZgiewQee/MeSD661PWcWcJqN5NMlIK8fPKz7CPI4jSDxofEgFHIhrsve1lI0mAQ8H5+6Ng3hq03yoy5+T1lRGY4XH7H8uX37GAFBfTGcbDWDjjC4j0CW81qmybgHJSjqtaraquS4xDVqeS4ZirX0VxEHCOoD+7BQ8LAU2DokvyqbpmIXFJWlUf/CHybjupPIiW7ufMKq/yz8BmBBSDmnjaNg== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uN3niDA86+ey05EfNhJnouj1NrINLGss+7l+Ta7WejM=; b=KQgVyltD6qpH5TZ5KZrhMoq1PqS01rhfApadnGOVWr9zxZWtWmafARDv1wo6GQKOATJ8yvF6G+FjEh74TskXkrpdhvxxYjSs49b8e0FtXocVirbaBYizEEQMzvmt+W6JeBLpi0T2saQq0X/Aed8dJvPSmqva9CwH5NNaaGDpAWB+nRwpWDfXnxQ4DiotDnjh1cDecPRFA6hllxzPhMl0oAARLfvbp8fPxE7gDqlBPdus7axrx6hZpjQR6lMvc3FxR0L/ydOjte8UkhY9OU2D1iL/ra5hvA0uQr/IMK23ZRiq1InsiyKvdsYUQSxa6zSFzdgmRdR/QOW58XHmfo6RWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=uN3niDA86+ey05EfNhJnouj1NrINLGss+7l+Ta7WejM=; b=rZ1Dr/MlpPU+RpMShhad8nIq5o3VJwxanJJ7jwMTjcesw4Shlqtb1eGBRORVa5WHkPnz+YXeImGgYZTpnrV3+xvlvOb/2//JdJN1fgszdbeLP8Dfj+POIDOLzwaitL5ZRMI+SQ2BbtOFrKpDMZ5rf8TND9avGkhJnom6O4ZrM/i5XTF2qz/sqF7bVuyX9xEyewOTrMIpVZUz/na9zlcSCuj7pQQWaNClvv1OYXSebs7pnHnFJrVLD61Dn+7pzD5pUwfWnaGcwk+niIq+jalcsiEnoFtRkvUWmOPjM4cJWHkjNt9cD3CEXdTzo4UJnJnoIds52icoYuDC43kCoc6qHQ== Received: from DM5PR08CA0041.namprd08.prod.outlook.com (2603:10b6:4:60::30) by DM6PR12MB2713.namprd12.prod.outlook.com (2603:10b6:5:4c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Mon, 8 Nov 2021 06:29:16 +0000 Received: from DM6NAM11FT024.eop-nam11.prod.protection.outlook.com (2603:10b6:4:60:cafe::a1) by DM5PR08CA0041.outlook.office365.com (2603:10b6:4:60::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10 via Frontend Transport; Mon, 8 Nov 2021 06:29:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT024.mail.protection.outlook.com (10.13.172.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Mon, 8 Nov 2021 06:29:16 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 8 Nov 2021 06:29:13 +0000 From: Ali Alnubani To: CC: , , , , Date: Mon, 8 Nov 2021 08:28:06 +0200 Message-ID: <20211108062815.7614-2-alialnu@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211108062815.7614-1-alialnu@nvidia.com> References: <20210906154537.1299-1-alialnu@nvidia.com> <20211108062815.7614-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: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fbdea8be-58d8-4db4-1ddb-08d9a281167e X-MS-TrafficTypeDiagnostic: DM6PR12MB2713: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: 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: 7EMRQQqkxefKhJ0n5hhy3lNj0kEq7y5F3I1r8LUlKplkW6jEYSEHCAittXl8o6mllYvwOLnPJ7pD2rgMBQNUmszofw1AClcd1sVCxMUaXwg4wv58nTbMf8Ymq3jCckbuV8AgomFKOE8/JsGrlHpKeSmOiW/8r18BPP7Ng+SGYbaPXJOVrQMeLDpN02cUy+n3sZ2ugHcyZ4tE+yw7HNHz/h0yKRe9jBUKF1xgPD5zh9r4JhOmJrLatRwtP4xTsqx6ZlmPfW/vokG3b4i5ZKBB5sl3fooV1k/F+ApbMwkiOTjJrDmwoT3/xl04TILeGjzbUdOVPbPwEIs8aXhrOSpT4lk5TRu7uQMM57P3zZaGwYSjrw/bHPBE+v+ZqkvVjaRGV9mWNonap9ZNgawjBelaI+hb8PY34MUeGtESGrCuBjo2hKW0ed0Sigac1eiV+Ekbj9iQP96zxJMspE0SzWtm+H75RuaQDcUlpVjaqD9//rJ8t2kRPC9RiBkwcUaE9YZj5XTxXgbEPjpy9uMK3J/Iq37ZUEXkkcGOBQHOVkG+sW2E1JMECpg6qLB7vLoPXhpLYWW2BuEoiB9dRauRhFP/TruuW2LEuohYQKuahhz/IOiBGtnMyZRZTZz7r8GOHz4tXTPEQZz/t/+ND9xVfqIeSqjxX8EwwBUP5wnkd9SxV7sBDUTxP/vu+LIwb//HZygNdAYScs4U+9kC5TbnceddaA== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(6916009)(70586007)(70206006)(16526019)(36860700001)(4326008)(186003)(508600001)(1076003)(6286002)(2616005)(82310400003)(83380400001)(336012)(6666004)(36756003)(356005)(7696005)(86362001)(426003)(316002)(55016002)(26005)(2906002)(8936002)(8676002)(47076005)(7636003)(36906005)(54906003)(5660300002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 06:29:16.0351 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fbdea8be-58d8-4db4-1ddb-08d9a281167e 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.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT024.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2713 Subject: [dpdk-ci] [PATCH v4 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" 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