From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web08.206.1610133380646972345 for ; Fri, 08 Jan 2021 11:16:20 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: ashley.e.desimone@intel.com) IronPort-SDR: /nvqs3KM8PJYrQi0PtEkMCaKv2gCeXmQyz87pyQb3V7RmfaIyzyiwcsK/HxiQFXvi3rDKDhmpW KuYFhX8jKAZw== X-IronPort-AV: E=McAfee;i="6000,8403,9858"; a="196214771" X-IronPort-AV: E=Sophos;i="5.79,332,1602572400"; d="scan'208";a="196214771" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2021 11:16:19 -0800 IronPort-SDR: o2k9ID1bp9vph7ccH2KGbwdYW+joInnQTubXfkc2czP1mBUonXs8lpHwfMd/ANQnAYwaeUY04k I+ZoqvdjydVA== X-IronPort-AV: E=Sophos;i="5.79,332,1602572400"; d="scan'208";a="350963672" Received: from aedesimo-desk.amr.corp.intel.com ([10.209.3.62]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2021 11:16:19 -0800 From: "Ashley E Desimone" To: devel@edk2.groups.io Cc: Nate DeSimone , Puja Pandya , Bret Barkelew , Prince Agyeman , Erik Bjorge Subject: [Edk2-Staging/EdkRepo] [PATCH] EdkRepo: Show dev lead information in verbose manifest command output. Date: Fri, 8 Jan 2021 11:16:06 -0800 Message-Id: <20210108191606.2011-1-ashley.e.desimone@intel.com> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit When displaying verbose output the manifest command now shows the dev lead list for each project. Cc: Ashley E Desimone Cc: Nate DeSimone Cc: Puja Pandya Cc: Bret Barkelew Cc: Prince Agyeman Cc: Erik Bjorge Signed-off-by: Ashley E Desimone --- edkrepo/commands/manifest_command.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/edkrepo/commands/manifest_command.py b/edkrepo/commands/manifest_command.py index 5c6184f..eb192db 100644 --- a/edkrepo/commands/manifest_command.py +++ b/edkrepo/commands/manifest_command.py @@ -9,6 +9,7 @@ import copy import os +import csv from colorama import Fore @@ -21,8 +22,9 @@ from edkrepo.common.ui_functions import init_color_console from edkrepo.common.workspace_maintenance.manifest_repos_maintenance import list_available_manifest_repos from edkrepo.common.workspace_maintenance.manifest_repos_maintenance import pull_all_manifest_repos from edkrepo.common.workspace_maintenance.manifest_repos_maintenance import find_source_manifest_repo +from edkrepo.common.workspace_maintenance.manifest_repos_maintenance import find_project_in_single_index from edkrepo.config.config_factory import get_workspace_manifest -from edkrepo_manifest_parser.edk_manifest import CiIndexXml +from edkrepo_manifest_parser.edk_manifest import CiIndexXml, ManifestXml class ManifestCommand(EdkrepoCommand): @@ -100,6 +102,8 @@ class ManifestCommand(EdkrepoCommand): print(" {}".format(project)) if args.verbose: print(" -> {}".format(ci_index_xml.get_project_xml(project))) + proj_manifest = ManifestXml(find_project_in_single_index(project, ci_index_xml, man_repos[repo][0])[1]) + print(" -> DevLead: {}".format(' '.join(x for x in proj_manifest.project_info.dev_leads))) if args.archived: print() @@ -111,3 +115,5 @@ class ManifestCommand(EdkrepoCommand): print(" {}".format(project)) if args.verbose: print(" -> {}".format(ci_index_xml.get_project_xml(project))) + proj_manifest = ManifestXml(find_project_in_single_index(project, ci_index_xml, man_repos[repo][0])[1]) + print(" -> DevLead: {}".format(' '.join(x for x in proj_manifest.project_info.dev_leads))) -- 2.27.0.windows.1