feat: git: to https:

master 3.7.2.19
idziubenko 2 years ago
parent 5535168364
commit 7bfae86bcf

@ -1634,9 +1634,10 @@ class Update(MethodsInterface):
# < 0 binhost level low # < 0 binhost level low
# == 0 binhost level adequate # == 0 binhost level adequate
# > 0 binhost level high # > 0 binhost level high
if level is None: local_lvl = self.clVars.Get("update.cl_update_level")
if level is None or local_lvl == "":
return None return None
return level - int(self.clVars.Get("update.cl_update_level")) return level - int(local_lvl)
def is_branch_set(self): def is_branch_set(self):
#basically, if any of the branches are specified, we won't use migration #basically, if any of the branches are specified, we won't use migration

@ -723,7 +723,7 @@ class VariableClUpdateRepHost(Variable):
class VariableClUpdateRepHostUrl(Variable): class VariableClUpdateRepHostUrl(Variable):
type = "list" type = "list"
value = ['git://github.com/calculatelinux/%s.git'] value = ['https://github.com/calculatelinux/%s.git']
class VariableClUpdateProfileDatavars(ReadonlyVariable): class VariableClUpdateProfileDatavars(ReadonlyVariable):
@ -925,7 +925,7 @@ class VariableClUpdateProfileUrl(Variable):
profile = "cl_profile_system" profile = "cl_profile_system"
branch = "cl_update_profile_branch" branch = "cl_update_profile_branch"
storage = "cl_update_profile_storage" storage = "cl_update_profile_storage"
default_url = "git://github.com/calculatelinux/distros.git" default_url = "https://github.com/calculatelinux/distros.git"
profiles_shortname = 'cl_update_profile_shortname' profiles_shortname = 'cl_update_profile_shortname'
@property @property

Loading…
Cancel
Save