From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.3282.1587136944604873694 for ; Fri, 17 Apr 2020 08:22:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=UOsLp/l0; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: erik.c.bjorge@intel.com) IronPort-SDR: vhXkTtwt8qF144sT9/pf0b9usXumGuM2w6Q/UyCCH5Us+Bk1Dh1/Exo47x4PHFeG/vsVQJn9Gr NC0sDcYH0Puw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2020 08:22:21 -0700 IronPort-SDR: xH2ttamRkM9oXbXvKUJigb2nTFqB0cWoauxDwqXI7Nu3bxW1yoVSyCwBX2LMYPFt63iut21+A5 x8vU2vraHYVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,395,1580803200"; d="scan'208";a="254240287" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by orsmga003.jf.intel.com with ESMTP; 17 Apr 2020 08:22:20 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX109.amr.corp.intel.com (10.22.240.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 08:22:20 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.55) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 08:22:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j/MZSJpDlCSchDTyCg3L644/LcEPzDM8oUMR/MVKfWhhrNF5mjSF+yX+tmlVP4hZdgyYy8SvcVt15+rebw1Y0oFAFvCOLC06JAMuNC/3KLmzdMOTngRZ2IN27VDilnCMm4S5G5cfJt4x238MWnys3lrwnpJSqVSV5fmGx5RFP6JouBGrqQpGmQM/XB3g0zDcPw69Vjq/u/fjR6BUx3kJJy69W1AnDhiNEp0oja5GePf1rw/2o/fvkqfAJC+Rzo27Ww8VkCIfzOubwAU3qBh8E+LZWkk+RwBTDPj6Hbs7kUnMgmz8xW+z3M6uS33dd7SCWHouo4aBQPfo0bX1BIi3Mg== 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=wI/VsqtAjlG1Rvcr1SzgU3XaFhYXdQ419PqHTGeHFFA=; b=GxILEb1Kjh8XFg2221oH+7CcsOSKpB1am4u/GGOJCVtFfZzfIHtWLE+FAlVudfBPSNxdV5HLbvGUCyEPz4ZQFXeQbP3ZZhswQebvzGy2a9PDxlF7sBQRQ5Y8LEY8Gz3y40UhUxebQwWnzMMqM4/jEs4NfIW0FlmBZZbUuK/tq4eRK2HovQQdeTHwviMSmRLtNQwKK3481fYAZZfECcjNwn3akuBSRN0cQRo4YUL+c0uzoPaAohpI0wjTx66J7nxB7XZs5kLxEHHwh63++MfgiE6M56gcTMjlwLLN/jScPpVv1f88GsuR8CZLONsSDtkKstKY4MJR53dcxDl9Th6fog== 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=wI/VsqtAjlG1Rvcr1SzgU3XaFhYXdQ419PqHTGeHFFA=; b=UOsLp/l03dF+1rudtM0bqjtX8+ksociiKJrZBGlTMu1cELZV0dKkVXdQn/rBjUSGvUrzBu10cTZTVBjv+rM683dci1JW1rwMK4BFhwG4CbCFQazVrwBRGeokqHDmoumMa1nUAPHye5crssqnALsXur/1tR8qlPW/HJrVCzDP/i8= Received: from MW3PR11MB4554.namprd11.prod.outlook.com (2603:10b6:303:5d::7) by MW3PR11MB4650.namprd11.prod.outlook.com (2603:10b6:303:54::18) 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 15:22:19 +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 15:22:19 +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 3/6] EdkRepo: Add the manifest_repo_list property to BaseConfig Thread-Topic: [edk2-staging/EdkRepo] [PATCH 3/6] EdkRepo: Add the manifest_repo_list property to BaseConfig Thread-Index: AQHWFGi/wPvB0jGvWUOUeqjUECQd1qh9bxpA Date: Fri, 17 Apr 2020 15:22:19 +0000 Message-ID: References: <20200417033123.34972-1-ashley.e.desimone@intel.com> <20200417033123.34972-4-ashley.e.desimone@intel.com> In-Reply-To: <20200417033123.34972-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: 25bb020e-2b72-46dc-0bcc-08d7e2e31e74 x-ms-traffictypediagnostic: MW3PR11MB4650: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; 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)(39860400002)(366004)(396003)(136003)(346002)(376002)(71200400001)(5660300002)(4326008)(8936002)(478600001)(86362001)(316002)(7696005)(33656002)(107886003)(66476007)(66556008)(66946007)(53546011)(6506007)(55016002)(54906003)(64756008)(2906002)(76116006)(9686003)(110136005)(66446008)(52536014)(81156014)(26005)(8676002)(186003);DIR:OUT;SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dvkUStAZBMt+rQkB61nRdnCeYeUc/iD6QeyxGXAZAt9hdID3QrLm/uCmkt7hI5MdlwBxcVuW+V/23Cpjzf32opiBTBM7llsLEEMTKN6BPCHJjgbB3Dk7/KnIHD0A9/VOqNRJpumxlIedG9HkhyTzi3rxHMS7Uyd9zMKbGrdg4S78zf1LYI71LCUIfpXcwMpRZ2PNgVYCrHMZh8lGGhJDKQH8OT/hpIJDbz0d0OHGCFWNdpGni0VHMScMnEfB1+x42Zf6gSdaf1+UOGS7K5fk7CuLdKb1isNIjwPFYy8ZEmJwqvGUT5u31zZGX1ELLMXMZ3T/NAzyJhYA7kmVUKpjzCJzrsuv79SQ6NW4MxUx6DH40fGfUGMERmyUhVtZGoakl2RZjV2qiqG6Ya8bfZ4BvFDwf9f1RvnaLrTqF8TMT8WbXEuIHW8R6ptG6HlkJEKs x-ms-exchange-antispam-messagedata: 3TJsD6sYM0gmiydP40aT5ikZCVT9OqhA4WwDY/vNT1NF0PJZHAey0uw21GDhrcb5eCVlqOHNEGzcyeIaaRI+H+YeG+CLBi6wW5h1RYDUP9JrYL9AWk8fDwuRWl924W2aAs6VoAm8dAmH9ltSktPauw== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 25bb020e-2b72-46dc-0bcc-08d7e2e31e74 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 15:22:19.0867 (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: yVp5Yo3HfQ2lgjdE08cpIlhl5E5OTA8yrmcc0Tk3jEqcAp7E28QPuKU6aI/2dTA36DSuRo/rZ2SYMulpz9fD3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4650 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: Thursday, April 16, 2020 8:31 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 3/6] EdkRepo: Add the manifest_repo_= 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