)]}'
{"scripts/redstack":[{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"252f61338b70b6214196518602ccffb6567a0dbb","unresolved":false,"context_lines":[{"line_number":324,"context_line":"    if [ -f \"$PATH_TROVE\"/trove/templates/$DATASTORE_TYPE/validation-rules.json ]; then"},{"line_number":325,"context_line":"        # add the configuration parameters to the database for the kick-start datastore"},{"line_number":326,"context_line":"        source $PATH_DEVSTACK_SRC/openrc admin admin"},{"line_number":327,"context_line":"        DATASTORE_VERSION_ID\u003d`trove datastore-version-list \"$DATASTORE_TYPE\" | grep -F \"$VERSION\" | get_field 1`"},{"line_number":328,"context_line":"        rd_manage db_load_datastore_config_parameters \"$DATASTORE_VERSION_ID\" \"$PATH_TROVE\"/trove/templates/$DATASTORE_TYPE/validation-rules.json"},{"line_number":329,"context_line":"    fi"},{"line_number":330,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa98f980_92f1df97","line":327,"updated":"2014-09-09 06:41:02.000000000","message":"this grep isn\u0027t air tight:\n\n    $ trove datastore-version-list mysql | grep -F \"5\"\n    | 2f452ceb-e52d-4195-a1ce-fdba5bddfa5b | 5.5  |\n\nthis means if you\u0027ve got \"5.5\" and \"5.5.20\", your grep will return both if the $VERSION is \"5.5\".\n\nalso, if the version is an integer, it\u0027ll match any of the uuids.\n\nin short, cut/awk to only get the name column, then do an exact match.","commit_id":"f4c40da640df501918a368c9f7e43967a729718c"},{"author":{"_account_id":9683,"name":"Mat Lowery","email":"mlowery@ebaysf.com","username":"mat-lowery"},"change_message_id":"b160cd824d70294b379b36f0de370a4031e50d1a","unresolved":false,"context_lines":[{"line_number":324,"context_line":"    if [ -f \"$PATH_TROVE\"/trove/templates/$DATASTORE_TYPE/validation-rules.json ]; then"},{"line_number":325,"context_line":"        # add the configuration parameters to the database for the kick-start datastore"},{"line_number":326,"context_line":"        source $PATH_DEVSTACK_SRC/openrc admin admin"},{"line_number":327,"context_line":"        DATASTORE_VERSION_ID\u003d`trove datastore-version-list \"$DATASTORE_TYPE\" | grep -F \"$VERSION\" | get_field 1`"},{"line_number":328,"context_line":"        rd_manage db_load_datastore_config_parameters \"$DATASTORE_VERSION_ID\" \"$PATH_TROVE\"/trove/templates/$DATASTORE_TYPE/validation-rules.json"},{"line_number":329,"context_line":"    fi"},{"line_number":330,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa98f980_78ae0b9a","line":327,"in_reply_to":"fa98f980_92f1df97","updated":"2014-09-09 17:12:07.000000000","message":"I tightened the search per your suggestion. But also, I didn\u0027t change that line. :)","commit_id":"f4c40da640df501918a368c9f7e43967a729718c"}]}
