)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"5fc25abe3fe2821aea8f94d2452bd6f20989978e","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Craige McWhirter \u003ccraige@mcwhirter.com.au\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-01-23 16:54:34 +1100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Double quote to prevent globbing and word splitting."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Added a double quote to  prevent globbing and word splitting."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a930d6b_901c5615","line":7,"updated":"2015-01-23 05:58:10.000000000","message":"Sorry to nit on a commit msg, but can we make this point out that its related to os-db-create? Either on this line or in the main commit msg body. Thanks!","commit_id":"60f808113886d48719fa7261add7c8f82adc799d"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"ef1d189ba07efa60ff57a2850ed0ad6802ed583b","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Double quote to prevent globbing and word splitting in os-db-create"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Added a double quote to  prevent globbing and word splitting os-db-create."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I501d20f565f720528d11a5d2d8bedd86300952de"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1a930d6b_56bbc671","line":9,"updated":"2015-01-23 07:59:01.000000000","message":"This message explains what happened, but doesn\u0027t explain why this change was neccessary\n\nA future reviewer looking at the change will be able to see what happened by looking at the body of the change, but won\u0027t be able to figure out why the change was made, so it\u0027s helpful to include the rationale in the message.\n\nhttps://wiki.openstack.org/wiki/GitCommitMessages#Information_in_commit_messages has several suggestions about information in commit messages, including: \"Do not assume the reviewer understands what the original problem was\" and \"Describe why a change is being made\"","commit_id":"4b75e2c6b44853531878dd6fb7a1acc97fccd4b1"}],"elements/os-svc-install/bin/os-db-create":[{"author":{"_account_id":12459,"name":"Stephanie Miller","email":"stephane@alum.mit.edu","username":"cinerama"},"change_message_id":"274a947eb90fbd3b713902bbd16b653c2554d45b","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    exit 1"},{"line_number":16,"context_line":"fi"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"create_db \"$*\""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1a930d6b_ed814a90","line":18,"updated":"2015-01-23 00:42:17.000000000","message":"This doesn\u0027t work - $2 \u0026 $3 will be undefined. Did you mean \"$@\"?","commit_id":"36bdad9bddf35bb74ea6f32edb50a758365b582c"},{"author":{"_account_id":9369,"name":"Steve Kowalik","email":"steven@wedontsleep.org","username":"stevenk"},"change_message_id":"4b35822c3982fcdbea71b5c5fc0a4f41b357946c","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    exit 1"},{"line_number":16,"context_line":"fi"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"create_db \"$*\""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1a930d6b_8d8521af","line":18,"in_reply_to":"1a930d6b_ed814a90","updated":"2015-01-23 05:23:01.000000000","message":"But $* without quotes is correct: From the bash manual page: $* Expands to the positional parameters, starting from one.   When the  expansion  is  not  within  double  quotes, each positional parameter expands to a separate word.","commit_id":"36bdad9bddf35bb74ea6f32edb50a758365b582c"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"ef1d189ba07efa60ff57a2850ed0ad6802ed583b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"set -eu"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"function create_db() {"},{"line_number":5,"context_line":"    local sql\u003d\""},{"line_number":6,"context_line":"        create database if not exists $1;"},{"line_number":7,"context_line":"        grant all on $1.* to \u0027$2\u0027@\u0027localhost\u0027 identified by \u0027$3\u0027;"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"1a930d6b_76b1a28e","side":"PARENT","line":4,"updated":"2015-01-23 07:59:01.000000000","message":"This change was not mentioned in commit message and seems unrelated. Please revert (if it\u0027s unintended) or mention (if it\u0027s intended)","commit_id":"46962f9a0c5333e02caa8fbbf8496b915c7cf7f3"}]}
