From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web12.3770.1605588604161105067 for ; Mon, 16 Nov 2020 20:50:04 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: erik.c.bjorge@intel.com) IronPort-SDR: C/bdOxlXWROfM+Cbs+BfdbX1x1DlHGknkffXu/0Y/SYG1vN5UkgmWiOYviQMdIF35ec2xSEA0J dfUy2QTjkpTw== X-IronPort-AV: E=McAfee;i="6000,8403,9807"; a="255574559" X-IronPort-AV: E=Sophos;i="5.77,484,1596524400"; d="scan'208";a="255574559" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2020 20:50:01 -0800 IronPort-SDR: 6sEiCZMAt7RYirEIC4S2/AVdzdw7/40cyjm5pqb9+CCxzJp8KJ4jjGrdo/KaIa8d+vSizdYXaq Exl0eoWn783Q== X-IronPort-AV: E=Sophos;i="5.77,484,1596524400"; d="scan'208";a="475783045" Received: from ecbjorge-mobl1.amr.corp.intel.com ([10.251.18.231]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2020 20:50:00 -0800 From: "Bjorge, Erik C" To: devel@edk2.groups.io Cc: Ashley E Desimone , Nate DeSimone , Puja Pandya , Bret Barkelew , Prince Agyeman Subject: [edk2-staging/EdkRepo] [PATCH v2 0/2] EdkRepo: Adding local repo cache support Date: Mon, 16 Nov 2020 20:49:43 -0800 Message-Id: X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Adding local repo cache support to improve clone times. Cc: Ashley E Desimone Cc: Nate DeSimone Cc: Puja Pandya Cc: Bret Barkelew Cc: Prince Agyeman Cc: Erik Bjorge Signed-off-by: Erik Bjorge Erik Bjorge (2): EdkRepo: Add cache command EdkRepo: Enable use of repo cache support. edkrepo/commands/arguments/cache_args.py | 19 ++ edkrepo/commands/cache_command.py | 118 ++++++++++++ edkrepo/commands/checkout_command.py | 3 +- edkrepo/commands/checkout_pin_command.py | 8 +- edkrepo/commands/clone_command.py | 15 +- edkrepo/commands/humble/cache_humble.py | 17 ++ edkrepo/commands/sync_command.py | 12 +- edkrepo/common/common_cache_functions.py | 41 +++++ edkrepo/common/common_repo_functions.py | 25 ++- edkrepo/common/edkrepo_exception.py | 3 + edkrepo/config/config_factory.py | 14 +- edkrepo/config/tool_config.py | 5 +- project_utils/cache.py | 224 +++++++++++++++++++++++ project_utils/project_utils_strings.py | 11 ++ project_utils/submodule.py | 13 +- 15 files changed, 509 insertions(+), 19 deletions(-) create mode 100644 edkrepo/commands/arguments/cache_args.py create mode 100644 edkrepo/commands/cache_command.py create mode 100644 edkrepo/commands/humble/cache_humble.py create mode 100644 edkrepo/common/common_cache_functions.py create mode 100644 project_utils/cache.py -- 2.21.0.windows.1