#181: renamed variables
This commit is contained in:
parent
cd813b3ca1
commit
060eeb8a9e
|
@ -98,8 +98,8 @@ module AbfWorker
|
|||
'TYPE' => distrib_type,
|
||||
'IS_CONTAINER' => true,
|
||||
'ID' => build_list.id,
|
||||
'PLATFORM_NAME' => build_list.save_to_platform.name,
|
||||
'MAIN_PLATFORM_NAME' => build_list.build_for_platform.name
|
||||
'SAVE_TO_PLATFORM' => build_list.save_to_platform.name,
|
||||
'BUILD_FOR_PLATFORM' => build_list.build_for_platform.name
|
||||
}.map{ |k, v| "#{k}=#{v}" }.join(' ')
|
||||
|
||||
|
||||
|
@ -287,7 +287,8 @@ module AbfWorker
|
|||
'RELEASED' => save_to_platform.released,
|
||||
'REPOSITORY_NAME' => save_to_repository.name,
|
||||
'TYPE' => distrib_type,
|
||||
'MAIN_PLATFORM_NAME' => build_for_platform.name
|
||||
'SAVE_TO_PLATFORM' => save_to_platform.name,
|
||||
'BUILD_FOR_PLATFORM' => build_for_platform.name
|
||||
}.map{ |k, v| "#{k}=#{v}" }.join(' ')
|
||||
|
||||
lock_str = "#{save_to_repository_id}-#{build_for_platform_id}"
|
||||
|
@ -335,6 +336,7 @@ module AbfWorker
|
|||
return true
|
||||
end
|
||||
|
||||
# Only for main platforms!
|
||||
def create_tasks_for_repository_regenerate_metadata
|
||||
worker_queue = 'publish_worker_default'
|
||||
worker_class = 'AbfWorker::PublishWorkerDefault'
|
||||
|
@ -353,7 +355,8 @@ module AbfWorker
|
|||
'REPOSITORY_NAME' => rep.name,
|
||||
'TYPE' => distrib_type,
|
||||
'REGENERATE_METADATA' => true,
|
||||
'MAIN_PLATFORM_NAME' => rep.platform.name
|
||||
'SAVE_TO_PLATFORM' => rep.platform.name,
|
||||
'BUILD_FOR_PLATFORM' => rep.platform.name
|
||||
}.map{ |k, v| "#{k}=#{v}" }.join(' ')
|
||||
|
||||
options = {
|
||||
|
|
Loading…
Reference in New Issue