)]}'
{"functions-common":[{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"1a32c42ac5f8309f403e69866f114c73a6b8fe63","unresolved":false,"context_lines":[{"line_number":242,"context_line":"    elif [[ -r /etc/oracle-release ]]; then"},{"line_number":243,"context_line":"        os_CODENAME\u003d\"\""},{"line_number":244,"context_line":"        os_VENDOR\u003dOracleLinux"},{"line_number":245,"context_line":"        ver\u003d`sed -e \u0027s/^.* \\([0-9].*\\) (\\(.*\\)).*$/\\1\\|\\2/\u0027 /etc/redhat-release`"},{"line_number":246,"context_line":"        os_CODENAME\u003d${ver#*|}"},{"line_number":247,"context_line":"        os_RELEASE\u003d${ver%|*}"},{"line_number":248,"context_line":"        os_UPDATE\u003d${os_RELEASE##*.}"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"9a80dd14_7d50285e","line":245,"updated":"2015-03-20 14:36:20.000000000","message":"Should this be /etc/oracle-release?","commit_id":"deeafbb0aa00da9fa00acac30f662eb473c0116b"},{"author":{"_account_id":14793,"name":"Wiekus Beukes","email":"wiekus.beukes@oracle.com","username":"wbeukes"},"change_message_id":"691f51921a88df65e87fbf1f2dead0fc9cb09dac","unresolved":false,"context_lines":[{"line_number":242,"context_line":"    elif [[ -r /etc/oracle-release ]]; then"},{"line_number":243,"context_line":"        os_CODENAME\u003d\"\""},{"line_number":244,"context_line":"        os_VENDOR\u003dOracleLinux"},{"line_number":245,"context_line":"        ver\u003d`sed -e \u0027s/^.* \\([0-9].*\\) (\\(.*\\)).*$/\\1\\|\\2/\u0027 /etc/redhat-release`"},{"line_number":246,"context_line":"        os_CODENAME\u003d${ver#*|}"},{"line_number":247,"context_line":"        os_RELEASE\u003d${ver%|*}"},{"line_number":248,"context_line":"        os_UPDATE\u003d${os_RELEASE##*.}"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"9a80dd14_ee62a0ab","line":245,"in_reply_to":"9a80dd14_7d50285e","updated":"2015-03-20 16:31:04.000000000","message":"Oracle Linux does keep the original Redhat release with the version and code name, so I just used that once the script detected it is in fact Oracle Linux, I suppose I could have done this in Redhat area but it does complicate the checks and make it a lot more unreadable...","commit_id":"deeafbb0aa00da9fa00acac30f662eb473c0116b"},{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"a87cc8c71d42f4dfd15328d9cc26770df7697b0a","unresolved":false,"context_lines":[{"line_number":242,"context_line":"    elif [[ -r /etc/oracle-release ]]; then"},{"line_number":243,"context_line":"        os_CODENAME\u003d\"\""},{"line_number":244,"context_line":"        os_VENDOR\u003dOracleLinux"},{"line_number":245,"context_line":"        ver\u003d`sed -e \u0027s/^.* \\([0-9].*\\) (\\(.*\\)).*$/\\1\\|\\2/\u0027 /etc/redhat-release`"},{"line_number":246,"context_line":"        os_CODENAME\u003d${ver#*|}"},{"line_number":247,"context_line":"        os_RELEASE\u003d${ver%|*}"},{"line_number":248,"context_line":"        os_UPDATE\u003d${os_RELEASE##*.}"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"9a80dd14_9b1cff78","line":245,"in_reply_to":"9a80dd14_ee62a0ab","updated":"2015-03-20 17:11:30.000000000","message":"If so, then does this really need to be duplicated form RHEL?  Just add OracleLinux to the list on line 250.","commit_id":"deeafbb0aa00da9fa00acac30f662eb473c0116b"}],"lib/databases/mysql":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"97829690a75e1d1c752a0ecf5b0030ee3ce278ee","unresolved":false,"context_lines":[{"line_number":32,"context_line":"        sudo rm -rf /var/lib/mysql"},{"line_number":33,"context_line":"        sudo rm -rf /etc/mysql"},{"line_number":34,"context_line":"        return"},{"line_number":35,"context_line":"    elif is_oraclelinux; then"},{"line_number":36,"context_line":"        uninstall_package mysql-community-server"},{"line_number":37,"context_line":"        sudo rm -rf /var/lib/mysql"},{"line_number":38,"context_line":"    elif is_fedora; then"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"9a80dd14_5d3700b0","line":35,"updated":"2015-03-19 22:24:31.000000000","message":"can we please save some lines and move this in with is_suse which is the same (and below)","commit_id":"5de66485e09e1ea530802f6c26827400fcddd998"},{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"1a32c42ac5f8309f403e69866f114c73a6b8fe63","unresolved":false,"context_lines":[{"line_number":56,"context_line":"    if is_ubuntu; then"},{"line_number":57,"context_line":"        my_conf\u003d/etc/mysql/my.cnf"},{"line_number":58,"context_line":"        mysql\u003dmysql"},{"line_number":59,"context_line":"    elif is_oraclelinux; then"},{"line_number":60,"context_line":"        my_conf\u003d/etc/my.cnf"},{"line_number":61,"context_line":"        mysql\u003dmysql"},{"line_number":62,"context_line":"    elif is_fedora; then"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"9a80dd14_5d78c4c3","line":59,"updated":"2015-03-20 14:36:20.000000000","message":"It looks like this and the change below could also be done as above with is_suse || is_oraclelinux","commit_id":"deeafbb0aa00da9fa00acac30f662eb473c0116b"},{"author":{"_account_id":14793,"name":"Wiekus Beukes","email":"wiekus.beukes@oracle.com","username":"wbeukes"},"change_message_id":"691f51921a88df65e87fbf1f2dead0fc9cb09dac","unresolved":false,"context_lines":[{"line_number":56,"context_line":"    if is_ubuntu; then"},{"line_number":57,"context_line":"        my_conf\u003d/etc/mysql/my.cnf"},{"line_number":58,"context_line":"        mysql\u003dmysql"},{"line_number":59,"context_line":"    elif is_oraclelinux; then"},{"line_number":60,"context_line":"        my_conf\u003d/etc/my.cnf"},{"line_number":61,"context_line":"        mysql\u003dmysql"},{"line_number":62,"context_line":"    elif is_fedora; then"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"9a80dd14_4e556c4e","line":59,"in_reply_to":"9a80dd14_5d78c4c3","updated":"2015-03-20 16:31:04.000000000","message":"Done","commit_id":"deeafbb0aa00da9fa00acac30f662eb473c0116b"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"f36dff6c9dd9b4f40077da84af0b91d0e96a8fdf","unresolved":false,"context_lines":[{"line_number":143,"context_line":"    if is_oraclelinux; then"},{"line_number":144,"context_line":"        if ! is_package_installed mariadb; then"},{"line_number":145,"context_line":"            install_package mysql-community-server"},{"line_number":146,"context_line":"        fi"},{"line_number":147,"context_line":"    elif is_fedora; then"},{"line_number":148,"context_line":"        install_package mariadb-server"},{"line_number":149,"context_line":"    elif is_ubuntu; then"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"1a6ced46_004eb7c1","line":146,"updated":"2015-03-23 03:30:51.000000000","message":"this can be combined too?","commit_id":"1e4bcf1cb33235311679bc968e89cc2aacc3354d"}]}
