|
|
|
@ -202,14 +202,16 @@ class ClUpdateAction(Action):
|
|
|
|
|
'message':
|
|
|
|
|
__("Fallback syncing the {eachvar:capitalize} repository"),
|
|
|
|
|
'method': 'Update.syncRepositories(eachvar,True)',
|
|
|
|
|
'condition': lambda Get: ("getbinpkg" in Get('cl_features') and
|
|
|
|
|
not Get('cl_update_binhost_data')[0])
|
|
|
|
|
'condition': lambda Get,GetBool: (
|
|
|
|
|
GetBool('cl_update_usetag_set') and
|
|
|
|
|
not Get('cl_update_binhost_data')[0])
|
|
|
|
|
},
|
|
|
|
|
# обновление переменных информации из binhost
|
|
|
|
|
{'name': 'update_binhost_list',
|
|
|
|
|
'method': 'Update.update_binhost_list()',
|
|
|
|
|
'condition': lambda Get: ("getbinpkg" in Get('cl_features') and
|
|
|
|
|
not Get('cl_update_binhost_data')[0])
|
|
|
|
|
'condition': lambda Get,GetBool: (
|
|
|
|
|
GetBool('cl_update_usetag_set') and
|
|
|
|
|
not Get('cl_update_binhost_data')[0])
|
|
|
|
|
},
|
|
|
|
|
{'name': 'sync_reps',
|
|
|
|
|
'foreach': 'cl_update_sync_rep',
|
|
|
|
@ -219,7 +221,7 @@ class ClUpdateAction(Action):
|
|
|
|
|
},
|
|
|
|
|
{'name': 'check_binhost',
|
|
|
|
|
'method': 'Update.check_binhost()',
|
|
|
|
|
'condition': lambda Get: "getbinpkg" in Get('cl_features')
|
|
|
|
|
'condition': lambda GetBool: GetBool('cl_update_usetag_set')
|
|
|
|
|
},
|
|
|
|
|
{'name': 'sync_other_reps',
|
|
|
|
|
'foreach': 'cl_update_other_rep_name',
|
|
|
|
@ -285,8 +287,8 @@ class ClUpdateAction(Action):
|
|
|
|
|
'method': 'Update.download_packages(cl_update_portage_binhost,'
|
|
|
|
|
'cl_update_package_cache)',
|
|
|
|
|
'essential': False,
|
|
|
|
|
'condition': lambda Get: (
|
|
|
|
|
"getbinpkg" in Get('cl_features') and
|
|
|
|
|
'condition': lambda Get, GetBool: (
|
|
|
|
|
GetBool('cl_update_usetag_set') and
|
|
|
|
|
Get('cl_update_package_cache') and (
|
|
|
|
|
Get('cl_update_outdate_set') == 'on' or
|
|
|
|
|
Get('cl_update_package_cache_set') == 'on'))
|
|
|
|
|