)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"c148ff83f8c36cb3d95b426eb3091020c357189a","unresolved":false,"context_lines":[{"line_number":16,"context_line":"This element change supports the planned specification format.  It"},{"line_number":17,"context_line":"also works with existing device lists contained in overcloud yaml"},{"line_number":18,"context_line":"templates.  If this change is accepted there is a corresponding"},{"line_number":19,"context_line":"Swift overcloud yaml tenplate change which we will submit."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"The yaml template change will check that the range specifier"},{"line_number":22,"context_line":"submitted when creating the corresponding overcloud stack conforms"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"9ad9bd40_4a5ee746","line":19,"updated":"2014-05-01 02:58:39.000000000","message":"typo - \u0027template\u0027.","commit_id":"73b9acf6a843ddec058b233338bbc057e0271602"},{"author":{"_account_id":1005,"name":"Eamonn O\u0027Toole","email":"eamonn.otoole@hp.com","username":"eamonn-otoole"},"change_message_id":"4b97ed9a50e7d9efc50ca54c9fb3380f245c2002","unresolved":false,"context_lines":[{"line_number":16,"context_line":"This element change supports the planned specification format.  It"},{"line_number":17,"context_line":"also works with existing device lists contained in overcloud yaml"},{"line_number":18,"context_line":"templates.  If this change is accepted there is a corresponding"},{"line_number":19,"context_line":"Swift overcloud yaml tenplate change which we will submit."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"The yaml template change will check that the range specifier"},{"line_number":22,"context_line":"submitted when creating the corresponding overcloud stack conforms"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"9ad9bd40_27f9d9c8","line":19,"in_reply_to":"9ad9bd40_4a5ee746","updated":"2014-05-01 08:06:40.000000000","message":"Done","commit_id":"73b9acf6a843ddec058b233338bbc057e0271602"}],"elements/swift/os-refresh-config/configure.d/73-swift":[{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"c148ff83f8c36cb3d95b426eb3091020c357189a","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"for DEVICE in ${DEVICES//,/ } ; do"},{"line_number":30,"context_line":"    DEVICE\u003d$(place_in_zone $DEVICE)"},{"line_number":31,"context_line":"    for DISK in $(eval echo $DEVICE); do"},{"line_number":32,"context_line":"        swift-ring-builder /etc/swift/object.builder add ${DISK/\\%PORT\\%/6000} 100"},{"line_number":33,"context_line":"        swift-ring-builder /etc/swift/container.builder add ${DISK/\\%PORT\\%/6001} 100"},{"line_number":34,"context_line":"        swift-ring-builder /etc/swift/account.builder add ${DISK/\\%PORT\\%/6002} 100"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"9ad9bd40_0a3cdfe1","line":31,"updated":"2014-05-01 02:58:39.000000000","message":"Wouldn\u0027t\n\n for DISK in $DEVICE; do\n\nbe a lot easier to read?","commit_id":"73b9acf6a843ddec058b233338bbc057e0271602"},{"author":{"_account_id":1005,"name":"Eamonn O\u0027Toole","email":"eamonn.otoole@hp.com","username":"eamonn-otoole"},"change_message_id":"4b97ed9a50e7d9efc50ca54c9fb3380f245c2002","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"for DEVICE in ${DEVICES//,/ } ; do"},{"line_number":30,"context_line":"    DEVICE\u003d$(place_in_zone $DEVICE)"},{"line_number":31,"context_line":"    for DISK in $(eval echo $DEVICE); do"},{"line_number":32,"context_line":"        swift-ring-builder /etc/swift/object.builder add ${DISK/\\%PORT\\%/6000} 100"},{"line_number":33,"context_line":"        swift-ring-builder /etc/swift/container.builder add ${DISK/\\%PORT\\%/6001} 100"},{"line_number":34,"context_line":"        swift-ring-builder /etc/swift/account.builder add ${DISK/\\%PORT\\%/6002} 100"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"9ad9bd40_47f6ddd8","line":31,"in_reply_to":"9ad9bd40_0a3cdfe1","updated":"2014-05-01 08:06:40.000000000","message":"I need to expand a curly-brace range.  To be specific, the disk-range is specified as, for example: d{1..3}.  That is passed-in at the end of DEVICE as, for example:\n\nr1z1-192.0.0.1:%PORT%/d{1..3}.\n\nTo expand d{1..3} into d1, d2, d3 giving:\n\nr1z1-192.0.0.1:%PORT%/d1\nr1z1-192.0.0.1:%PORT%/d2\nr1z1-192.0.0.1:%PORT%/d3\n\nI need to run \"eval\" against $DEVICE, hence the \"for\" expression.\n\nUsing a bash curly-brace range expression is compact and will allow us to specify a significant range of disks.  Our current production Swift servers have 12 disks each mounted separately, and we plan to put systems with 60 disks each mounted separately into production.","commit_id":"73b9acf6a843ddec058b233338bbc057e0271602"}]}
