2 Commits
Author SHA1 Message Date
Eric Callahan e20c12619b git_deploy: compare upstream url to lowercase url during validation
SIgned-off-by:  Eric Callahan <arksine.code@gmail.com>
2021-07-08 12:09:17 -04:00
Eric Callahan 211c7e70e1 app_deploy: fix typo preventing repo clients from loading
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2021-07-08 11:58:11 -04:00
2 changed files with 2 additions and 2 deletions

No files matched your search

@@ -33,7 +33,7 @@ CHANNEL_TO_TYPE = {
TYPE_TO_CHANNEL = {
"zip": "stable",
"zip_beta": "beta",
"dev": "git_repo"
"git_repo": "dev"
}
class AppDeploy(BaseDeploy):
@@ -429,7 +429,7 @@ class GitRepo:
upstream_url = self.upstream_url.lower()
if upstream_url[-4:] != ".git":
upstream_url += ".git"
if upstream_url != self.origin_url:
if upstream_url != self.origin_url.lower():
invalids.append(f"Unofficial remote url: {self.upstream_url}")
if self.git_branch != primary_branch or self.git_remote != "origin":
invalids.append(