summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 20:41:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 20:41:00 +0000
commit06423ccbe93e73f52b054d8f80107ba73503f26c (patch)
tree38909f77fa8b5619607abdec0a641bdf1ace3db7 /src/backend
parentd64c073616d07a7415dd5a1107f29df8f31c055f (diff)
remoteGithub -> rmt_gh_addr; remoteGitlab -> rmt_gl_addr; remotePagure -> rmt_pg_addr
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/getfs.py6
-rw-r--r--src/backend/setbranch.py12
2 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/getfs.py b/src/backend/getfs.py
index f852cf2..77e0b2d 100644
--- a/src/backend/getfs.py
+++ b/src/backend/getfs.py
@@ -2,9 +2,9 @@
import platform
-remoteGithub = 'https://github.com/redcorelinux'
-remoteGitlab = 'https://gitlab.com/redcore'
-remotePagure = 'https://pagure.io/redcore'
+rmt_gh_addr = 'https://github.com/redcorelinux'
+rmt_gl_addr = 'https://gitlab.com/redcore'
+rmt_pg_addr = 'https://pagure.io/redcore'
g_repo = 'portage.git'
r_repo = 'redcore-desktop.git'
diff --git a/src/backend/setbranch.py b/src/backend/setbranch.py
index 5393484..346c054 100644
--- a/src/backend/setbranch.py
+++ b/src/backend/setbranch.py
@@ -18,18 +18,18 @@ def getBranchRemote(branch, remote):
portageConfigRemote = []
if "master" in branch:
if "github" in remote:
- remote = sisyphus.getfs.remoteGithub
+ remote = sisyphus.getfs.rmt_gh_addr
elif "gitlab" in remote:
- remote = sisyphus.getfs.remoteGitlab
+ remote = sisyphus.getfs.rmt_gl_addr
elif "pagure" in remote:
- remote = sisyphus.getfs.remotePagure
+ remote = sisyphus.getfs.rmt_pg_addr
elif "next" in branch:
if "github" in remote:
- remote = sisyphus.getfs.remoteGithub
+ remote = sisyphus.getfs.rmt_gh_addr
elif "gitlab" in remote:
- remote = sisyphus.getfs.remoteGitlab
+ remote = sisyphus.getfs.rmt_gl_addr
elif "pagure" in remote:
- remote = sisyphus.getfs.remotePagure
+ remote = sisyphus.getfs.rmt_pg_addr
gentooRemote = [remote, sisyphus.getfs.g_repo]
redcoreRemote = [remote, sisyphus.getfs.r_repo]