)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"c86e9b94d304a34ae461c9a01f4e1d5a8a101732","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Joey D \u003cjobewan@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-12-16 20:05:29 -0600"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Closes bug: 1486689"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This fix uses dmidecode and awk to simply multiply by 1024 when"},{"line_number":10,"context_line":"the value is represented in GB, otherwise it returns the given"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a7e1126_1e3d99dc","line":7,"updated":"2015-12-21 21:42:53.000000000","message":"Hi Joey! THanks for the commit. This actually goes at the end of the commit message, in a specific format, like this:\n\n    Closes-Bug: #1486689\n\nThe first line, however, should be a quick summary of the actual content of the change. Something like \"Fix discoverd bug when dmidecode reports GB\".\n\nThese two things are explained quite well here:\n\nhttps://wiki.openstack.org/wiki/GitCommitMessages","commit_id":"9c63274bd8a9709a897fe7ac017aebc176e69bca"}],"elements/ironic-discoverd-ramdisk/init.d/80-ironic-discoverd-ramdisk":[{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"c86e9b94d304a34ae461c9a01f4e1d5a8a101732","unresolved":false,"context_lines":[{"line_number":44,"context_line":"update \".cpu_arch \u003d \\\"$CPU_ARCH\\\"\""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"RAM\u003d0"},{"line_number":47,"context_line":"for i in $(dmidecode --type memory | awk \u0027($0~/Size/ \u0026\u0026 $2~/[0-9]/) {($3~/GB/) ? size\u003d$2*1024 : size\u003d$2; {print size;}}\u0027)"},{"line_number":48,"context_line":"do"},{"line_number":49,"context_line":"    RAM\u003d$(( RAM + $i ));"},{"line_number":50,"context_line":"done"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"3a7e1126_be28059b","line":47,"updated":"2015-12-21 21:42:53.000000000","message":"Nice awk!","commit_id":"9c63274bd8a9709a897fe7ac017aebc176e69bca"}]}
