)]}'
{"functions":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"a7c464b7061de90a0f4b8c3939b85952b05593a8","unresolved":false,"context_lines":[{"line_number":285,"context_line":"                local xfile\u003d\"$FILES/$image_name\""},{"line_number":286,"context_line":"                cat \u003c(bunzip2 -cdfk $image) \u003e \"$xfile\""},{"line_number":287,"context_line":"                image\u003d\"$xfile\""},{"line_number":288,"context_line":"            fi"},{"line_number":289,"context_line":"            image_name\u003d$(basename \"$image\" \".img\")"},{"line_number":290,"context_line":"            local format"},{"line_number":291,"context_line":"            format\u003d$(qemu-img info ${image} | awk \u0027/^file format/ { print $3; exit }\u0027)"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a122d0e_619fa1b4","line":288,"updated":"2016-04-18 23:44:26.000000000","message":"this isn\u0027t quite what i meant.  we should set \"unpack\"","commit_id":"01ff8223450ff4950f6eedc245ee3dfb3dadacba"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"a7c464b7061de90a0f4b8c3939b85952b05593a8","unresolved":false,"context_lines":[{"line_number":336,"context_line":"        if [ \"$unpack\" \u003d \"zcat\" ]; then"},{"line_number":337,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \u003c(zcat --force \"${image}\")"},{"line_number":338,"context_line":"        else"},{"line_number":339,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \"${image}\""},{"line_number":340,"context_line":"        fi"},{"line_number":341,"context_line":"    else"},{"line_number":342,"context_line":"        # Use glance client to add the kernel the root filesystem."}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a122d0e_e1abb1d4","line":339,"updated":"2016-04-18 23:44:26.000000000","message":"and modify this section to understand a \"bzip\" unpack","commit_id":"01ff8223450ff4950f6eedc245ee3dfb3dadacba"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"a2914d95bd6996d62bf9eeeacbf8415392173483","unresolved":false,"context_lines":[{"line_number":336,"context_line":"        if [ \"$unpack\" \u003d \"zcat\" ]; then"},{"line_number":337,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \u003c(zcat --force \"${image}\")"},{"line_number":338,"context_line":"        else"},{"line_number":339,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \"${image}\""},{"line_number":340,"context_line":"        fi"},{"line_number":341,"context_line":"    else"},{"line_number":342,"context_line":"        # Use glance client to add the kernel the root filesystem."}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a122d0e_f8bbe9c1","line":339,"in_reply_to":"1a122d0e_270bc62b","updated":"2016-04-20 22:08:12.000000000","message":"hmm, *.img.gz also hardcodes to raw?  seems like the problem is common.\n\nunfortunately it seems \u003c( ) substitution doesn\u0027t work for qemu-img because it likes to seek around which i guess the fifo can\u0027t do","commit_id":"01ff8223450ff4950f6eedc245ee3dfb3dadacba"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"6724e29d9731098d42d3913bbf56298ef36da43d","unresolved":false,"context_lines":[{"line_number":336,"context_line":"        if [ \"$unpack\" \u003d \"zcat\" ]; then"},{"line_number":337,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \u003c(zcat --force \"${image}\")"},{"line_number":338,"context_line":"        else"},{"line_number":339,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \"${image}\""},{"line_number":340,"context_line":"        fi"},{"line_number":341,"context_line":"    else"},{"line_number":342,"context_line":"        # Use glance client to add the kernel the root filesystem."}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a122d0e_d2e801b7","line":339,"in_reply_to":"1a122d0e_e1abb1d4","updated":"2016-04-19 02:19:51.000000000","message":"I see. Will submit a new patch later.","commit_id":"01ff8223450ff4950f6eedc245ee3dfb3dadacba"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"dcaf9f8fff53315b05e3935d9f6c28b164a9c6d2","unresolved":false,"context_lines":[{"line_number":336,"context_line":"        if [ \"$unpack\" \u003d \"zcat\" ]; then"},{"line_number":337,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \u003c(zcat --force \"${image}\")"},{"line_number":338,"context_line":"        else"},{"line_number":339,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \"${image}\""},{"line_number":340,"context_line":"        fi"},{"line_number":341,"context_line":"    else"},{"line_number":342,"context_line":"        # Use glance client to add the kernel the root filesystem."}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a122d0e_270bc62b","line":339,"in_reply_to":"1a122d0e_e1abb1d4","updated":"2016-04-19 22:03:16.000000000","message":"The challenge is that I need to check the disk_format in line #291 (unless I hardcode format to qcow2).","commit_id":"01ff8223450ff4950f6eedc245ee3dfb3dadacba"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"6faf85f9aa7f448aed3161838660e021db7d50c8","unresolved":false,"context_lines":[{"line_number":336,"context_line":"        if [ \"$unpack\" \u003d \"zcat\" ]; then"},{"line_number":337,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \u003c(zcat --force \"${image}\")"},{"line_number":338,"context_line":"        else"},{"line_number":339,"context_line":"            openstack --os-cloud\u003ddevstack-admin image create \"$image_name\" $img_property --public --container-format\u003d$container_format --disk-format $disk_format \u003c \"${image}\""},{"line_number":340,"context_line":"        fi"},{"line_number":341,"context_line":"    else"},{"line_number":342,"context_line":"        # Use glance client to add the kernel the root filesystem."}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a122d0e_0648c85a","line":339,"in_reply_to":"1a122d0e_f8bbe9c1","updated":"2016-04-22 02:44:02.000000000","message":"Then, I will submit a new patch to hardcode it to qcow2 later.","commit_id":"01ff8223450ff4950f6eedc245ee3dfb3dadacba"}]}
