)]}'
{"tacker/tests/contrib/post_test_hook_lib.sh":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"7151d834ecda186b4787090007cd508fddc07470","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":13,"context_line":"# under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"DEVSTACK_DIR\u003d${DEVSTACK_DIR:-~/devstack}"},{"line_number":16,"context_line":"PRIVATE_KEY_FILE\u003d${PRIVATE_KEY_FILE:-\"keypair.priv\"}"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"function fixup_quota {"}],"source_content_type":"text/x-sh","patch_set":2,"id":"fa7ab95a_3f42b968","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":12},"updated":"2016-08-29 22:59:04.000000000","message":"You should fail this script if DEVSTACK_DIR is not specified instead of assuming $HOME/devstack as that dir.","commit_id":"c26f00e9d725132993191b98a7bd3f6e48aa508a"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"715f2768b44562176b8022f7cfea402b66be0d97","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":13,"context_line":"# under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"DEVSTACK_DIR\u003d${DEVSTACK_DIR:-~/devstack}"},{"line_number":16,"context_line":"PRIVATE_KEY_FILE\u003d${PRIVATE_KEY_FILE:-\"keypair.priv\"}"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"function fixup_quota {"}],"source_content_type":"text/x-sh","patch_set":2,"id":"fa7ab95a_4db26895","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":12},"in_reply_to":"fa7ab95a_167b1a8d","updated":"2016-08-30 05:58:28.000000000","message":"I understand the usage. In fact I tried the script, but given DEVSTACK_DIR is not set, it error\u0027d in \u0027source $DEVSTACK_DIR/openrc admin admin\u0027 line. I was able to proceed once I set this env var.\n\nI think this script will have a better user experience if it fails with a mesg asking the user to set the DEVSTACK_DIR.","commit_id":"c26f00e9d725132993191b98a7bd3f6e48aa508a"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"f346f7ded424f9c493b138aa4701aea442468009","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":13,"context_line":"# under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"DEVSTACK_DIR\u003d${DEVSTACK_DIR:-~/devstack}"},{"line_number":16,"context_line":"PRIVATE_KEY_FILE\u003d${PRIVATE_KEY_FILE:-\"keypair.priv\"}"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"function fixup_quota {"}],"source_content_type":"text/x-sh","patch_set":2,"id":"fa7ab95a_167b1a8d","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":12},"in_reply_to":"fa7ab95a_3f42b968","updated":"2016-08-30 01:29:27.000000000","message":"Sridhar, this is mostly used by developers who have the devstack installed. And before git review to summit their codes, the functional test can be run tox -e functional.\n\nAnd also, this is used by our OpenStack gate test, the DEVSTACK_DIR can be overriden there.","commit_id":"c26f00e9d725132993191b98a7bd3f6e48aa508a"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"7151d834ecda186b4787090007cd508fddc07470","unresolved":false,"context_lines":[{"line_number":28,"context_line":"function add_key {"},{"line_number":29,"context_line":"    echo \"Adding nova key\""},{"line_number":30,"context_line":"    source $DEVSTACK_DIR/openrc admin admin"},{"line_number":31,"context_line":"    userId\u003d$(openstack user list | awk \u0027/\\ nfv_user\\ / {print $2}\u0027)"},{"line_number":32,"context_line":"    nova keypair-add userKey --user $userId \u003e ${PRIVATE_KEY_FILE}"},{"line_number":33,"context_line":"}"}],"source_content_type":"text/x-sh","patch_set":2,"id":"fa7ab95a_1fc335ee","line":32,"range":{"start_line":31,"start_character":0,"end_line":32,"end_character":65},"updated":"2016-08-29 22:59:04.000000000","message":"Since this method could be run multiple times in a devstack, please add a logic where you first check if the \"userKey\" already exists and create only if it doesn\u0027t exists.","commit_id":"c26f00e9d725132993191b98a7bd3f6e48aa508a"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"f346f7ded424f9c493b138aa4701aea442468009","unresolved":false,"context_lines":[{"line_number":28,"context_line":"function add_key {"},{"line_number":29,"context_line":"    echo \"Adding nova key\""},{"line_number":30,"context_line":"    source $DEVSTACK_DIR/openrc admin admin"},{"line_number":31,"context_line":"    userId\u003d$(openstack user list | awk \u0027/\\ nfv_user\\ / {print $2}\u0027)"},{"line_number":32,"context_line":"    nova keypair-add userKey --user $userId \u003e ${PRIVATE_KEY_FILE}"},{"line_number":33,"context_line":"}"}],"source_content_type":"text/x-sh","patch_set":2,"id":"fa7ab95a_16895a75","line":32,"range":{"start_line":31,"start_character":0,"end_line":32,"end_character":65},"in_reply_to":"fa7ab95a_1fc335ee","updated":"2016-08-30 01:29:27.000000000","message":"I will try to fix the problem.","commit_id":"c26f00e9d725132993191b98a7bd3f6e48aa508a"}],"tools/prepare_function_test.sh":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"7151d834ecda186b4787090007cd508fddc07470","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"fa7ab95a_22a29cfd","updated":"2016-08-29 22:59:04.000000000","message":"nit: name this file as \"prepare_functional_test.sh\"","commit_id":"c26f00e9d725132993191b98a7bd3f6e48aa508a"}]}
