From 6563f80b975e662e30ac98084c0336f57a3175cc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 17 Oct 2019 23:46:41 +0100 Subject: do some housekeeping and garbage collection once finished --- src/backend/libsisyphus.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py index aab0522..1cb23cb 100644 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -245,6 +245,10 @@ def syncPortageConfig(): gitExecStage3.wait() gitExecStage4 = subprocess.Popen(['git', 'stash', 'apply'], stdout=subprocess.PIPE) gitExecStage4.wait() + gitExecStage5 = subprocess.Popen(['git', 'stash', 'clear'], stdout=subprocess.PIPE) + gitExecStage5.wait() + gitExecStage6 = subprocess.Popen(['git', 'gc', '--prune=now'], stdout=subprocess.PIPE) + gitExecStage6.wait() def regenPortageMetadata(): if os.path.isdir(portageMetadataDir): -- cgit v1.2.3