diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/getfs.py | 6 | ||||
-rw-r--r-- | src/backend/setbranch.py | 6 | ||||
-rw-r--r-- | src/backend/syncenv.py | 6 | ||||
-rw-r--r-- | src/backend/update.py | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/backend/getfs.py b/src/backend/getfs.py index 9196e75..f852cf2 100644 --- a/src/backend/getfs.py +++ b/src/backend/getfs.py @@ -6,9 +6,9 @@ remoteGithub = 'https://github.com/redcorelinux' remoteGitlab = 'https://gitlab.com/redcore' remotePagure = 'https://pagure.io/redcore' -gentooRepo = 'portage.git' -redcoreRepo = 'redcore-desktop.git' -portageConfigRepo = 'redcore-build.git' +g_repo = 'portage.git' +r_repo = 'redcore-desktop.git' +p_cfg_repo = 'redcore-build.git' g_src_dir = '/usr/ports/gentoo' r_src_dir = '/usr/ports/redcore' diff --git a/src/backend/setbranch.py b/src/backend/setbranch.py index 1403414..5393484 100644 --- a/src/backend/setbranch.py +++ b/src/backend/setbranch.py @@ -31,9 +31,9 @@ def getBranchRemote(branch, remote): elif "pagure" in remote: remote = sisyphus.getfs.remotePagure - gentooRemote = [remote, sisyphus.getfs.gentooRepo] - redcoreRemote = [remote, sisyphus.getfs.redcoreRepo] - portageConfigRemote = [remote, sisyphus.getfs.portageConfigRepo] + gentooRemote = [remote, sisyphus.getfs.g_repo] + redcoreRemote = [remote, sisyphus.getfs.r_repo] + portageConfigRemote = [remote, sisyphus.getfs.p_cfg_repo] return gentooRemote, redcoreRemote, portageConfigRemote diff --git a/src/backend/syncenv.py b/src/backend/syncenv.py index 840a74c..e27d9ef 100644 --- a/src/backend/syncenv.py +++ b/src/backend/syncenv.py @@ -5,7 +5,7 @@ import subprocess import sisyphus.getfs -def gentooRepo(): +def g_repo(): os.chdir(sisyphus.getfs.g_src_dir) lcl_brch = subprocess.check_output( ['git', 'rev-parse', '--abbrev-ref', 'HEAD']) @@ -21,7 +21,7 @@ def gentooRepo(): g_exe2.wait() -def redcoreRepo(): +def r_repo(): os.chdir(sisyphus.getfs.r_src_dir) lcl_brch = subprocess.check_output( ['git', 'rev-parse', '--abbrev-ref', 'HEAD']) @@ -37,7 +37,7 @@ def redcoreRepo(): g_exe2.wait() -def portageConfigRepo(): +def p_cfg_repo(): os.chdir(sisyphus.getfs.p_cfg_dir) lcl_brch = subprocess.check_output( ['git', 'rev-parse', '--abbrev-ref', 'HEAD']) diff --git a/src/backend/update.py b/src/backend/update.py index 9ff637f..08765a7 100644 --- a/src/backend/update.py +++ b/src/backend/update.py @@ -12,9 +12,9 @@ import sisyphus.syncenv def syncAll(): - sisyphus.syncenv.gentooRepo() - sisyphus.syncenv.redcoreRepo() - sisyphus.syncenv.portageConfigRepo() + sisyphus.syncenv.g_repo() + sisyphus.syncenv.r_repo() + sisyphus.syncenv.p_cfg_repo() sisyphus.syncdb.rmt_tbl() |