summaryrefslogtreecommitdiff
path: root/src/backend/setbranch.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 20:28:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 20:28:31 +0000
commit3b26461f072cc897ee233d18a32f3b0f0ea83c23 (patch)
treeb7ec5da61fb00b68e376da5fe7ac87de2b0c2f07 /src/backend/setbranch.py
parent7fc4f9f40d1f1a45164759d796da94c18aa1f51a (diff)
fetchList -> dl_list; gentooRepoDir -> g_src_dir; redcoreRepoDir -> r_src_dir; portageConfigDir -> p_cfg_dir; portageCacheDir -> p_cch_dir; portageDistDir -> p_dst_dir; portageMetadataDir -> p_mtd_dir
Diffstat (limited to 'src/backend/setbranch.py')
-rw-r--r--src/backend/setbranch.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/setbranch.py b/src/backend/setbranch.py
index 0bb25c6..1403414 100644
--- a/src/backend/setbranch.py
+++ b/src/backend/setbranch.py
@@ -43,9 +43,9 @@ def injectGentooRepo(branch, remote):
gentooRemote, redcoreRemote, portageConfigRemote = getBranchRemote(
branch, remote)
- if not os.path.isdir(os.path.join(sisyphus.getfs.gentooRepoDir, '.git')):
+ if not os.path.isdir(os.path.join(sisyphus.getfs.g_src_dir, '.git')):
git.Repo.clone_from("/".join(gentooRemote),
- sisyphus.getfs.gentooRepoDir, depth=1, branch=branch)
+ sisyphus.getfs.g_src_dir, depth=1, branch=branch)
@animation.wait('injecting Redcore Linux ebuild overlay')
@@ -53,9 +53,9 @@ def injectRedcoreRepo(branch, remote):
gentooRemote, redcoreRemote, portageConfigRemote = getBranchRemote(
branch, remote)
- if not os.path.isdir(os.path.join(sisyphus.getfs.redcoreRepoDir, '.git')):
+ if not os.path.isdir(os.path.join(sisyphus.getfs.r_src_dir, '.git')):
git.Repo.clone_from("/".join(redcoreRemote),
- sisyphus.getfs.redcoreRepoDir, depth=1, branch=branch)
+ sisyphus.getfs.r_src_dir, depth=1, branch=branch)
@animation.wait('injecting Redcore Linux portage config')
@@ -63,9 +63,9 @@ def injectPortageConfigRepo(branch, remote):
gentooRemote, redcoreRemote, portageConfigRemote = getBranchRemote(
branch, remote)
- if not os.path.isdir(os.path.join(sisyphus.getfs.portageConfigDir, '.git')):
+ if not os.path.isdir(os.path.join(sisyphus.getfs.p_cfg_dir, '.git')):
git.Repo.clone_from("/".join(portageConfigRemote),
- sisyphus.getfs.portageConfigDir, depth=1, branch=branch)
+ sisyphus.getfs.p_cfg_dir, depth=1, branch=branch)
def giveWarning(branch, remote):