preparation for migration project

migration_mirror 3.7.1.2
idziubenko 3 years ago
parent dbfc0a2110
commit 1dd1cd46a4

@ -1575,6 +1575,7 @@ class Update(MethodsInterface):
# SUCCESS
if not binhost.downgraded or stabilization:
host = "-> %s" % host
#TODO add migration binhost check there
reason = self.Reason.Success
else:
reason = self.Reason.Skip

@ -443,7 +443,7 @@ class ClUpdateAction(Action):
'method': 'Update.drop_portage_state_hash()',
'depend': Tasks.failed()
},
# #TEST
# #TODO
# {'name': 'update:set_current_level',
# 'method': 'Update.update_set_current_level()',
# 'condition': lambda Get: Get('cl_update_sync_only_set') == 'off'

@ -1561,6 +1561,13 @@ class VariableClUpdateBinhostUnstableList(Variable):
value = ["https://testing.calculate-linux.org/"]
# value = ["ftp://ftp.calculate-linux.ru/testing"]
class VariableClUpdateBinhostListMigration(Variable):
"""
Список хостов с бинарными обновлениями для стабильной миграции
"""
type = "list"
#TODO placeholder
value = ["https://testing.calculate-linux.org/"]
class VariableClUpdateBinhostBase(Variable):
"""
@ -1846,7 +1853,6 @@ class VariableClUpdatePortageBinhostPath(Variable):
"""
value = "/etc/portage/make.conf/binhost"
class VariableClUpdateLevel(Variable):
"""
Текущий уровень обновления

Loading…
Cancel
Save