From nobody Sun Apr 28 02:36:45 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+58518+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+58518+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1588358231; cv=none; d=zohomail.com; s=zohoarc; b=RwimbuqcV2+eGCq4aMl2BeVO+SWxpBOi35obbNNOFKfVgqWjBMvoKf9W5lxARtD8UzXq4bc5Sv3we/83whAwu0xrvIr3LYzK67uQRlz7vjInBsZSiT+/qehl3xDQYinFHdTwyj75Mm70O1RvfUf+CpS1NaVPNZfKzLImBLD9F4Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588358231; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To; bh=iadpTQURyOXP2dZnaTT5/Lbuy1ELhXZcA+3vr44YSOQ=; b=FWL5yqF5uuX3Os4h7IetFZc8tDq70urlRGY/IxTC8AzZngeJvs2VqIX2Jevkrbesz9RrtuBq892qpVknub2bphvUhPwSUkrcssrRipVz7Bfs6gStLj9WZ83XhWA1FXOiJFlqDfkr10zR1D+KEAjdWR9X5tZjvLKafMnSxIMadDE= 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+58518+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 1588358231582909.3197846760835; Fri, 1 May 2020 11:37:11 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id H3XhYY1788612x3rjcXqRndv; Fri, 01 May 2020 11:37:11 -0700 X-Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web11.1294.1588358230538648269 for ; Fri, 01 May 2020 11:37:10 -0700 IronPort-SDR: PXmlXuq8i3/ionMiBT8SWWKgQvFOaUihfdtx/woDYLk3nzdczSIXrwy1k82h8U26p13tuy+aZJ uHQwfEc48N0A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2020 11:37:10 -0700 IronPort-SDR: /umWbO17z3RI1FH8k5boGXva7gF4zNbjs/8HwPWYaO5GN9bxLvX6fx7YloPUZMHMhQOXbBq7e1 fVSoslqc/Zcg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,340,1583222400"; d="scan'208";a="293957283" X-Received: from aedesimo-desk.amr.corp.intel.com ([10.212.210.118]) by fmsmga002.fm.intel.com with ESMTP; 01 May 2020 11:37:09 -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] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py Date: Fri, 1 May 2020 11:37:07 -0700 Message-Id: <20200501183707.16812-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: xv9gHBlnZo5YvM2qMt8uTI44x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588358231; bh=sXwu0xt7mQ4tfDOQ4Q8SG1bdwLaGfvHxNKTu28H+r6M=; h=Cc:Date:From:Reply-To:Subject:To; b=hcdfP3ZWiMhBpzFq6OaSmWHPC6M93jppgM5K/kTc3TpL7ny0UJ5PIyOVuz25nrtUDvF /+Fj5QAti1ycIDaM75bDRmdCOwd5G++1zvHm7ZhqAG0fmIH5Bu1HB37BCa2n6dAoxACJH Jg10gu16lRCVIdSigVMc0qV/SvwSXF1ugHs= 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 --- 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..700b48a 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} + +SourceManRepoArgument =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 (#58518): https://edk2.groups.io/g/devel/message/58518 Mute This Topic: https://groups.io/mt/73404877/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-