)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"7e34782b114b4987d35a0dcf71a3d1732e9b144b","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2015-08-21 06:32:57 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"solve the devstack ./rejoin-stack.sh when is reboot-safe in RHLE 7."},{"line_number":8,"context_line":"mysql, postgresql, rabbitmq-server, openvswitch service enable on boot."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Change-Id: I3ce9fc58ccc76092ad08314de1c3c9339ebfb3b5"},{"line_number":11,"context_line":"Related-Bug: #1486833"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"fa1b9901_18f3e19f","line":8,"updated":"2015-08-25 03:36:48.000000000","message":"please cleanup to a subject / description","commit_id":"985a2715347a717baec6d20818a3c7a95968f0c1"},{"author":{"_account_id":17207,"name":"Atsushi SAKAI","email":"sakaia@jp.fujitsu.com","username":"sakaia"},"change_message_id":"9d97a1d1bc6b2b8876d51916f22d58737cd7a5f6","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Enable some serivce when on boot"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Solve the devstack ./rejoin-stack.sh when is reboot-safe in RHLE 7."},{"line_number":10,"context_line":"Enable mysql, postgresql, rabbitmq-server, openvswitch service when on boot."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I3ce9fc58ccc76092ad08314de1c3c9339ebfb3b5"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"5a710552_ee81c0fc","line":9,"updated":"2015-12-15 06:17:14.000000000","message":"typo\nRHLE \u003d\u003e RHEL","commit_id":"a2c56110e7b4e46427889282275961acc400eafa"}],"functions-common":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"bb661720f3a4c34bb61d71c6ee84794a56ad1833","unresolved":false,"context_lines":[{"line_number":2028,"context_line":"# Service wrapper to enable services when on boot in linux"},{"line_number":2029,"context_line":"# chkconfig_service service-name"},{"line_number":2030,"context_line":"function chkconfig_service {"},{"line_number":2031,"context_line":"    if is_ubuntu; then"},{"line_number":2032,"context_line":"        sudo /usr/sbin/update-rc.d $1 defaults"},{"line_number":2033,"context_line":"    else"},{"line_number":2034,"context_line":"        sudo /usr/sbin/chkconfig $1 on"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa1b9901_edc2aae8","line":2031,"updated":"2015-08-20 08:33:10.000000000","message":"You would need more cases in order to enable the service for systemd-based systems (Ubuntu \u003e\u003d 15.04, Fedora).","commit_id":"a1315ea07611d7faadffed3cf5dc4708fbd7edca"}],"lib/databases/mysql":[{"author":{"_account_id":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},"change_message_id":"a8582213abbfb97c35f1fbc8eeac02536b9cee85","unresolved":false,"context_lines":[{"line_number":156,"context_line":"        fi"},{"line_number":157,"context_line":"    elif is_fedora; then"},{"line_number":158,"context_line":"        install_package mariadb-server"},{"line_number":159,"context_line":"        sudo systemctl enable mariadb-server"},{"line_number":160,"context_line":"    elif is_ubuntu; then"},{"line_number":161,"context_line":"        install_package mysql-server"},{"line_number":162,"context_line":"    else"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"da20952f_3c1b9dcc","line":159,"updated":"2015-09-08 09:37:45.000000000","message":"It is just mariadb.\n\n(It may have different name with non default mariadb packages, but in ths case the pkg name also would be different)","commit_id":"523b05525bf79a602caf511da867c394ad73daa9"}],"lib/databases/postgresql":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"7e34782b114b4987d35a0dcf71a3d1732e9b144b","unresolved":false,"context_lines":[{"line_number":98,"context_line":"    elif is_fedora; then"},{"line_number":99,"context_line":"        install_package postgresql-server"},{"line_number":100,"context_line":"        sudo /usr/bin/systemctl enable postgresql-server"},{"line_number":101,"context_line":"    leif is_suse; then"},{"line_number":102,"context_line":"        install_package postgresql-server"},{"line_number":103,"context_line":"    else"},{"line_number":104,"context_line":"        exit_distro_not_supported \"postgresql installation\""}],"source_content_type":"text/x-pgsql","patch_set":3,"id":"fa1b9901_f82e2df9","line":101,"updated":"2015-08-25 03:36:48.000000000","message":"elif","commit_id":"985a2715347a717baec6d20818a3c7a95968f0c1"},{"author":{"_account_id":4656,"name":"Sean M. Collins","email":"sean@coreitpro.com","username":"scollins"},"change_message_id":"cdc42ed0c7490c142a1c39eb6f96047d638c8263","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        install_package postgresql"},{"line_number":98,"context_line":"    elif is_fedora; then"},{"line_number":99,"context_line":"        install_package postgresql-server"},{"line_number":100,"context_line":"        sudo systemctl enable postgresql-server"},{"line_number":101,"context_line":"    elif is_suse; then"},{"line_number":102,"context_line":"        install_package postgresql-server"},{"line_number":103,"context_line":"    else"}],"source_content_type":"text/x-pgsql","patch_set":5,"id":"da20952f_331d0867","line":100,"updated":"2015-08-26 17:17:38.000000000","message":"Why not have a nested if:\n\nelif is_fedora || is suse; then;\n...\n    if is_suse; then\n        sudo systemctl enable postgresql-server\n    fi\n\n?","commit_id":"993de1d2e782f77df77e28e303109e26c97289d3"}],"lib/rpc_backend":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"bb661720f3a4c34bb61d71c6ee84794a56ad1833","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"            if [[ $(( i % 2 )) \u003d\u003d \"0\" ]] ; then"},{"line_number":75,"context_line":"                restart_service rabbitmq-server"},{"line_number":76,"context_line":"                chkconfig_service rabbitmq-server"},{"line_number":77,"context_line":"            fi"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"            rabbit_setuser \"$RABBIT_USERID\" \"$RABBIT_PASSWORD\" || rc\u003d$?"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa1b9901_6d769ad8","line":76,"updated":"2015-08-20 08:33:10.000000000","message":"This should happen only once, outside the for loop.","commit_id":"a1315ea07611d7faadffed3cf5dc4708fbd7edca"}]}
