)]}'
{"functions-common":[{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"5f8b25209f1bf4f3794250d5f3464900942c7334","unresolved":false,"context_lines":[{"line_number":2443,"context_line":""},{"line_number":2444,"context_line":"# download functions"},{"line_number":2445,"context_line":""},{"line_number":2446,"context_line":"# download_file"},{"line_number":2447,"context_line":"#  $1 - url to download"},{"line_number":2448,"context_line":"#  $2 - location where to save url to"},{"line_number":2449,"context_line":"#"},{"line_number":2450,"context_line":"#  Uses global variables:"},{"line_number":2451,"context_line":"#  - OFFLINE"},{"line_number":2452,"context_line":"#  - DOWNLOAD_FILE_TIMEOUT"},{"line_number":2453,"context_line":"function download_file {"},{"line_number":2454,"context_line":"    local url\u003d$1"},{"line_number":2455,"context_line":"    local file\u003d$2"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"5a74a57a_554763bb","line":2452,"range":{"start_line":2446,"start_character":0,"end_line":2452,"end_character":26},"updated":"2016-11-29 06:59:45.000000000","message":"Add info here that it will not re-download files if they already exist.","commit_id":"bb535dfa3f6e77659b0e745da8ab07afe35f90fb"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"5f8b25209f1bf4f3794250d5f3464900942c7334","unresolved":false,"context_lines":[{"line_number":2454,"context_line":"    local url\u003d$1"},{"line_number":2455,"context_line":"    local file\u003d$2"},{"line_number":2456,"context_line":""},{"line_number":2457,"context_line":"    # early check to see"},{"line_number":2458,"context_line":"    if [[ ${OFFLINE} \u003d\u003d \"True\" ]] \u0026\u0026 [[ ! -f ${file} ]]; then"},{"line_number":2459,"context_line":"        die $LINENO \"You are running in OFFLINE mode but"},{"line_number":2460,"context_line":"                     the target file \\\"$file\\\" was not found\""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"5a74a57a_35d027f6","line":2457,"range":{"start_line":2457,"start_character":6,"end_line":2457,"end_character":24},"updated":"2016-11-29 06:59:45.000000000","message":"Too vague comment.","commit_id":"bb535dfa3f6e77659b0e745da8ab07afe35f90fb"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"5f8b25209f1bf4f3794250d5f3464900942c7334","unresolved":false,"context_lines":[{"line_number":2467,"context_line":""},{"line_number":2468,"context_line":"    # yeah...downloading...devstack...hungry..om, om, om"},{"line_number":2469,"context_line":"    if [[ ${should_download} \u003d\u003d 1 ]]; then"},{"line_number":2470,"context_line":"        local count\u003d0"},{"line_number":2471,"context_line":"        local timeout\u003d0"},{"line_number":2472,"context_line":""},{"line_number":2473,"context_line":"        if [[ -n \"${DOWNLOAD_FILE_TIMEOUT}\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"5a74a57a_15a5eba0","line":2470,"range":{"start_line":2470,"start_character":8,"end_line":2470,"end_character":21},"updated":"2016-11-29 06:59:45.000000000","message":"Unused variable.","commit_id":"bb535dfa3f6e77659b0e745da8ab07afe35f90fb"}]}
