)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"6c4999c8d54be26b6556c2e52f16dcfd218a7712","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Move default image logic from DevStack to Ironic"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch is moving the logic setting the default images from DevStack"},{"line_number":10,"context_line":"into the Ironic tree."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Id828b41dc44113ce1cd094ce5fc245989699d4ff"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"ba5201f7_01562d06","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":21},"updated":"2017-01-09 14:41:26.000000000","message":"IMO it is better the add the rational behind the change. Being new to ironic, I don\u0027t get the use case of this change. Or link to a bug. Thoughts?","commit_id":"f918d64c61bf98f3c68acb213de3a5b52a55a9d6"}],"devstack/lib/ironic":[{"author":{"_account_id":19072,"name":"Xavier","email":"marcusrafael@lsd.ufcg.edu.br","username":"marcusrafael"},"change_message_id":"b2aefa14177a2b967bfcc646b00fe45a2a7040d8","unresolved":false,"context_lines":[{"line_number":447,"context_line":"    return 1"},{"line_number":448,"context_line":"}"},{"line_number":449,"context_line":""},{"line_number":450,"context_line":"# TODO(lucasagomes): This logic was moved from DevStack and need some"},{"line_number":451,"context_line":"#                    refactor"},{"line_number":452,"context_line":"IRONIC_IMAGE_NAME\u003d${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-x86_64-uec}"},{"line_number":453,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":11,"id":"ba5201f7_ce0b2d7c","line":450,"range":{"start_line":450,"start_character":2,"end_line":450,"end_character":6},"updated":"2017-01-10 19:00:08.000000000","message":"s/TODO/DONE/? haha","commit_id":"5bde73239d3cd7a5dc70240bfb56f3aa656f9031"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"469de7b5b922a9316e6e28c13f4a42a6909fdda1","unresolved":false,"context_lines":[{"line_number":452,"context_line":"IRONIC_IMAGE_NAME\u003d${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-x86_64-uec}"},{"line_number":453,"context_line":""},{"line_number":454,"context_line":"if [[ \"$IMAGE_URLS\" !\u003d *\"$IRONIC_IMAGE_NAME\"* ]]; then"},{"line_number":455,"context_line":"    IMAGE_URLS+\u003d\"http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-x86_64-uec.tar.gz\""},{"line_number":456,"context_line":"    IMAGE_URLS+\u003d\",http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-x86_64-disk.img\""},{"line_number":457,"context_line":"fi"},{"line_number":458,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":11,"id":"ba5201f7_3ad12158","line":455,"updated":"2017-01-11 16:01:50.000000000","message":"On the line below, the image url is prefixed with \",\" which means it makes sense to be an append action. For this one, it\u0027s not prefixed with \",\" but we\u0027re still using \"+\u003d\" instead of \"\u003d\u003d\". This seems like it could make this easily breakable, especially since IMAGE_URL is not an Ironic-specific setting.","commit_id":"5bde73239d3cd7a5dc70240bfb56f3aa656f9031"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"e309769f505993fe3520926d24d2f9f8780914ca","unresolved":false,"context_lines":[{"line_number":453,"context_line":""},{"line_number":454,"context_line":"if [[ \"$IMAGE_URLS\" !\u003d *\"$IRONIC_IMAGE_NAME\"* ]]; then"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"    if [[ -n \"$IMAGE_URLS\" ]]; then"},{"line_number":457,"context_line":"        IMAGE_URLS+\u003d\",\""},{"line_number":458,"context_line":"    else"},{"line_number":459,"context_line":"        IMAGE_URLS\u003d\"\""}],"source_content_type":"application/x-shellscript","patch_set":12,"id":"ba5201f7_80f0dbfe","line":456,"updated":"2017-01-11 17:21:09.000000000","message":"We can catch the case where the comma already exists as well with something like this:\n\nif [[ -n \"$IMAGE_URLS\" \u0026\u0026 \"$IMAGE_URLS\" \u003d\u003d *\",\" ]]","commit_id":"4345b6997cb687a35417775d811c89f44771ffd9"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"0d71d13422d6ca1467a342e1c86fd19076870e98","unresolved":false,"context_lines":[{"line_number":453,"context_line":""},{"line_number":454,"context_line":"if [[ \"$IMAGE_URLS\" !\u003d *\"$IRONIC_IMAGE_NAME\"* ]]; then"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"    if [[ -n \"$IMAGE_URLS\" ]]; then"},{"line_number":457,"context_line":"        IMAGE_URLS+\u003d\",\""},{"line_number":458,"context_line":"    else"},{"line_number":459,"context_line":"        IMAGE_URLS\u003d\"\""}],"source_content_type":"application/x-shellscript","patch_set":12,"id":"ba5201f7_40bb53e5","line":456,"in_reply_to":"ba5201f7_80f0dbfe","updated":"2017-01-11 17:24:58.000000000","message":"Done, thanks for the suggestion.","commit_id":"4345b6997cb687a35417775d811c89f44771ffd9"}]}
