)]}'
{"elements/redhat-common/bin/extract-image":[{"author":{"_account_id":12320,"name":"Pino Toscano","email":"ptoscano@redhat.com","username":"ptoscano"},"change_message_id":"96fc789a7ddc12bdea28b406f689248910fe75b2","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"            if [ \"${CACHED_IMAGE: -3}\" \u003d\u003d \".xz\" ] ; then"},{"line_number":54,"context_line":"                # Leave the old image in place so cache-url knows we have it already"},{"line_number":55,"context_line":"                unxz --keep --force $CACHED_IMAGE"},{"line_number":56,"context_line":"                CACHED_IMAGE\u003d${CACHED_IMAGE::-3}"},{"line_number":57,"context_line":"            fi"},{"line_number":58,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"ba15a1d1_109dad65","line":55,"updated":"2015-09-17 08:27:03.000000000","message":"Considering $CACHED_IMAGE is just extracted once (unless there\u0027s a new version available at the remote URL), IMHO it would make sense to just keep the xz version cached, saving space also in the local cache.\n\nYou can just create a new temporary file under $WORKING (see how $RAW_FILE is created, for example), setting $CACHED_IMAGE to that.","commit_id":"bf7be24731b05a10f38ecac739bd4ab4d029221e"},{"author":{"_account_id":1926,"name":"Derek Higgins","email":"derekh@redhat.com","username":"derekh"},"change_message_id":"323348cb484f566048047ae4218bac52d857221d","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"            if [ \"${CACHED_IMAGE: -3}\" \u003d\u003d \".xz\" ] ; then"},{"line_number":54,"context_line":"                # Leave the old image in place so cache-url knows we have it already"},{"line_number":55,"context_line":"                unxz --keep --force $CACHED_IMAGE"},{"line_number":56,"context_line":"                CACHED_IMAGE\u003d${CACHED_IMAGE::-3}"},{"line_number":57,"context_line":"            fi"},{"line_number":58,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"ba15a1d1_193e39da","line":55,"in_reply_to":"ba15a1d1_109dad65","updated":"2015-09-17 09:18:24.000000000","message":"Good point, thanks.","commit_id":"bf7be24731b05a10f38ecac739bd4ab4d029221e"}]}
