diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-18 19:58:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-18 19:58:09 +0000 |
commit | fc46610f316eb45b017d8f054132f01d4c7c37d7 (patch) | |
tree | d21e4b1b00c082e68f3bf83a14a28d6382107b93 /src/backend/setbranch.py | |
parent | 1d8068d79dd0c09dc5c05ce6909a49e8e7249657 (diff) |
add github as a remote option
Diffstat (limited to 'src/backend/setbranch.py')
-rw-r--r-- | src/backend/setbranch.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backend/setbranch.py b/src/backend/setbranch.py index 0527ad4..0b013a3 100644 --- a/src/backend/setbranch.py +++ b/src/backend/setbranch.py @@ -17,12 +17,16 @@ def getBranchRemote(branch, remote): redcoreRemote = [] portageConfigRemote = [] if "master" in branch: - if "gitlab" in remote: + if "github" in remote: + remote = sisyphus.getfs.remoteGithub + elif "gitlab" in remote: remote = sisyphus.getfs.remoteGitlab elif "pagure" in remote: remote = sisyphus.getfs.remotePagure elif "next" in branch: - if "gitlab" in remote: + if github in remote: + remote = sisyphus.getfs.remoteGithub + elif "gitlab" in remote: remote = sisyphus.getfs.remoteGitlab elif "pagure" in remote: remote = sisyphus.getfs.remotePagure |