From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.3739.1587155190787103158 for ; Fri, 17 Apr 2020 13:26:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=OuSKNsR0; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: erik.c.bjorge@intel.com) IronPort-SDR: KSfkUXomeAgdl/0N+AoEjJ38wFMOXXKk29/xYS+FfN7xjlLSpjDLRLww156uLC6nUVs4Ilr2UU DgCRzVKQe3sw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2020 13:26:28 -0700 IronPort-SDR: u7DVEaisMBzflvl76lRahQFttHTOEEAUZp0ZbxjzB57oNs5PzBZvrcLGXD/jeviBxx46jL8hQ2 ix2lexLbv3VA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,395,1580803200"; d="scan'208";a="401143319" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga004.jf.intel.com with ESMTP; 17 Apr 2020 13:26:27 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 13:26:19 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 13:26:18 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.56) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 13:26:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XxieUBc477T11Y+j6QpttXYnhY289GGb5rInLUfulOkSa5bUNBD84e+st5hFkTZvVCd4vyUknGs6rtXM1BXNBY4rvrSNF0akOarfxef0XGUBFzzz/8ujOQGQuNgqXnaTAJ1SCvmV+NB8vX462qG+nWud8ZnvmF/Wvjv1cTzdJ1djAiaanqufIMmMsT4SMJFPRf3PW0CC7YTa2VADjC+nKn4KbJSplE/Nf+GeRN0J5zbKmEVyFQX6hdFKSQXBXHqaViu0Lb6Ho36Vk0ik83QXWDvYbUu7SvHm4YQ3lRQt5pDhDYY3D+XYufCSIszTGedoz+rBaSAThQZl9b05k31pSA== 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=rwiILK0oj/ZYy+vn2zBeRhZcSYHjoux/N8pQM+ZxpqI=; b=GU8S5I/iiYwpYQ0NML5buhycZGgn0t8LfRJ3S5KHG9etQCd8N8taKk8zqwsntLGcKgH6WbgnMLw4uHDfjems+d4cHoFS9UuvmGJFipCZR0COKfaYjWxYH6KfmKJWw2lDIp1RD4XtfvIXArPi2zHEXqdTgpXIaXNtLNLRyqk+kP18ufZeBMGFiO6HcDBnHrykvB8lxOPPwUNsrpEaAqK+5Tv2DPqGAd0p12gL/2dpcttgHjwu4UW3kDTy2a6NKqjVtjAIfxn5AlpMkTI2IfMkNxPHDmgTg250f3dGjPc7dFB7w+CLh/4do4bdWcUDRYo4z+bDMRWEhYOjmOeO5fB0Bw== 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=rwiILK0oj/ZYy+vn2zBeRhZcSYHjoux/N8pQM+ZxpqI=; b=OuSKNsR0khK4R92LNjC7E0bNe8mzyCoA+WTkhVZ2fNJMjem0pKcGZJFxtEbFuqme1kcM45QDDVDUABWxDVrbfvNj+PflyiH8xpRPYUWyNVy/UXpdKCYEd9wph9SjisKum1OYYDFYlKs3sGjjMK6z+jiRl8aEXWbBNoR7WPtbg3w= Received: from MW3PR11MB4554.namprd11.prod.outlook.com (2603:10b6:303:5d::7) by MW3PR11MB4763.namprd11.prod.outlook.com (2603:10b6:303:2c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25; Fri, 17 Apr 2020 20:26:15 +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:26:15 +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 3/6] EdkRepo: Add the manifest_repo_list property to BaseConfig Thread-Topic: [edk2-staging/EdkRepo] [PATCH v2 3/6] EdkRepo: Add the manifest_repo_list property to BaseConfig Thread-Index: AQHWFNxLK3e6iQqH10GNuo8HHIlI4Kh9wx3A Date: Fri, 17 Apr 2020 20:26:15 +0000 Message-ID: References: <20200417171829.23032-1-ashley.e.desimone@intel.com> <20200417171829.23032-4-ashley.e.desimone@intel.com> In-Reply-To: <20200417171829.23032-4-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: b57a4c14-422d-4824-e283-08d7e30d93fa x-ms-traffictypediagnostic: MW3PR11MB4763: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2803; 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)(346002)(376002)(39860400002)(396003)(136003)(366004)(53546011)(66946007)(107886003)(54906003)(316002)(7696005)(76116006)(8936002)(110136005)(9686003)(5660300002)(71200400001)(55016002)(66556008)(64756008)(66476007)(4326008)(478600001)(66446008)(186003)(26005)(81156014)(2906002)(8676002)(6506007)(86362001)(52536014)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Uj3Xq2C486glWB3UsI+N6ja/ZBac039y2b31r+bDjYeFWVyF/LsX1m5EF8EGx+zWOtIzeV8ASSVPangNYUGxQRcJSWtjwmghG7LpdK1d/gWF09I8jy7pkp/2gW3RMsvU23DEBObkGa2CeILD/7S3aKiKD9ksJ1Lq0PxtwuINOJk+Rj9Hvr/FhqF9n9lD/HEi3QeJF/acCt3/vzl3PQyUqvtDaywPKS7ndfDG/e4x5VQCSfQ1zxWQWJ+XCZihmMtOIjzil+DQxPS37uNZtE4npZUCXj1zdigl1yJvyUBcnPqY0qswnWfvJjZaR6GeCzDmdpoVaDsdlRS91eHi0r/IB3gtsjJe/l93zdgVn1OzQZ0/tFJU4gwmzrWW4qzuaFvbK7kN0xaJ++mAY+bM3BcfXGQXOdwcVg/4RhcKT9ZiTP8ONdkBCRSrg1cu7hkvv12u x-ms-exchange-antispam-messagedata: StH6iVyQ214AT3omZHr4upMCXD37jAL2zLh/2BfUM71kX3m0dU81mDiarU0F6i1QVkn4SFtO6cdXFH4I0bV4WgjO1MF1xX5zl+wcLO4zXh1t6HJHBaUtva3QTdNyLwF8qFpUL8FIzuoqbuDtopHLsw== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b57a4c14-422d-4824-e283-08d7e30d93fa X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 20:26:15.1234 (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: rFoGxZePkwDAUPq2S/WVD/gajXtS1qdYoxXmJ9IDmB65uvRu/cBJrkGr/rwMk2IlCLHcyGq/XAy6RQXolXR0pA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4763 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 3/6] EdkRepo: Add the manifest_re= po_list property to BaseConfig Add the manifest_repo_list property to the BaseConfig class to return a lis= t of manfiest repo sections in the config file. 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/edkrepo/config/config_factory.py b/edkrepo/config/config_facto= ry.py index 6c14f1b..6f89589 100644 --- a/edkrepo/config/config_factory.py +++ b/edkrepo/config/config_factory.py @@ -113,6 +113,12 @@ class BaseConfig(): with open(self.filename, 'w') as cfg_stream: self.cfg.write(cfg_stream) =20 + @property + def manifest_repo_list(self): + """Returns a list of available manifest repos""" + if self.cfg.has_section('manifest-repos'): + return self.cfg.options('manifest-repos') + class GlobalConfig(BaseConfig): """ Class access structure for the edkrepo.cfg file. This file is read on= ly and maintained by the -- 2.16.2.windows.1