summaryrefslogtreecommitdiff
path: root/src/backend/libsisyphus.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-31 17:01:44 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-31 17:01:44 +0000
commit34a7633ab3a18cf02261163c4c83af3034a5292b (patch)
treed179042e3266c63ea8cd9d36fc66b7226d9ab55d /src/backend/libsisyphus.py
parent3e315edde07f7392fa40b353445d0bddb721e73f (diff)
libsisyphus : decorate metadata refresh function...it will give an aditional clue of what is happening
Diffstat (limited to 'src/backend/libsisyphus.py')
-rw-r--r--src/backend/libsisyphus.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py
index e728aee..df1fef9 100644
--- a/src/backend/libsisyphus.py
+++ b/src/backend/libsisyphus.py
@@ -250,7 +250,8 @@ def syncPortageConfig():
gitExecStage6 = subprocess.Popen(['git', 'gc', '--prune=now', '--quiet'], stdout=subprocess.PIPE)
gitExecStage6.wait()
-def regenPortageMetadata():
+@animation.wait('refreshing metadata')
+def refreshPortageMetadata():
if os.path.isdir(portageMetadataDir):
for files in os.listdir(portageMetadataDir):
if os.path.isfile(os.path.join(portageMetadataDir, files)):
@@ -289,20 +290,20 @@ def startUpdate():
syncOverlayTree()
syncPortageConfig()
syncRemoteDatabase()
- regenPortageMetadata()
+ refreshPortageMetadata()
elif not needsOverlayTreeSync == 1:
syncPortageTree()
syncOverlayTree()
syncPortageConfig()
syncRemoteDatabase()
- regenPortageMetadata()
+ refreshPortageMetadata()
elif not needsPortageTreeSync == 1:
if needsOverlayTreeSync == 1:
syncPortageTree()
syncOverlayTree()
syncPortageConfig()
syncRemoteDatabase()
- regenPortageMetadata()
+ refreshPortageMetadata()
elif not needsOverlayTreeSync == 1:
syncPortageConfig()
@@ -778,7 +779,7 @@ def injectGitlabMaster():
setGitlabMaster()
setHardenedProfile()
setJobs()
- regenPortageMetadata()
+ refreshPortageMetadata()
def injectPagureMaster():
checkRoot()
@@ -786,7 +787,7 @@ def injectPagureMaster():
setPagureMaster()
setHardenedProfile()
setJobs()
- regenPortageMetadata()
+ refreshPortageMetadata()
def injectGitlabNext():
checkRoot()
@@ -794,7 +795,7 @@ def injectGitlabNext():
setGitlabNext()
setHardenedProfile()
setJobs()
- regenPortageMetadata()
+ refreshPortageMetadata()
def injectPagureNext():
checkRoot()
@@ -802,7 +803,7 @@ def injectPagureNext():
setPagureNext()
setHardenedProfile()
setJobs()
- regenPortageMetadata()
+ refreshPortageMetadata()
def showHelp():
print("\n" + "Usage : sisyphus command [package(s)] || [file(s)]" + "\n")