From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web12.10472.1607061047330862554 for ; Thu, 03 Dec 2020 21:50:47 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: ashley.e.desimone@intel.com) IronPort-SDR: oPbxKvq4O7tIy+my/0hTUeTpdh8FH9x8ARf2aSLcFZKfXSapNThk/YL3FiuxxdY8n5AI7AtIKm 0lSTOf5CHLlw== X-IronPort-AV: E=McAfee;i="6000,8403,9824"; a="161100982" X-IronPort-AV: E=Sophos;i="5.78,391,1599548400"; d="scan'208";a="161100982" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2020 21:50:44 -0800 IronPort-SDR: hVU2dlmKc8YBwFi+fY+wdRaGspxISwmLwt+3Y+2C4StdYUe0A5/h9I5kWmHFmA9g3JM9urFhO0 TTSAR/qUqTTA== X-IronPort-AV: E=Sophos;i="5.78,391,1599548400"; d="scan'208";a="540566771" Received: from aedesimo-desk.amr.corp.intel.com ([10.254.71.13]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2020 21:50:43 -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 0/2] Edkrepo: Add the maintenance command Date: Thu, 3 Dec 2020 21:50:13 -0800 Message-Id: <20201204055015.3432-1-ashley.e.desimone@intel.com> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch set add the maintenance command and its required support. The maintenance command is intended to streamline workspace wide maintenance operations such as git gc and configuration of the git global config. Patch 1 moves the functionality to clean unused insteadOf entires from the git global config to a shared location and updates the sync command accordingly. Patch 2 adds the maintenance command, all strings used by the maintenance command and support to configure the core.longpaths setting in the git global config. 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 Ashley E Desimone (2): EdkRepo: Move git config clean up function to a common location EdkRepo: Add the edkrepo maintenance command .../commands/arguments/maintenance_args.py | 12 ++++ edkrepo/commands/humble/maintenance_humble.py | 16 +++++ edkrepo/commands/maintenance_command.py | 71 +++++++++++++++++++ edkrepo/commands/sync_command.py | 27 ++----- .../git_config_maintenance.py | 43 +++++++++++ 5 files changed, 147 insertions(+), 22 deletions(-) create mode 100644 edkrepo/commands/arguments/maintenance_args.py create mode 100644 edkrepo/commands/humble/maintenance_humble.py create mode 100644 edkrepo/commands/maintenance_command.py create mode 100644 edkrepo/common/workspace_maintenance/git_config_maintenance.py -- 2.27.0.windows.1