summaryrefslogtreecommitdiff
path: root/src/backend/branchsetup.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-06 21:20:06 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-06 21:20:06 +0000
commit170f9d7b708902c2f8b58d911383aef2ef35941a (patch)
tree38e62857b8383807a2ee0921acdd84874295ca02 /src/backend/branchsetup.py
parentdf346a9e0facec5bc7e69a106d4e0e3776c966a4 (diff)
backend :
* we now ship updated metadata in our ebuild tree * we fetch it via normal update/sync operation * local regen/update is no longer required * this will improve update/sync operations considerably
Diffstat (limited to 'src/backend/branchsetup.py')
-rw-r--r--src/backend/branchsetup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/branchsetup.py b/src/backend/branchsetup.py
index f3546b4..793376b 100644
--- a/src/backend/branchsetup.py
+++ b/src/backend/branchsetup.py
@@ -4,6 +4,7 @@ import animation
import git
import os
import sys
+import sisyphus.cache
import sisyphus.check
import sisyphus.branchreset
import sisyphus.filesystem
@@ -84,12 +85,13 @@ def warnAboutBinaryRepository(branch,remote):
def start(branch,remote):
if sisyphus.check.root():
sisyphus.branchreset.start()
+ sisyphus.cache.purge()
+ sisyphus.metadata.purge()
injectGentooPortageTree(branch,remote)
injectRedcoreEbuildOverlay(branch,remote)
injectRedcorePortageConfig(branch,remote)
sisyphus.setjobs.start()
sisyphus.setprofile.start()
- sisyphus.metadata.regenAnimated()
warnAboutBinaryRepository(branch,remote)
else:
sys.exit("\nYou need root permissions to do this, exiting!\n")