)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"f1293fc2ddc9bd0b9940693f6e2d951ddfc63e23","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Chris Krelle \u003cchris.jam.krelle@hpe.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-03-24 15:28:46 -0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"follow up to Idc1603d7f6d849d9c1a745b6d50d75ceb414d5c9"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I8215ad017f332cf1e717d36289ff85b41101fb33"},{"line_number":10,"context_line":"Depends-on: Idc1603d7f6d849d9c1a745b6d50d75ceb414d5c9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da0c15f0_e7516010","line":7,"updated":"2016-03-24 22:49:11.000000000","message":"I prefer git commit IDs because then I can do:\n\n $ git show b4135830d8942412c3687ef86f2983974c97e799\n\nMaybe:\n\n Follow up to b4135830d8942412c3687ef86f2983974c97e799\n\nFollow up patch to commit b4135830d8942412c3687ef86f2983974c97e799\n\nGenerate SSH keys if either the private or public key file are missing.\n\nSimplify logic by using in-place sort command","commit_id":"7095e1f29c03e49ffd7a9c68b2b9ddca4fba4a19"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"5218cb40c397b329a532fa1fe18cc04bab676c9a","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Chris Krelle \u003cchris.jam.krelle@hpe.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-03-24 15:28:46 -0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"follow up to Idc1603d7f6d849d9c1a745b6d50d75ceb414d5c9"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I8215ad017f332cf1e717d36289ff85b41101fb33"},{"line_number":10,"context_line":"Depends-on: Idc1603d7f6d849d9c1a745b6d50d75ceb414d5c9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da0c15f0_883b36eb","line":7,"in_reply_to":"da0c15f0_e7516010","updated":"2016-03-25 15:14:07.000000000","message":"Well, if we\u0027re being real, the title should say what it does, not that it\u0027s a follow-up :)","commit_id":"7095e1f29c03e49ffd7a9c68b2b9ddca4fba4a19"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"f1293fc2ddc9bd0b9940693f6e2d951ddfc63e23","unresolved":false,"context_lines":[{"line_number":7,"context_line":"follow up to Idc1603d7f6d849d9c1a745b6d50d75ceb414d5c9"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I8215ad017f332cf1e717d36289ff85b41101fb33"},{"line_number":10,"context_line":"Depends-on: Idc1603d7f6d849d9c1a745b6d50d75ceb414d5c9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da0c15f0_e7784092","line":10,"updated":"2016-03-24 22:49:11.000000000","message":"And this has now been merged. So can be removed if wanted.","commit_id":"7095e1f29c03e49ffd7a9c68b2b9ddca4fba4a19"}],"devstack/lib/ironic":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"1ed3a23f6e88dc42da6891d0e674f2ab2db24d32","unresolved":false,"context_lines":[{"line_number":824,"context_line":"        mkdir -p $HOME/.ssh"},{"line_number":825,"context_line":"        chmod 700 $HOME/.ssh"},{"line_number":826,"context_line":"    fi"},{"line_number":827,"context_line":"    if [[ ! -e $IRONIC_KEY_FILE.pub ]]; then"},{"line_number":828,"context_line":"        if [[ ! -d $(dirname $IRONIC_KEY_FILE) ]]; then"},{"line_number":829,"context_line":"            mkdir -p $(dirname $IRONIC_KEY_FILE)"},{"line_number":830,"context_line":"        fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"da0c15f0_278359ce","line":827,"updated":"2016-03-24 22:41:17.000000000","message":"Maybe:\n\n if [[ ! -e $IRONIC_KEY_FILE -o ! -e ${IRONIC_KEY_FILE}.pub ]]; then\n\nOr something like that. I haven\u0027t tested it. But idea is if EITHER file is missing then do the ssh-keygen.","commit_id":"7095e1f29c03e49ffd7a9c68b2b9ddca4fba4a19"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"5218cb40c397b329a532fa1fe18cc04bab676c9a","unresolved":false,"context_lines":[{"line_number":824,"context_line":"        mkdir -p $HOME/.ssh"},{"line_number":825,"context_line":"        chmod 700 $HOME/.ssh"},{"line_number":826,"context_line":"    fi"},{"line_number":827,"context_line":"    if [[ ! -e $IRONIC_KEY_FILE.pub ]]; then"},{"line_number":828,"context_line":"        if [[ ! -d $(dirname $IRONIC_KEY_FILE) ]]; then"},{"line_number":829,"context_line":"            mkdir -p $(dirname $IRONIC_KEY_FILE)"},{"line_number":830,"context_line":"        fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"da0c15f0_c8252ec3","line":827,"in_reply_to":"da0c15f0_278359ce","updated":"2016-03-25 15:14:07.000000000","message":"Yeah, I think I agree here","commit_id":"7095e1f29c03e49ffd7a9c68b2b9ddca4fba4a19"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"f9a84658e887b993992c18963ce50717fddf7887","unresolved":false,"context_lines":[{"line_number":846,"context_line":"        chmod 700 $HOME/.ssh"},{"line_number":847,"context_line":"    fi"},{"line_number":848,"context_line":"    # recreate ssh if any part is missing"},{"line_number":849,"context_line":"    if [[ ! -e $IRONIC_KEY_FILE ]] || [[ ! -e $IRONIC_KEY_FILE.pub ]]; then"},{"line_number":850,"context_line":"        if [[ ! -d $(dirname $IRONIC_KEY_FILE) ]]; then"},{"line_number":851,"context_line":"            mkdir -p $(dirname $IRONIC_KEY_FILE)"},{"line_number":852,"context_line":"        fi"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"da0c15f0_ec10fc50","line":849,"updated":"2016-03-25 18:43:41.000000000","message":"FWIW, the || can be inside the brackets too. :)\n\n[[ ! -e $IRONIC_KEY_FILE || ! -e $IRONIC_KEY_FILE.pub ]]","commit_id":"c19543457fbc669ec1b0dfc2f3cd7fa9b3b920c6"}]}
