)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"71335bf7cdf27860588cc0c990654af9bfa7de10","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Matthew Thode \u003cmthode@mthode.org\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-06-01 09:45:06 -0500"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"upgrades stall when installing pip packages with an external loadbalancer"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"this creates a temp variable that is used during the upgrade process to"},{"line_number":10,"context_line":"connect directly to the local pip repo server instead of through the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a016987_788df02f","line":7,"updated":"2015-06-01 14:58:06.000000000","message":"This belongs in a bug report. The commit message should describe what\u0027s happening in the commit, e.g.,\n\n    Create a temporary variable for the upgrade process\n\n    Prior to this, upgrades stalled when installing pip packages through an \n    external load balancer. The variable created will allow pip to connect directly\n    to the local pip repo server. etc.","commit_id":"287e15afecbac87d6fcc07fadb43852ae120cd4e"}],"scripts/run-upgrade.sh":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"71335bf7cdf27860588cc0c990654af9bfa7de10","unresolved":false,"context_lines":[{"line_number":283,"context_line":"fi"},{"line_number":284,"context_line":""},{"line_number":285,"context_line":"if ! grep -R \u0027^openstack_repo_url\\:\u0027 /etc/openstack_deploy/user_variables.yml /etc/openstack_deploy/conf.d/; then"},{"line_number":286,"context_line":"  echo -e \"repo-infra_hosts: \\\"{{ hostvars[groups[\u0027pkg_repo\u0027][0]][\u0027ansible_ssh_host\u0027] }}:{{ repo_server_port }}\\\"\" | tee -a /etc/openstack_deploy/user_deleteme_post_upgrade_variables.yml"},{"line_number":287,"context_line":"fi"},{"line_number":288,"context_line":""},{"line_number":289,"context_line":"sed -i \u0027/^environment_version.*/d\u0027 /etc/openstack_deploy/openstack_user_config.yml"}],"source_content_type":"text/x-sh","patch_set":1,"id":"7a016987_98b8acc9","line":286,"updated":"2015-06-01 14:58:06.000000000","message":"Elsewhere we break up long commands like these into several lines, can we follow that style here?","commit_id":"287e15afecbac87d6fcc07fadb43852ae120cd4e"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"e5e47dca13e0a1c82c8515c330b16738d7079a85","unresolved":false,"context_lines":[{"line_number":283,"context_line":"fi"},{"line_number":284,"context_line":""},{"line_number":285,"context_line":"if ! grep -R \u0027^openstack_repo_url\\:\u0027 /etc/openstack_deploy/user_variables.yml /etc/openstack_deploy/conf.d/; then"},{"line_number":286,"context_line":"  echo -e \"repo-infra_hosts: \\\"{{ hostvars[groups[\u0027pkg_repo\u0027][0]][\u0027ansible_ssh_host\u0027] }}:{{ repo_server_port }}\\\"\" | tee -a /etc/openstack_deploy/user_deleteme_post_upgrade_variables.yml"},{"line_number":287,"context_line":"fi"},{"line_number":288,"context_line":""},{"line_number":289,"context_line":"sed -i \u0027/^environment_version.*/d\u0027 /etc/openstack_deploy/openstack_user_config.yml"}],"source_content_type":"text/x-sh","patch_set":1,"id":"7a016987_c223ce03","line":286,"in_reply_to":"7a016987_98b8acc9","updated":"2015-06-01 15:28:12.000000000","message":"this isn\u0027t even the longest line in the file, also it\u0027s bash, also it\u0027s hard to split since we are echoing something that is suposed to be a single line.","commit_id":"287e15afecbac87d6fcc07fadb43852ae120cd4e"},{"author":{"_account_id":9515,"name":"Matthew Kassawara","email":"mkassawara@gmail.com","username":"ionosphere80"},"change_message_id":"c2c21db629cff2103cf2a23242d9a0dbe8f0e9b4","unresolved":false,"context_lines":[{"line_number":281,"context_line":"EOL"},{"line_number":282,"context_line":"  fi"},{"line_number":283,"context_line":"fi"},{"line_number":284,"context_line":""},{"line_number":285,"context_line":"if ! grep -R \u0027^openstack_repo_url\\:\u0027 /etc/openstack_deploy/user_* /etc/openstack_deploy/conf.d/; then"},{"line_number":286,"context_line":"  echo -e \"repo-infra_hosts: \\\"{{ hostvars[groups[\u0027pkg_repo\u0027][0]][\u0027ansible_ssh_host\u0027] }}:{{ repo_server_port }}\\\"\" | tee -a /etc/openstack_deploy/user_deleteme_post_upgrade_variables.yml"},{"line_number":287,"context_line":"fi"}],"source_content_type":"text/x-sh","patch_set":2,"id":"5afe65bd_39587756","line":284,"updated":"2015-06-01 17:20:12.000000000","message":"Perhaps add a comment describing the purpose?","commit_id":"5fd45268461652d9e25a2ff96379e15142aa4427"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"b2fa52f888581ada8adb6a8c91bf71348cb6a16b","unresolved":false,"context_lines":[{"line_number":283,"context_line":"fi"},{"line_number":284,"context_line":""},{"line_number":285,"context_line":"if ! grep -R \u0027^openstack_repo_url\\:\u0027 /etc/openstack_deploy/user_* /etc/openstack_deploy/conf.d/; then"},{"line_number":286,"context_line":"  echo -e \"repo-infra_hosts: \\\"{{ hostvars[groups[\u0027pkg_repo\u0027][0]][\u0027ansible_ssh_host\u0027] }}:{{ repo_server_port }}\\\"\" | tee -a /etc/openstack_deploy/user_deleteme_post_upgrade_variables.yml"},{"line_number":287,"context_line":"fi"},{"line_number":288,"context_line":""},{"line_number":289,"context_line":"sed -i \u0027/^environment_version.*/d\u0027 /etc/openstack_deploy/openstack_user_config.yml"}],"source_content_type":"text/x-sh","patch_set":2,"id":"5afe65bd_7fdb6fee","line":286,"updated":"2015-06-01 18:04:00.000000000","message":"Sure this is bash, and sure it isn\u0027t the longest line in the file, but ~10 lines below this the commands are being broken up, e.g.,\n\n    echo -e \"...\" |\\\n      tee -a /etc/openstack_deploy/user_deleteme_post_upgrade_variables.yml\n\nStill makes it far nicer to read","commit_id":"5fd45268461652d9e25a2ff96379e15142aa4427"}]}
