diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-17 23:46:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-17 23:46:41 +0100 |
commit | 6563f80b975e662e30ac98084c0336f57a3175cc (patch) | |
tree | f1e049835a81ec0db01bff40af65dc6232927615 | |
parent | 46bdb849165a511fbf0efb87cc5c9f34e0a87d8e (diff) |
do some housekeeping and garbage collection once finishedv3.1910.1
-rw-r--r-- | src/backend/libsisyphus.py | 4 |
1 files changed, 4 insertions, 0 deletions
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): |