)]}'
{"scripts/files/elements/fedora-mariadb/install.d/10-mariadb":[{"author":{"_account_id":4240,"name":"Craig Vyvial","email":"cp16net@gmail.com","username":"cp16net"},"change_message_id":"41cb27c80641bb1dede6141bcfe3015392f0d0e3","unresolved":false,"context_lines":[{"line_number":7,"context_line":"set -o xtrace"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"yum -y install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm"},{"line_number":10,"context_line":"echo exclude\u003dPercona-SQL* Percona-Server* Percona-XtraDB-Cluster* \u003e\u003e /etc/yum.conf"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"yum -y install mariadb-server percona-xtrabackup"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa1b9901_cfcc81bd","line":10,"updated":"2015-08-20 06:22:20.000000000","message":"is this for just installing percona-xtrabackup? seems cryptic to me.","commit_id":"48b3bcb13fb7b838388a8ddc58d0b86e713431d9"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"1c9062b98865ab9eb7c91baf4a68f09bf1751e7b","unresolved":false,"context_lines":[{"line_number":7,"context_line":"set -o xtrace"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"yum -y install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm"},{"line_number":10,"context_line":"echo exclude\u003dPercona-SQL* Percona-Server* Percona-XtraDB-Cluster* \u003e\u003e /etc/yum.conf"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"yum -y install mariadb-server percona-xtrabackup"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa1b9901_8b6d6434","line":10,"in_reply_to":"fa1b9901_cfcc81bd","updated":"2015-08-24 21:42:38.000000000","message":"Yeah, actually it is...\nFedora has (or had?) a problem with Percona packages. Here are more details https://blog.mozilla.org/it/2013/02/06/percona-repo-conflicts-with-itself/, but I could reproduce this in the last weeks. I\u0027ll try again and see if this is solved.","commit_id":"48b3bcb13fb7b838388a8ddc58d0b86e713431d9"}],"scripts/files/elements/ubuntu-mariadb/README.md":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"3e2ee407e0697e9f867c4033aa7cdf21d1a2773b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Sets up a MaariaDBB server install in the image."},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"TODO: auto-tune settings based on host resources or metadata service."}],"source_content_type":"text/x-gfm","patch_set":2,"id":"1a4dcd0f_69df75d6","line":1,"updated":"2015-08-12 06:17:16.000000000","message":"DBB ;)","commit_id":"d274758cf70e7d6cc78f2a334976b0095d01e231"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"ef191b9f4d0a23f76f2170c2a8c209ddc7389dc9","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Sets up a MaariaDBB server install in the image."},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"TODO: auto-tune settings based on host resources or metadata service."}],"source_content_type":"text/x-gfm","patch_set":2,"id":"fa1b9901_71781af3","line":1,"in_reply_to":"1a4dcd0f_69df75d6","updated":"2015-08-18 14:49:48.000000000","message":"Oops, Maaria :D","commit_id":"d274758cf70e7d6cc78f2a334976b0095d01e231"}],"scripts/files/elements/ubuntu-mariadb/install.d/30-mariadb":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"3e2ee407e0697e9f867c4033aa7cdf21d1a2773b","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# https://mariadb.com/kb/en/mariadb/mariadb-5533-debian-and-ubuntu-installation-issues/"},{"line_number":13,"context_line":"apt-get -y install software-properties-common"},{"line_number":14,"context_line":"apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db"},{"line_number":15,"context_line":"sudo add-apt-repository \u0027deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/5.5/ubuntu trusty main\u0027"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"apt-get -y update"},{"line_number":18,"context_line":"apt-get -y install libmariadbclient18 mariadb-server percona-xtrabackup"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a4dcd0f_0964b11f","line":15,"updated":"2015-08-12 06:17:16.000000000","message":"I\u0027m not sure this is the location I would use ...\n\nhttps://mariadb.com/kb/en/mariadb/installing-mariadb-deb-files/","commit_id":"d274758cf70e7d6cc78f2a334976b0095d01e231"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"ef191b9f4d0a23f76f2170c2a8c209ddc7389dc9","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# https://mariadb.com/kb/en/mariadb/mariadb-5533-debian-and-ubuntu-installation-issues/"},{"line_number":13,"context_line":"apt-get -y install software-properties-common"},{"line_number":14,"context_line":"apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db"},{"line_number":15,"context_line":"sudo add-apt-repository \u0027deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/5.5/ubuntu trusty main\u0027"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"apt-get -y update"},{"line_number":18,"context_line":"apt-get -y install libmariadbclient18 mariadb-server percona-xtrabackup"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"fa1b9901_168754d8","line":15,"in_reply_to":"1a4dcd0f_0964b11f","updated":"2015-08-18 14:49:48.000000000","message":"Done","commit_id":"d274758cf70e7d6cc78f2a334976b0095d01e231"},{"author":{"_account_id":7806,"name":"Sushil Kumar","email":"skm.net@gmail.com","username":"sushilkm"},"change_message_id":"981a12344eed05e86419a14e79f66fdac89226b3","unresolved":false,"context_lines":[{"line_number":13,"context_line":"sudo apt-get install software-properties-common"},{"line_number":14,"context_line":"sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db"},{"line_number":15,"context_line":"sudo add-apt-repository \u0027deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu trusty main\u0027"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# Pin MariaDB repository"},{"line_number":18,"context_line":"sudo echo -e \"Package: *\\nPin: origin ftp.osuosl.org\\nPin-Priority: 1000\" \u003e /etc/apt/preferences.d/mariadb.pref"},{"line_number":19,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"da20952f_79be1eaf","line":16,"updated":"2015-09-01 05:44:15.000000000","message":"no need to add sudo, this file is run under root privileges only","commit_id":"56f795dd0cad5d6fccd2dea575428e5d515405d3"},{"author":{"_account_id":4240,"name":"Craig Vyvial","email":"cp16net@gmail.com","username":"cp16net"},"change_message_id":"8a443f06d9f62f4c8c9a1b6927f68fe4eedaa7a2","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"# NOTE(vkmc): Using MariaDB repositories is required"},{"line_number":12,"context_line":"# https://mariadb.com/kb/en/mariadb/installing-mariadb-deb-files/"},{"line_number":13,"context_line":"apt-get install software-properties-common"},{"line_number":14,"context_line":"apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db"},{"line_number":15,"context_line":"add-apt-repository \u0027deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu trusty main\u0027"},{"line_number":16,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":7,"id":"da20952f_19b45ef0","line":13,"updated":"2015-09-02 20:00:52.000000000","message":"this should have -y.","commit_id":"ed837da1a8da1a14990c476aff01c2f2187c178b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"e2d7047634ed62b617431e66a31517d2a1c6a664","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"# NOTE(vkmc): Using MariaDB repositories is required"},{"line_number":12,"context_line":"# https://mariadb.com/kb/en/mariadb/installing-mariadb-deb-files/"},{"line_number":13,"context_line":"apt-get install software-properties-common"},{"line_number":14,"context_line":"apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db"},{"line_number":15,"context_line":"add-apt-repository \u0027deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu trusty main\u0027"},{"line_number":16,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":7,"id":"da20952f_99770e02","line":13,"in_reply_to":"da20952f_19b45ef0","updated":"2015-09-02 20:11:10.000000000","message":"Yeah, I agree - should we push up a patchset now or file a bug for a fix? (I\u0027m still running redstack install, so if a fix is pushed up in the next 10 minutes or so it wouldn\u0027t affect my testing ;) )","commit_id":"ed837da1a8da1a14990c476aff01c2f2187c178b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"09afd9d27cac8fb510729708d07ff48c09c53d0c","unresolved":false,"context_lines":[{"line_number":15,"context_line":"add-apt-repository \u0027deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu trusty main\u0027"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# Pin MariaDB repository"},{"line_number":18,"context_line":"sudo echo -e \"Package: *\\nPin: origin ftp.osuosl.org\\nPin-Priority: 1000\" \u003e /etc/apt/preferences.d/mariadb.pref"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"apt-get -y update"},{"line_number":21,"context_line":"apt-get -y install libmariadbclient18 mariadb-server percona-xtrabackup"}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"da20952f_34dd7f42","line":18,"updated":"2015-09-03 15:54:55.000000000","message":"Hmm, I thought this script was run as root - guess I need to do some more reading ;)","commit_id":"401d681f6bb67b282105fb53b8ce7a49fd87217a"}],"scripts/files/elements/ubuntu-mariadb/pre-install.d/10-percona-apt-key":[{"author":{"_account_id":4240,"name":"Craig Vyvial","email":"cp16net@gmail.com","username":"cp16net"},"change_message_id":"41cb27c80641bb1dede6141bcfe3015392f0d0e3","unresolved":false,"context_lines":[{"line_number":10,"context_line":"[ -n \"${RELEASE}\" ] || die \"RELEASE must be set to either Precise or Quantal\""},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"#5  add Percona GPG key"},{"line_number":13,"context_line":"if [ ! -e /home/${GUEST_USERNAME}/.gnupg ]; then"},{"line_number":14,"context_line":"    mkdir -p /home/${GUEST_USERNAME}/.gnupg"},{"line_number":15,"context_line":"fi"},{"line_number":16,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa1b9901_efd4e520","line":13,"updated":"2015-08-20 06:22:20.000000000","message":"you shouldnt need to test if the dir exists if you do the \u0027mkdir -p ...\u0027","commit_id":"48b3bcb13fb7b838388a8ddc58d0b86e713431d9"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"1c9062b98865ab9eb7c91baf4a68f09bf1751e7b","unresolved":false,"context_lines":[{"line_number":10,"context_line":"[ -n \"${RELEASE}\" ] || die \"RELEASE must be set to either Precise or Quantal\""},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"#5  add Percona GPG key"},{"line_number":13,"context_line":"if [ ! -e /home/${GUEST_USERNAME}/.gnupg ]; then"},{"line_number":14,"context_line":"    mkdir -p /home/${GUEST_USERNAME}/.gnupg"},{"line_number":15,"context_line":"fi"},{"line_number":16,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa1b9901_8b548454","line":13,"in_reply_to":"fa1b9901_efd4e520","updated":"2015-08-24 21:42:38.000000000","message":"True dat, I\u0027ll fix this and also fix it in the MySQL elements.","commit_id":"48b3bcb13fb7b838388a8ddc58d0b86e713431d9"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"8983a5ab08dc30a52d943e9d9261b5e35260276e","unresolved":false,"context_lines":[{"line_number":7,"context_line":"set -o xtrace"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"[ -n \"${GUEST_USERNAME}\" ] || die \"GUEST_USERNAME needs to be set to the user for the guest image\""},{"line_number":10,"context_line":"[ -n \"${RELEASE}\" ] || die \"RELEASE must be set to either Precise or Quantal\""},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"# Add Percona GPG key"},{"line_number":13,"context_line":"mkdir -p /home/${GUEST_USERNAME}/.gnupg"}],"source_content_type":"application/x-shellscript","patch_set":7,"id":"da20952f_99906e97","line":10,"range":{"start_line":10,"start_character":51,"end_line":10,"end_character":76},"updated":"2015-09-02 19:54:18.000000000","message":"Oops!","commit_id":"ed837da1a8da1a14990c476aff01c2f2187c178b"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"8983a5ab08dc30a52d943e9d9261b5e35260276e","unresolved":false,"context_lines":[{"line_number":22,"context_line":"EOL"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"# Force an update"},{"line_number":25,"context_line":"apt-get update"}],"source_content_type":"application/x-shellscript","patch_set":7,"id":"da20952f_79ec7a29","line":25,"updated":"2015-09-02 19:54:18.000000000","message":"Should this have a \u0027-y\u0027 ?","commit_id":"ed837da1a8da1a14990c476aff01c2f2187c178b"},{"author":{"_account_id":4240,"name":"Craig Vyvial","email":"cp16net@gmail.com","username":"cp16net"},"change_message_id":"8a443f06d9f62f4c8c9a1b6927f68fe4eedaa7a2","unresolved":false,"context_lines":[{"line_number":22,"context_line":"EOL"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"# Force an update"},{"line_number":25,"context_line":"apt-get update"}],"source_content_type":"application/x-shellscript","patch_set":7,"id":"da20952f_99f14ed0","line":25,"in_reply_to":"da20952f_79ec7a29","updated":"2015-09-02 20:00:52.000000000","message":"i dont think its as essential as when calling install.","commit_id":"ed837da1a8da1a14990c476aff01c2f2187c178b"}],"scripts/files/elements/ubuntu-mariadb/pre-install.d/20-apparmor-mysql-local":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"3e2ee407e0697e9f867c4033aa7cdf21d1a2773b","unresolved":false,"context_lines":[{"line_number":5,"context_line":"#CONTEXT: chroot on host"},{"line_number":6,"context_line":"#PURPOSE: Allows mysqld to create temporary files when restoring backups"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"cat \u003c\u003cEOF \u003e\u003e/etc/apparmor.d/local/usr.sbin.mysqld"},{"line_number":9,"context_line":"  /tmp/ rw,"},{"line_number":10,"context_line":"  /tmp/** rwk,"},{"line_number":11,"context_line":"EOF"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1a4dcd0f_697bf5be","line":8,"updated":"2015-08-12 06:17:16.000000000","message":"I\u0027m puzzled by this file; is it valid for mariadb?","commit_id":"d274758cf70e7d6cc78f2a334976b0095d01e231"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"ef191b9f4d0a23f76f2170c2a8c209ddc7389dc9","unresolved":false,"context_lines":[{"line_number":5,"context_line":"#CONTEXT: chroot on host"},{"line_number":6,"context_line":"#PURPOSE: Allows mysqld to create temporary files when restoring backups"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"cat \u003c\u003cEOF \u003e\u003e/etc/apparmor.d/local/usr.sbin.mysqld"},{"line_number":9,"context_line":"  /tmp/ rw,"},{"line_number":10,"context_line":"  /tmp/** rwk,"},{"line_number":11,"context_line":"EOF"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"fa1b9901_b16eb22d","line":8,"in_reply_to":"1a4dcd0f_697bf5be","updated":"2015-08-18 14:49:48.000000000","message":"At least for mariadb 5.5, its the same file. I\u0027m not considering mariadb 10 yet, not until we can have a better support for it.","commit_id":"d274758cf70e7d6cc78f2a334976b0095d01e231"}]}
