From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id E24B27803D7 for ; Fri, 27 Oct 2023 15:21:19 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Ja0/iwUhLNfxtPKho3BwOc45CB6x7+3tFkuGi6+ozh4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1698420078; v=1; b=q4pm8vXIA9G+k1CXqAptfo86tp+NFqp/aHEmcjzwfbaVGOntdsHCQwFC3Sz3aATevIshFXKd 3SR0YIpuQyv+2XjexYy9ucCLuhokRCnrjTbJyfcHnVd3pHXXfzSNAUuUzDaPcaqZdSrPttCk0bt Q8ivIAMvu1yX3a4q+dpX96/c= X-Received: by 127.0.0.2 with SMTP id j2qsYY7687511xuPeSUSDWDE; Fri, 27 Oct 2023 08:21:18 -0700 X-Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mx.groups.io with SMTP id smtpd.web10.9577.1698420077395193699 for ; Fri, 27 Oct 2023 08:21:17 -0700 X-Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-27d1fa1c787so1704371a91.3 for ; Fri, 27 Oct 2023 08:21:17 -0700 (PDT) X-Gm-Message-State: dEi31uDxuW2SE0hG35MrmOVox7686176AA= X-Google-Smtp-Source: AGHT+IHYw/CM+arKWJ+vBdbc1Aad5GrN8GOSLO0SW2DQoKXl6tCBGAESysetb8+oqo06EQzBHVy7Kg== X-Received: by 2002:a17:90b:d8d:b0:280:6aa:2614 with SMTP id bg13-20020a17090b0d8d00b0028006aa2614mr3045310pjb.17.1698420076493; Fri, 27 Oct 2023 08:21:16 -0700 (PDT) X-Received: from localhost.localdomain (c-174-164-102-13.hsd1.wa.comcast.net. [174.164.102.13]) by smtp.googlemail.com with ESMTPSA id e5-20020a17090ac20500b0027cf8869ee7sm3542018pjt.0.2023.10.27.08.21.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 08:21:15 -0700 (PDT) From: "Joey Vagedes via groups.io" X-Google-Original-From: Joey Vagedes To: devel@edk2.groups.io Cc: Sean Brogan , Michael Kubacki , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v1 2/2] BaseTools: Plugin: Integration of edk2-pytools Date: Fri, 27 Oct 2023 08:15:51 -0700 Message-Id: <20231027151551.1043941-3-joeyvagedes@microsoft.com> In-Reply-To: <20231027151551.1043941-1-joeyvagedes@microsoft.com> References: <20231027151551.1043941-1-joeyvagedes@microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,joeyvagedes@microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=q4pm8vXI; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Performs Integration instructions necessary to upgrade edk2-pytool-library to 0.19.3 and edk2-pytool-extensions to 0.25.1. This includes resolving the deprecation of builder.mws and replacing it with builder.edk2path functionality. Cc: Sean Brogan Cc: Michael Kubacki Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Joey Vagedes --- BaseTools/Plugin/DebugMacroCheck/BuildPlugin/DebugMacroCheckBuildPlugin.py= | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BaseTools/Plugin/DebugMacroCheck/BuildPlugin/DebugMacroCheckBu= ildPlugin.py b/BaseTools/Plugin/DebugMacroCheck/BuildPlugin/DebugMacroCheck= BuildPlugin.py index b1544666025e..aa3a2bbcab20 100644 --- a/BaseTools/Plugin/DebugMacroCheck/BuildPlugin/DebugMacroCheckBuildPlug= in.py +++ b/BaseTools/Plugin/DebugMacroCheck/BuildPlugin/DebugMacroCheckBuildPlug= in.py @@ -58,12 +58,12 @@ class DebugMacroCheckBuildPlugin(IUefiBuildPlugin): if "no-target" in build_target:=0D return 0=0D =0D - pp =3D builder.pp.split(os.pathsep)=0D - edk2 =3D Edk2Path(builder.ws, pp)=0D + edk2 =3D builder.edk2path=0D package =3D edk2.GetContainingPackage(=0D - builder.mws.join(builder.ws,=0D - builder.env.GetValue(=0D - "ACTIVE_PLATFORM")))=0D + builder.edk2path.GetAbsolutePathOnThisSystemFromEdk2RelativePa= th(=0D + builder.env.GetValue("ACTIVE_PLATFORM")=0D + )=0D + )=0D package_path =3D Path(=0D edk2.GetAbsolutePathOnThisSystemFromEdk2Relative= Path(=0D package))=0D --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110217): https://edk2.groups.io/g/devel/message/110217 Mute This Topic: https://groups.io/mt/102223495/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-