From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: ashley.e.desimone@intel.com) IronPort-SDR: DOJYn8ugh9s3uxFRrpky8W6cfwhOVbqP1C7/XYyU0JQIUXtQpPFshIb/p4ykm+usldUPkfM8KK Ct2OAQYwwtRw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False 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" 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-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> X-Mailer: git-send-email 2.16.2.windows.1 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/commands/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 = "Don't actually do anything" OVERRIDE_HELP = 'Ignore warnings' SUBMODULE_SKIP_HELP = 'Skip the pull or sync of any submodules.' COLOR_HELP = 'Force color output (useful with \'less -r\')' +SOURCE_MANIFEST_REPO_HELP = "The name of the workspace's source global manifest 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 = {'name': 'skip-submodule', 'positional' : False, 'required' : False, 'help-text' : arguments.SUBMODULE_SKIP_HELP} + +SourceManifestRepoArgument = {'name' : 'source-manifest-repo', + 'positional': False, + 'required' : False, + 'action' : 'store', + 'help-text' : arguments.SOURCE_MANIFEST_REPO_HELP} -- 2.16.2.windows.1