public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-staging/EdkRepo] [PATCH V2] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py
@ 2020-05-02  0:14 Ashley E Desimone
  2020-05-05  7:06 ` [edk2-devel] " Nate DeSimone
  2020-05-05  7:54 ` Nate DeSimone
  0 siblings, 2 replies; 3+ messages in thread
From: Ashley E Desimone @ 2020-05-02  0:14 UTC (permalink / raw)
  To: devel
  Cc: Nate DeSimone, Puja Pandya, Erik Bjorge, Bret Barkelew,
	Prince Agyeman

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 <ashley.e.desimone@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Puja Pandya <puja.pandya@intel.com>
Cc: Erik Bjorge <erik.c.bjorge@intel.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [edk2-staging/EdkRepo] [PATCH V2] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py
  2020-05-02  0:14 [edk2-staging/EdkRepo] [PATCH V2] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py Ashley E Desimone
@ 2020-05-05  7:06 ` Nate DeSimone
  2020-05-05  7:54 ` Nate DeSimone
  1 sibling, 0 replies; 3+ messages in thread
From: Nate DeSimone @ 2020-05-05  7:06 UTC (permalink / raw)
  To: devel@edk2.groups.io, Desimone, Ashley E
  Cc: Pandya, Puja, Bjorge, Erik C, Bret Barkelew, Agyeman, Prince

Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ashley E Desimone
Sent: Friday, May 1, 2020 5:15 PM
To: devel@edk2.groups.io
Cc: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Pandya, Puja <puja.pandya@intel.com>; Bjorge, Erik C <erik.c.bjorge@intel.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Agyeman, Prince <prince.agyeman@intel.com>
Subject: [edk2-devel] [edk2-staging/EdkRepo] [PATCH V2] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py

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 <ashley.e.desimone@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Puja Pandya <puja.pandya@intel.com>
Cc: Erik Bjorge <erik.c.bjorge@intel.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
---
 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [edk2-staging/EdkRepo] [PATCH V2] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py
  2020-05-02  0:14 [edk2-staging/EdkRepo] [PATCH V2] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py Ashley E Desimone
  2020-05-05  7:06 ` [edk2-devel] " Nate DeSimone
@ 2020-05-05  7:54 ` Nate DeSimone
  1 sibling, 0 replies; 3+ messages in thread
From: Nate DeSimone @ 2020-05-05  7:54 UTC (permalink / raw)
  To: devel@edk2.groups.io, Desimone, Ashley E
  Cc: Pandya, Puja, Bjorge, Erik C, Bret Barkelew, Agyeman, Prince

Pushed: https://github.com/tianocore/edk2-staging/commit/6fd03660

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ashley E Desimone
Sent: Friday, May 1, 2020 5:15 PM
To: devel@edk2.groups.io
Cc: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Pandya, Puja <puja.pandya@intel.com>; Bjorge, Erik C <erik.c.bjorge@intel.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Agyeman, Prince <prince.agyeman@intel.com>
Subject: [edk2-devel] [edk2-staging/EdkRepo] [PATCH V2] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py

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 <ashley.e.desimone@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Puja Pandya <puja.pandya@intel.com>
Cc: Erik Bjorge <erik.c.bjorge@intel.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
---
 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-05  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-02  0:14 [edk2-staging/EdkRepo] [PATCH V2] EdkRepo: Add source_manifest_repo argument to edkrepo_command.py Ashley E Desimone
2020-05-05  7:06 ` [edk2-devel] " Nate DeSimone
2020-05-05  7:54 ` Nate DeSimone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox