From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.4089.1589589653190024804 for ; Fri, 15 May 2020 17:40:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=vlSTf39I; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: erik.c.bjorge@intel.com) IronPort-SDR: 6pw9h0q7N0tM00rdPdGbyrIPbLZ/5nsttFlzDtKuHShOGqXHJX2Kqo8rdQswY07gvafGSUcXzj k7iAR3TxvzSQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2020 17:40:52 -0700 IronPort-SDR: Zg88/9FemLwf1DAsl0bTuphWUm3rXWrb4la51XLkNAXxp0helulyHQJLaIM8YDa/5fIJwcot+S v5Hfsvn02VXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,397,1583222400"; d="scan'208";a="372847006" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by fmsmga001.fm.intel.com with ESMTP; 15 May 2020 17:40:51 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX110.amr.corp.intel.com (10.22.240.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 15 May 2020 17:40:51 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 15 May 2020 17:40:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dpc4AKiGpfp3FhRIwAU0MXz+liKMhwVZHQxrjj4Yg9V+AbQixSR1nyqr9afq9GkAXg6N78H1FGPts8QKrQgWI7izdMy1ehSkWp7w00ZlgOX+Ioar28DU2QlPidhMhglevyXpKxioG2OqsYJiShUxOlJA5GDEBGxe4n00gI8mx745i5j2qbLf1g+9PGwr42+C57YfjzXNGzprnm3K9NHRmDwsH0kSM0VKJI7b17rfJKlF3/mKkgFQuUSf2tQ71Ij/SphVqdkVmhq8i/8b4M4r8uiLJVAKPKGi92SaEEsH4rl93in0DG/hwLHk5VwOOsz//dq8VKCM0CRqaJXJgNRZ6Q== 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-SenderADCheck; bh=piZ9q9RQekuY28A/RYJv4mOiqIKXmY6C8jgD8nPJ0q8=; b=fp81fUaEZySAaocok6bU2fu5BNwD1E1aSH67lEMXpoihST733FTbnuCfW23ptZ0+lQXR7SI/Qt0APyzpAGUR2FEPwNNdne0Au1y33JPL/xBrxYBpH2Oa98zpToS54mV/GMp8Po2Mb3pFus+X9p4qiqzYVm8S1/guuVXHopU4AK3RwRDtEs/KKwnvVuCjdATaZuS+W/PtRfmYgey/7e3hqHl+yce6OULVpu33uYTJNwSI8NVQU3YtGT1BqpfcGbkTsLdK3896xxbLbom9hTvIUP2bTlzpsCNYOvE8o8OfKT2MXU5kXqLQapa/OMIaBIN47ez9w682xfZ5P8fwgs4rZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=piZ9q9RQekuY28A/RYJv4mOiqIKXmY6C8jgD8nPJ0q8=; b=vlSTf39IM81Wh2L5smxoIM1SSWQoOQpNN91mZy0MgtNaS9aIffWEblWDjhNSoepViyMGWDamtPxBGkBabCwT4Xo6ZfG4iKW2p7kWoWPXei+egUGMMq9/19ygSWDQyIMDlb78MRAkMFrFEOnmb/AaWbiniyOOTKenzVioUDs8IEU= Received: from SA0PR11MB4557.namprd11.prod.outlook.com (2603:10b6:806:96::7) by SA0PR11MB4718.namprd11.prod.outlook.com (2603:10b6:806:98::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20; Sat, 16 May 2020 00:40:50 +0000 Received: from SA0PR11MB4557.namprd11.prod.outlook.com ([fe80::1543:41a2:5e33:4932]) by SA0PR11MB4557.namprd11.prod.outlook.com ([fe80::1543:41a2:5e33:4932%3]) with mapi id 15.20.2979.033; Sat, 16 May 2020 00:40:50 +0000 From: "Bjorge, Erik C" To: "Desimone, Ashley E" , "devel@edk2.groups.io" CC: "Desimone, Nathaniel L" , "Pandya, Puja" , Bret Barkelew , "Agyeman, Prince" Subject: Re: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Pass a ManifestXML to find_project_in_all_indices Thread-Topic: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Pass a ManifestXML to find_project_in_all_indices Thread-Index: AQHWKxe0aQC9aSfXhk2W9kMiaxATj6ip3xCg Date: Sat, 16 May 2020 00:40:49 +0000 Message-ID: References: <20200516001901.13008-1-ashley.e.desimone@intel.com> In-Reply-To: <20200516001901.13008-1-ashley.e.desimone@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.2.0.6 dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.52.206] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e2b0db5d-708c-42c3-756a-08d7f931c810 x-ms-traffictypediagnostic: SA0PR11MB4718: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 040513D301 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Dr4pa4N7o5JwkEb/r5KGmTBi5xSrKtmExd6ZaWkSrBDtOYzK7OL9siYk6eXjRNYlyvR11Jiw82uFIBdGXXS1uA5XZkjjyPtrOwH0fsgrteuYKvFpmkLkb67YOjUK9c2B02zgddST82+GWMMCHqatUuNGDQ+sMXqhbnH4rdX5LC9PN02vuEdPzSujSIj5c6ncH0rGYT95EKBGCfymOtdwNW9QW8T0oV3lADIBWbnXBFLuHe5JY0S+wyDiMPZBBU8xe9lqcfpAKt6AEtKSqSZSnYjHttR9l7De7T0hKDV/GlwXxf5UMr840N5a8ldLdmjhjWYyyrx7MlWJ0ZYAEvwgNNKns+XiXbbtS5YlzlfSv4Yai7I1XYoiLh5hY+2pkxxENMRUgcNRtYjcn6GEgaSOzaEAeEsAkRAGBQhjQUDnyNVkti+gvwemmE1617mY0MzgXvXeIgY4SFCAaUbdwh83bZ7F4TSaBrDTTzdlJKiWCHP2qPahMZMustvQWSVwCfSO x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA0PR11MB4557.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(346002)(396003)(366004)(39860400002)(136003)(376002)(66476007)(71200400001)(66556008)(107886003)(478600001)(66946007)(7696005)(64756008)(66446008)(2906002)(4326008)(9686003)(52536014)(55016002)(33656002)(316002)(8676002)(8936002)(6506007)(53546011)(86362001)(26005)(5660300002)(186003)(110136005)(54906003)(76116006)(37363001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: B/mr6daK8iT+1q1873BtneMcIvfzRB7WAbuxkA7+5ZUC8fJewJNiX6bytf/CbOK6JiMyb68Y+aZqx1fZb1bkT69m/4XQKNVu6bu1KDlW/Gu3XF1ckFN5FRsuQ+X314qwAOkOIvJH0u2Gwzz6rQTydfQgmhSOULtbKeMHivy/NBYpsNkPLxjneBPigwsBpoC9BWnxKeUyh1GBf2peyKl7RJ6fsbE3AXOjvO5cr1V813pIavaTB6Xx9FGv5qJe4573xT4C5x4kxzxzVmJsWSMIgGSOligw5I25AJPI3AcyOgBKVIFmJKCNqRxnElYgRE2yTghd9whuo2B8kzeGujA7qwzZToyhatLKZxJ2tEpgUXCcXmWuz+Y2o2QofcCQg1cYenRFuaGPTqIhn3ohSrdsbYDo1qOINEl+n6KPkwK15OlaGwEGzjMXhK7wnYkzToG6dzj1Z/BR4zQqCiPO51Y0e8xUviJR2ddOGVeYjXY2Cb8= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e2b0db5d-708c-42c3-756a-08d7f931c810 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2020 00:40:49.9638 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /G+5d71gE6O9Gzpl2ZM87oKgVqQLfNg3guWd3Sq0PjQfE/Ar45n2Hn+5dOZU+ty9opjWQgHJ+uq3jntn3xjH3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4718 Return-Path: erik.c.bjorge@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Erik Bjorge -----Original Message----- From: Desimone, Ashley E =20 Sent: Friday, May 15, 2020 5:19 PM To: devel@edk2.groups.io Cc: Desimone, Nathaniel L ; Pandya, Puja ; Bjorge, Erik C ; Bret Barke= lew ; Agyeman, Prince Subject: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Pass a ManifestXML to find= _project_in_all_indices When attempting to resolve whether a manifest is a loose manifest or cannot= be found pass a ManifestXML object to the recurisve call toe find_project_= in_all_indices Signed-off-by: Ashley E Desimone Cc: Nate DeSimone Cc: Puja Pandya Cc: Erik Bjorge Cc: Bret Barkelew Cc: Prince Agyeman --- edkrepo/common/workspace_maintenance/manifest_repos_maintenance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edkrepo/common/workspace_maintenance/manifest_repos_maintenanc= e.py b/edkrepo/common/workspace_maintenance/manifest_repos_maintenance.py index 08c4fe6..db41e75 100644 --- a/edkrepo/common/workspace_maintenance/manifest_repos_maintenance.py +++ b/edkrepo/common/workspace_maintenance/manifest_repos_maintenance.py @@ -197,7 +197,7 @@ def find_project_in_all_indices (project, edkrepo_cfg, = edkrepo_user_cfg, except_ except EdkrepoManifestNotFoundException: return None, None, project elif os.path.isfile(os.path.join(os.getcwd(), project)): - manifest =3D os.path.join(os.getcwd(), project) + manifest =3D ManifestXml(os.path.join(os.getcwd(), project)) try: found_manifest_repo, found_cfg, found_project =3D find_project= _in_all_indices(manifest.project_info.codename, = edkrepo_cfg, -- 2.16.2.windows.1