From patchwork Mon Jan 23 12:31:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alexis_Lothor=C3=A9?= X-Patchwork-Id: 18505 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E4B2C54E94 for ; Mon, 23 Jan 2023 12:31:09 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx.groups.io with SMTP id smtpd.web10.40765.1674477063589100432 for ; Mon, 23 Jan 2023 04:31:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PjDe7Pau; spf=pass (domain: bootlin.com, ip: 217.70.183.194, mailfrom: alexis.lothore@bootlin.com) Received: (Authenticated sender: alexis.lothore@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 8B51B40004; Mon, 23 Jan 2023 12:31:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1674477061; 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: in-reply-to:in-reply-to:references:references; bh=0iqyCglTBYEymg7i9LJt+g77cXOAz9g9NYm0ZGvdJ8M=; b=PjDe7Pau8EnyoYjdinFTU+rXwnrpMHR+GVR+CR+G6KBtH1T50pPSah42MkqZyCkTF5FmwB EYRRFgmvsYo6oiv2HxAVa3jjeIm72j2nv0/tfkClN72GIIKsnRNbximXBECaVdvOb46/kd cjRoHtfHao0rbokhiFeO50GlDVjyjKcyUtoC4Yt5U7Q6vuG82AIcLkz/9hres3ht/zZZit 4sNMv6o6Yy7hHo/H5KPGkFM3eJzkFRZyBj3bATixGaOxruskGfmg7JLvPQECx+n3HcXwRg RZqMHQn//SDL7wzwX8dG/wEdiiSIDywu9bFJ7ZnxQqXLntnK3cjTYrks0uqOCA== From: =?utf-8?q?Alexis_Lothor=C3=A9?= To: yocto@lists.yoctoproject.org Cc: alexandre.belloni@bootlin.com, thomas.petazzoni@bootlin.com, =?utf-8?q?A?= =?utf-8?q?lexis_Lothor=C3=A9?= Subject: [autobuilder][PATCH v2 1/4] scripts/send_qa_email.py: Rename send-qa-email to send_qa_email.py Date: Mon, 23 Jan 2023 13:31:08 +0100 Message-Id: <20230123123111.37665-2-alexis.lothore@bootlin.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230123123111.37665-1-alexis.lothore@bootlin.com> References: <20230123123111.37665-1-alexis.lothore@bootlin.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 23 Jan 2023 12:31:09 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/59030 This rename fixes send-qa-email regarding python guidelines, which allows to import the script content in another script (for unit testing purpose for example) Signed-off-by: Alexis Lothoré --- scripts/{send-qa-email => send_qa_email.py} | 0 scripts/shared-repo-unpack | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename scripts/{send-qa-email => send_qa_email.py} (100%) diff --git a/scripts/send-qa-email b/scripts/send_qa_email.py similarity index 100% rename from scripts/send-qa-email rename to scripts/send_qa_email.py diff --git a/scripts/shared-repo-unpack b/scripts/shared-repo-unpack index b826c87..8e7ec95 100755 --- a/scripts/shared-repo-unpack +++ b/scripts/shared-repo-unpack @@ -61,7 +61,7 @@ for repo in sorted(repos.keys()): utils.printheader("Copying in repo %s" % repo) utils.mkdir(targetsubdir) if args.target in ["a-full", "a-quick"]: - # full/quick need all repo data due to send-qa-email + # full/quick need all repo data due to send_qa_email.py subprocess.check_call(["tar", "-I", "zstd", "-C", targetsubdir, "-xf", "%s.tar.zst" % args.cache_dir]) else: subprocess.check_call(["tar", "-I", "zstd", "-C", targetsubdir, "-xf", "%s.tar.zst" % args.cache_dir, "./" + repo])