From nobody Sat May 4 18:07:25 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+58529+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58529+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1588378491; cv=none; d=zohomail.com; s=zohoarc; b=m72crhzqjpaYv70KUUTG0ZcvTI6qGh/UdV1i4HAkC9aWqeuBRr1OOgyMZXKim6vdUK4mQH3RcXyeu3BSK3MH0JJWRMojw8iIiv6Ed6HGnFGl05ooS5rVh1o0vK/T6fkRiBcKJHkWcg7F0G3oM11tIbiAgsnYXSp0M/csumoA3xs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588378491; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To; bh=lD/e2iTNwY5i2n804DaPKaHu8feUJ9kwwPJ/WYxPBkw=; b=TeHgblpkefvX3/AWEhqDdCdhWQaE6cc9q3Jd0v78h6L00tClD4TVAcLs9mELBFCIDk5Xzksw7z2kg9fPqXthgFrtMa9RyLPDgJ42p7I0k1r/KUM/DP7JB86mT/CILL9b2DdgNc4S54DLeS5x0BBh1/Pipgm4lgg4SWdVixDQZOY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58529+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588378491058763.703671445289; Fri, 1 May 2020 17:14:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 2e0WYY1788612xCcQvZhzc34; Fri, 01 May 2020 17:14:50 -0700 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.2231.1588378489946886624 for ; Fri, 01 May 2020 17:14:50 -0700 IronPort-SDR: DOJYn8ugh9s3uxFRrpky8W6cfwhOVbqP1C7/XYyU0JQIUXtQpPFshIb/p4ykm+usldUPkfM8KK Ct2OAQYwwtRw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2020 17:14:48 -0700 IronPort-SDR: yBH2xeGnumocpLsIEOaPfKYvFJ4I4PRgeWfrb3sthnpDv2Cc0QsDKoD9zC+8iI8HpOt2c43emP A39OPC/o+UcQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,342,1583222400"; d="scan'208";a="337756404" X-Received: from aedesimo-desk.amr.corp.intel.com ([10.212.28.52]) by orsmga001.jf.intel.com with ESMTP; 01 May 2020 17:14:48 -0700 From: "Ashley E Desimone" To: devel@edk2.groups.io Cc: Nate DeSimone , Puja Pandya , Erik Bjorge , Bret Barkelew , Prince Agyeman Subject: [edk2-devel] [edk2-staging/EdkRepo] [PATCH V2] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py Date: Fri, 1 May 2020 17:14:46 -0700 Message-Id: <20200502001446.19984-1-ashley.e.desimone@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ashley.e.desimone@intel.com X-Gm-Message-State: 05SqkoSyMPaXm8YpJimxisAAx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588378490; bh=glSxcOFIvtuHSPfk2q946kC7WjCAdSICi4cUFHtWUuQ=; h=Cc:Date:From:Reply-To:Subject:To; b=ZeCuw6/khfrHz/kYdWxx5bt9Y1foCFk7dL9qiW3iksNtd2b+yGiJE5J1p68KbirDAKQ d/XkE5BsghwZclTUT4j8S/Ecz11CtTK1+Q28asjrC1GYH2y4XAYJVZOXsZBGwktJnFpAb dHNwtyCas77t5gpO3Dd7ounYI5tJ5XnjChA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add a common definition of the source_manifest_repo argument to edkrepo_command.py to enable selection of the correct source global manifest repository by commands. Signed-off-by: Ashley E Desimone Cc: Nate DeSimone Cc: Puja Pandya Cc: Erik Bjorge Cc: Bret Barkelew Cc: Prince Agyeman Reviewed-by: Nate DeSimone --- edkrepo/commands/arguments/edkrepo_cmd_args.py | 1 + edkrepo/commands/edkrepo_command.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/edkrepo/commands/arguments/edkrepo_cmd_args.py b/edkrepo/comma= nds/arguments/edkrepo_cmd_args.py index f2d7eb6..e8a6138 100644 --- a/edkrepo/commands/arguments/edkrepo_cmd_args.py +++ b/edkrepo/commands/arguments/edkrepo_cmd_args.py @@ -16,3 +16,4 @@ DRY_RUN_HELP =3D "Don't actually do anything" OVERRIDE_HELP =3D 'Ignore warnings' SUBMODULE_SKIP_HELP =3D 'Skip the pull or sync of any submodules.' COLOR_HELP =3D 'Force color output (useful with \'less -r\')' +SOURCE_MANIFEST_REPO_HELP =3D "The name of the workspace's source global m= anifest repository" diff --git a/edkrepo/commands/edkrepo_command.py b/edkrepo/commands/edkrepo= _command.py index f69bdb8..edd29a9 100644 --- a/edkrepo/commands/edkrepo_command.py +++ b/edkrepo/commands/edkrepo_command.py @@ -48,3 +48,9 @@ SubmoduleSkipArgument =3D {'name': 'skip-submodule', 'positional' : False, 'required' : False, 'help-text' : arguments.SUBMODULE_SKIP_HELP} + +SourceManifestRepoArgument =3D {'name' : 'source-manifest-repo', + 'positional': False, + 'required' : False, + 'action' : 'store', + 'help-text' : arguments.SOURCE_MANIFEST_REPO_HELP} --=20 2.16.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#58529): https://edk2.groups.io/g/devel/message/58529 Mute This Topic: https://groups.io/mt/73475362/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-