From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.3759.1587155229527506148 for ; Fri, 17 Apr 2020 13:27:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=wyjZR1x0; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: erik.c.bjorge@intel.com) IronPort-SDR: 8wWops8Q9AujJLnwyHUqH9EZk1qZX6hgeFTCuGXBTl7JjjE48ULFtz8OzSheWUlkUOTJCYtSNj TdQz+AcLgySQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2020 13:27:09 -0700 IronPort-SDR: uA1mBYnqBpQns6VyrohloJxWRg3MJl46RWlxWdhfugS8DfCS2k91EThc3MHMlE5EIHjAIIBY8n rLTwndB9r4lw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,395,1580803200"; d="scan'208";a="401143453" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by orsmga004.jf.intel.com with ESMTP; 17 Apr 2020 13:27:08 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 13:27:08 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 17 Apr 2020 13:27:08 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 17 Apr 2020 13:27:08 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 13:27:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ty6Hm2TtRqtexjdQgRDytB+rdl2H7aEEaA+xFOrOWacZ1QszdFSplQDigYs9fD0TwmYYpOOFEIdaSxzCvIbvNGGAdNwtyJ/eNNP1Pkb8zDlxn3reCuged9avY/qPo3PNq0WMOVLqBw4t/gGrgA9aDynP/socvmh6FlVXphdLHUB/nylYneG3m3mbdS3DqwhwjRx0mdSUmKpP4ff9TNaW/tIq17KWDs57WOtRgSLSnOmEYdax3kJ6xjZl0B90hBjxGGiV/vRgm4wRdlw32h9chggOqRTSj/97/eFVP+F7yyaV5s7fxPDhRfuhOftDjjbuMxz2pBH6RdTmySFkzt7ItQ== 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=1eCaI1HhdRQPErda9CV+o4OSXzmh+1iCuJi6jP51F64=; b=ddxRY9rLnQ0UR1DK+KBLCAc3eLT6PDABCYBjCQvRSkxjH8sB9HnJ09P6ZoIV8+Yp/mTYhTwIOTQGqYfIJ7zON1HQHhEOxepccmxWqkvM0j0xBrJk3b05CIuF2FIp/m/sZnTvLwCZ84k+uSMu2Qx6AFkJ9B6zcoN+vWEVURdCCTqW1MOoCLDmJ3KTqNDyct2btTib5J8t3MIP8b1XRpKB79GpZDzWK7H2Sm7xQqGeDaxfcgn972O2M9BtYcfDwORokSWVbER6BcfxdNNXgazRBuoQMoy+OKChwlXt5adCGLvQzb/iR/KGX2hk3912qCFjTNxJ6AIogq1ELAWwB97f7A== 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=1eCaI1HhdRQPErda9CV+o4OSXzmh+1iCuJi6jP51F64=; b=wyjZR1x03zPPuM1lVdcqQ18RZ6zVkSk2uCz4HuR6ZnTFIl0hXKJoSZuTcJ6IlLvsBM31dwh6c+RSww5bnSyny+NZJKSymLW11sMXtmFyJS67Er3Bq72dGjF/FQrO6NfW8Rc2rY1yjfDyGUzg4VFLuT9opAT6dfXI/GyZG2UlDMk= Received: from MW3PR11MB4554.namprd11.prod.outlook.com (2603:10b6:303:5d::7) by MW3PR11MB4761.namprd11.prod.outlook.com (2603:10b6:303:53::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.26; Fri, 17 Apr 2020 20:27:04 +0000 Received: from MW3PR11MB4554.namprd11.prod.outlook.com ([fe80::c569:9903:4c10:9281]) by MW3PR11MB4554.namprd11.prod.outlook.com ([fe80::c569:9903:4c10:9281%5]) with mapi id 15.20.2921.027; Fri, 17 Apr 2020 20:27:04 +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 v2 4/6] EdkRepo: Add manifest_repo_props() Thread-Topic: [edk2-staging/EdkRepo] [PATCH v2 4/6] EdkRepo: Add manifest_repo_props() Thread-Index: AQHWFNxLvsos93kQmUqxEDU69UyWVah9w1kw Date: Fri, 17 Apr 2020 20:27:04 +0000 Message-ID: References: <20200417171829.23032-1-ashley.e.desimone@intel.com> <20200417171829.23032-5-ashley.e.desimone@intel.com> In-Reply-To: <20200417171829.23032-5-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: spf=none (sender IP is ) smtp.mailfrom=erik.c.bjorge@intel.com; x-originating-ip: [192.55.52.194] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6c7b56e3-4e8d-48d6-8e37-08d7e30db14a x-ms-traffictypediagnostic: MW3PR11MB4761: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-forefront-prvs: 0376ECF4DD x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW3PR11MB4554.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10019020)(376002)(366004)(39860400002)(396003)(346002)(136003)(71200400001)(8676002)(81156014)(110136005)(54906003)(4326008)(7696005)(316002)(8936002)(478600001)(86362001)(55016002)(9686003)(2906002)(107886003)(53546011)(6506007)(186003)(66556008)(26005)(33656002)(52536014)(5660300002)(66946007)(66446008)(64756008)(66476007)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vt0Lviau+imy+O4YsSq9V+iboMxb8zT+80rBaLd2xCvg3aoo0Ms60Mu9TUjJM1ZPG/JZJ4NMK2mcod2S2IMl+NCTZozyb4b0weoMa4ot9l/wGunGL4XVrliPg8VnOwh1v/Jbh6BaXMR5fWi3oqunNweXTcjncUYgKCMXo9h51kXDT30vk6MQqOO/XAvAByyfwL+VEfP3+MxTEcAsY8/1Do562Hsc3Uda6RwlwFShKIcM/ekrSNcHPvDoho9z/zdQDwmzUfavQuiWeljg6gd+8s28N+71ru3T14qW/Zw/avvxLHBi/94gvN32yrBl6iE33yL0400DKt79kAcL99laP7tc/Y/sePkkt+dmtQ3S4aXtbv9pZgoU+aM44V04R9sPaSDiIYIQAlEil4wSyoDm1676K8Fr3+zog16M2Xop6RceF2+iara4pkb3T6N8BKA6 x-ms-exchange-antispam-messagedata: e5MetY16Mjs66uf/AQN5+etraaC3q2PhrxsNMEvwdofGRGoAXUYVc9n72TifA6syfbWsgDgIL1hFYWDbLGp7re2fTEKd8CPgWLv2kCCkYF17NUIrCgWyjHurzDev1NEJgazmzQcPuNzRFWJUyQs2Qw== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 6c7b56e3-4e8d-48d6-8e37-08d7e30db14a X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 20:27:04.3234 (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: BYqAAdynn7YV4X7PLbyn/yiYNcRlqXM0/qZ/KFGOs9n7PY8snpYi9YPMm4C+bdnBOyD2Z7lrgimPFCatrLe0TQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4761 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, April 17, 2020 10:18 AM To: devel@edk2.groups.io Cc: Desimone, Nathaniel L ; Pandya, Puja ; Bjorge, Erik C ; Bret Barke= lew ; Agyeman, Prince Subject: [edk2-staging/EdkRepo] [PATCH v2 4/6] EdkRepo: Add manifest_repo_p= rops() Add the manifest_repo_props() function to the BaseConfig class which return= s a list of all CfgProp objects for a given manifest repository. Signed-off-by: Ashley E Desimone Cc: Nate DeSimone Cc: Puja Pandya Cc: Erik Bjorge Cc: Bret Barkelew Cc: Prince Agyeman --- edkrepo/config/config_factory.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/edkrepo/config/config_factory.py b/edkrepo/config/config_facto= ry.py index 6f89589..1afa221 100644 --- a/edkrepo/config/config_factory.py +++ b/edkrepo/config/config_factory.py @@ -118,6 +118,13 @@ class BaseConfig(): """Returns a list of available manifest repos""" if self.cfg.has_section('manifest-repos'): return self.cfg.options('manifest-repos') + =20 + def manifest_repo_props(self, manifest_repo): + """ + Returns a list of cfg_prop objects that pertain to a given manifes= t + repo + """ + return [x for x in self.prop_list if manifest_repo in x.name] =20 class GlobalConfig(BaseConfig): """ -- 2.16.2.windows.1