summaryrefslogtreecommitdiff
path: root/src/backend/syncEnvironment.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-25 23:13:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-25 23:13:11 +0100
commit7fe2cc2aca426d089b5514bd217377291a9d2223 (patch)
treec8dee8639eec75d032a94167b02227537fdaa5a7 /src/backend/syncEnvironment.py
parent344d58ae21bd0f5b260ef47547c4cef95ec9a23c (diff)
meaningful function names
Diffstat (limited to 'src/backend/syncEnvironment.py')
-rw-r--r--src/backend/syncEnvironment.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/syncEnvironment.py b/src/backend/syncEnvironment.py
index db7d4d7..a961dd1 100644
--- a/src/backend/syncEnvironment.py
+++ b/src/backend/syncEnvironment.py
@@ -4,7 +4,7 @@ import os
import subprocess
import sisyphus.getFilesystem
-def syncStage1():
+def syncGentooRepo():
os.chdir(sisyphus.getFilesystem.gentooRepoDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
remoteBranch = subprocess.check_output(['git', 'rev-parse', '--symbolic-full-name', '@{u}'])
@@ -15,7 +15,7 @@ def syncStage1():
gitExecStage2 = subprocess.Popen(['git', 'reset', '--hard'] + remoteBranch.decode().strip().replace('refs/remotes/','').split() + ['--quiet'], stdout=subprocess.PIPE)
gitExecStage2.wait()
-def syncStage2():
+def syncRedcoreRepo():
os.chdir(sisyphus.getFilesystem.redcoreRepoDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
remoteBranch = subprocess.check_output(['git', 'rev-parse', '--symbolic-full-name', '@{u}'])
@@ -26,7 +26,7 @@ def syncStage2():
gitExecStage2 = subprocess.Popen(['git', 'reset', '--hard'] + remoteBranch.decode().strip().replace('refs/remotes/','').split() + ['--quiet'], stdout=subprocess.PIPE)
gitExecStage2.wait()
-def syncStage3():
+def syncPortageConfigRepo():
os.chdir(sisyphus.getFilesystem.portageConfigDir)
localBranch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
remoteBranch = subprocess.check_output(['git', 'rev-parse', '--symbolic-full-name', '@{u}'])