From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web10.3284.1587136888022937272 for ; Fri, 17 Apr 2020 08:21:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=a4et6Tg0; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: erik.c.bjorge@intel.com) IronPort-SDR: Pb88s36Xwx4xfpZDHHqRtmFrZ6uvEAX9BzxG8KBVeWciJzQYMJW7GR8QvUPA75LqHinQwzaNZr t5Z575M3JnWA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2020 08:21:27 -0700 IronPort-SDR: /JpSM0DXKvaFv2aq5Dx63CoYp6QvQRX5qhMje4Qm0nAFQG5N39Ix11jDLXc6j8oEVtV6cgDmjv zi3wL94NNowA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,395,1580803200"; d="scan'208";a="428257971" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga005.jf.intel.com with ESMTP; 17 Apr 2020 08:21:26 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 08:21:26 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 08:21:26 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.50) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 08:21:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I57bCHQqkVc4Embu/7iE9GcduHZshAFw0WFFpeY1HWJDeCJzC6HsAZ5DiogwU73/2aZLqcjKYBnE9AoMdubLftj/ak4Now9xuLwLXhhuo7D6KpGbhJiJNWb44CyMOOgnlcn4r+KZEisByvc0+RFK+FHaJNe2e7lvALlylLyhpPNsTleRX3nqYW2Y58104R79L38M8gms9YB7ovq2KUGV4R4eU41OWdmGdMLRa8T72PQL2uacJTnJhjd72bECf3EN/iwtV/CZ3+Exp8EtY0hAHe+p7IQ5BsSgBQSOvux5eIrOrn3gpTl5p4Z48/FH+IfV8ZiKqSwQEeccokBFr+g5OQ== 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=4y2e+zQoBJcj5ceXOMj/1PZ0jV2UsdSwa6fwIMNxIdA=; b=A+E4U36zKniCMqoABOxeKt1h1p1Aq0vDt+8gyR3SA/AY+GDVAcdzY5y3ir9zyCYakDK1iM5GV8YB5ScTTDrVt9lRMBzNaKu9SHpfjHwvkGjnzEfnNG80EFY6EqJE1Xaxsu1tTbXcO5dcTLCPNZoSQ2WxxCWtxGj3q6a9s8+Ty+ML15IQuHtnizbHy+DApH1elKMZDp2YimeDZONcTmomxMyULv+ZZjLVdf8xKZoL/AVFL4UDJuPE9EyxhKHKdsbIOxQ8o+fmoVTjbvkaz5Q9Zwv930qatWy+2mhxUXf4VLDEiBLlsR1mbFUW55xkstO1EHudWtuGrPQ1gdtMWpEZEw== 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=4y2e+zQoBJcj5ceXOMj/1PZ0jV2UsdSwa6fwIMNxIdA=; b=a4et6Tg0Jui1NA6RRpATKp3XJTKvGM5wpOj1FlExB6MsYTIWnl7YNPgzv7ojMGrQnoAT+OU69YUYNnlAWtJ15B70Q9UFYxRmxd/jsuyDdYr/ykckhdTwn2wUBHW9DE5mK4BCWDw5Dvy5qaVR8GSnYgVtXbxjsghhR4KskKAm7w0= 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:21:24 +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:21:24 +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 1/6] EdkRepo: Support Updated CFG Format Defining Multiple Manifest Repos Thread-Topic: [edk2-staging/EdkRepo] [PATCH 1/6] EdkRepo: Support Updated CFG Format Defining Multiple Manifest Repos Thread-Index: AQHWFGi+Pd/aVhbyW0StHBR06saAj6h9btWw Date: Fri, 17 Apr 2020 15:21:24 +0000 Message-ID: References: <20200417033123.34972-1-ashley.e.desimone@intel.com> <20200417033123.34972-2-ashley.e.desimone@intel.com> In-Reply-To: <20200417033123.34972-2-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: f3b3b67a-0ba1-4709-156f-08d7e2e2fdea 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)(15650500001)(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: TXzJFLHDWHMOOKA8AbzhLvJwiFi+6BY8xu8eF0lcRCSSoru44HygQU1N2bqK4nj27eCr182oRbI5b5aiTbL76J3BznvSGR9PhONWfblBm6amiRByInnnDhpjdILAxfEMrh4BCjHJ1HmRT6+DVSnxDdDhJkr9dYsBd0Sg60hNlcgICrthFI1eGMtuEpT1+GBKrhha4cBZYAGCKUho7sZfi3rDQTNgLntlzWFiysmCSc9H9nfyPJcyA4MyDaegJPMa3zWxNYpbmWM2ub+N9kX1V4/0TuQGPYnh6EusZtd5GOIspoXrgAAi2+cCaeen+w4cuixi8XPEZFXQKYYPuCBrJ4kF1E/Mj0/KpEwpklBWC6/Om5Ji4ReYOqbCff8h3AXd4pFODuKYYALZRQOGcvt6uKUL5Yc750ulKhuJ8RHz15s6Tk8vL0LHN1Lp0lm3q0rz x-ms-exchange-antispam-messagedata: fvxq+O3LpJE73Ya9S69byxNZRbCadgDTTdJnhbPEwTCtFp5TOY947ak0ICXJ+cFJlBJtD7PggfFkm49GUNrfUPZsuQ45b/KvhLYtispwlWBiQj+kPx5POC+vt368VMwam4oFYJh6nK8RNdR3bbtqxw== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: f3b3b67a-0ba1-4709-156f-08d7e2e2fdea X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 15:21:24.5253 (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: 17QO9iILIA7N5c44THY8LTHHbknA6VlVSE1TA71YoBHOgK7z/wHfG58TiYu6KSvdNzfQtz7wfGAfX7B69nX0/w== 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 1/6] EdkRepo: Support Updated CFG Fo= rmat Defining Multiple Manifest Repos Add support for the following cfg format to the BaseConfig class enabling i= t to be consumed by both the Global and User configuration file classes. Cf= gProps for each listed manifest repository will be dynamically added to the= classes prop_list. Configuration Example: [Manifest_A] ... [Manifest_B] ... [manifest-repos] Manifest_A Manifest_B 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 c342838..6c14f1b 100644 --- a/edkrepo/config/config_factory.py +++ b/edkrepo/config/config_factory.py @@ -85,6 +85,12 @@ class BaseConfig(): if os.path.isfile(self.filename): self.cfg.read(self.filename) =20 + if self.cfg.has_section('manifest-repos'): + for option in self.cfg.options('manifest-repos'): + self.prop_list.append(CfgProp('{}'.format(option), 'URL', = '{}-manifest_repo_url.'.format(option), None, False)) + self.prop_list.append(CfgProp('{}'.format(option), 'Branch= ', '{}-manifest_repo_branch'.format(option), None, False)) + self.prop_list.append(CfgProp('{}'.format(option),=20 + 'LocalPath', '{}-manifest_repo_local_path.'.format(option), None,=20 + False)) + # Create properties defined by the prop_list cfg_updated =3D False for prop in self.prop_list: -- 2.16.2.windows.1