)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"9bc7ef0b1a396821b95c7088c1d1d1065f1b3390","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Hongbin Lu \u003chongbin.lu@huawei.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-06-12 23:09:28 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add elements for building Mesos image"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"These diskimage-builder elements install Docker, Zookeeper, Mesos"},{"line_number":10,"context_line":"and Marathon in a Ubuntu Trusty image."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"fa32b979_29302e56","line":7,"updated":"2015-06-13 05:38:29.000000000","message":"Consider: \"Add elements for building a Mesos bay node image\"","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":11208,"name":"Baohua Yang","email":"baohua@linux.vnet.ibm.com","username":"yangbaohua"},"change_message_id":"32befc89fdf356d35e0926e328a259eba936c8db","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Hongbin Lu \u003chongbin.lu@huawei.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-06-12 23:09:28 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add elements for building Mesos image"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"These diskimage-builder elements install Docker, Zookeeper, Mesos"},{"line_number":10,"context_line":"and Marathon in a Ubuntu Trusty image."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"fa32b979_663c0d94","line":7,"in_reply_to":"fa32b979_29302e56","updated":"2015-06-15 02:38:40.000000000","message":"Agree.","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"d7570c7752f68c5c309f43e4ce8d1d6986a6c6cd","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Hongbin Lu \u003chongbin.lu@huawei.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-06-12 23:09:28 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add elements for building Mesos image"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"These diskimage-builder elements install Docker, Zookeeper, Mesos"},{"line_number":10,"context_line":"and Marathon in a Ubuntu Trusty image."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"fa32b979_33e6a215","line":7,"in_reply_to":"fa32b979_29302e56","updated":"2015-06-18 02:50:47.000000000","message":"Done","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"371f2fa2b22381e46eb279370661607e880a7423","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Hongbin Lu \u003chongbin.lu@huawei.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-06-12 23:09:28 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add elements for building Mesos image"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"These diskimage-builder elements install Docker, Zookeeper, Mesos"},{"line_number":10,"context_line":"and Marathon in a Ubuntu Trusty image."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"fa32b979_ca2cecad","line":7,"in_reply_to":"fa32b979_29302e56","updated":"2015-06-15 13:03:52.000000000","message":"Will do","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"}],"magnum/templates/heat-mesos/elements/README.md":[{"author":{"_account_id":12385,"name":"Motohiro/Yuanying Otsuka","email":"yuanying@fraction.jp","username":"yuanying"},"change_message_id":"939bb36830cb97ad9b580302431287a1cbc56a41","unresolved":false,"context_lines":[{"line_number":5,"context_line":"elements to build an image which contains mesos and its frameworks required to"},{"line_number":6,"context_line":"use the heat template mesoscluster.yaml."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"An example Ubuntu based image and uploaded to glance with the following:"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"    sudo apt-get update"},{"line_number":11,"context_line":"    sudo apt-get install git qemu-utils python-pip"}],"source_content_type":"text/x-gfm","patch_set":2,"id":"3afb71cf_b3f05492","line":8,"updated":"2015-06-10 02:30:45.000000000","message":"I guess, this elements supports ubuntu only, so it\u0027s better to describe about this limitation.","commit_id":"b98e8f698ddce40049e4017cf64b85c1b557d1eb"},{"author":{"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"},"change_message_id":"7f08f396a353f305e215e8d6b86cb622a6dcdfd0","unresolved":false,"context_lines":[{"line_number":5,"context_line":"elements to build an image which contains mesos and its frameworks required to"},{"line_number":6,"context_line":"use the heat template mesoscluster.yaml."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"An example Ubuntu based image and uploaded to glance with the following:"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"    sudo apt-get update"},{"line_number":11,"context_line":"    sudo apt-get install git qemu-utils python-pip"}],"source_content_type":"text/x-gfm","patch_set":2,"id":"3afb71cf_a5e35cd8","line":8,"in_reply_to":"3afb71cf_b3f05492","updated":"2015-06-10 10:44:49.000000000","message":"+1","commit_id":"b98e8f698ddce40049e4017cf64b85c1b557d1eb"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"9fc77338edce876eca61fb797bd54b30f09f4cd4","unresolved":false,"context_lines":[{"line_number":5,"context_line":"elements to build an image which contains mesos and its frameworks required to"},{"line_number":6,"context_line":"use the heat template mesoscluster.yaml."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"An example Ubuntu based image and uploaded to glance with the following:"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"    sudo apt-get update"},{"line_number":11,"context_line":"    sudo apt-get install git qemu-utils python-pip"}],"source_content_type":"text/x-gfm","patch_set":2,"id":"3afb71cf_a9055914","line":8,"in_reply_to":"3afb71cf_b3f05492","updated":"2015-06-10 22:26:57.000000000","message":"Will add a statement to describe that.","commit_id":"b98e8f698ddce40049e4017cf64b85c1b557d1eb"}],"magnum/templates/heat-mesos/elements/docker/post-install.d/60-disable-docker-service":[{"author":{"_account_id":11208,"name":"Baohua Yang","email":"baohua@linux.vnet.ibm.com","username":"yangbaohua"},"change_message_id":"32befc89fdf356d35e0926e328a259eba936c8db","unresolved":false,"context_lines":[{"line_number":9,"context_line":"#     http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":10,"context_line":"#"},{"line_number":11,"context_line":"# Unless required by applicable law or agreed to in writing, software"},{"line_number":12,"context_line":"# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"},{"line_number":13,"context_line":"# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"},{"line_number":14,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":15,"context_line":"# under the License."}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"fa32b979_26cfe5b1","line":12,"updated":"2015-06-15 02:38:40.000000000","message":"There is no need to add copyright head in the script.\nThis is duplicated, and should be removed.","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"371f2fa2b22381e46eb279370661607e880a7423","unresolved":false,"context_lines":[{"line_number":9,"context_line":"#     http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":10,"context_line":"#"},{"line_number":11,"context_line":"# Unless required by applicable law or agreed to in writing, software"},{"line_number":12,"context_line":"# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"},{"line_number":13,"context_line":"# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"},{"line_number":14,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":15,"context_line":"# under the License."}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"fa32b979_0c5671d2","line":12,"in_reply_to":"fa32b979_26cfe5b1","updated":"2015-06-15 13:03:52.000000000","message":"Maybe it is true, but I cannot find any document that clearly explains how to apply license to shell script. I am OK to either remove it or keep it.","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"d7570c7752f68c5c309f43e4ce8d1d6986a6c6cd","unresolved":false,"context_lines":[{"line_number":9,"context_line":"#     http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":10,"context_line":"#"},{"line_number":11,"context_line":"# Unless required by applicable law or agreed to in writing, software"},{"line_number":12,"context_line":"# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"},{"line_number":13,"context_line":"# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"},{"line_number":14,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":15,"context_line":"# under the License."}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"fa32b979_53aa4686","line":12,"in_reply_to":"fa32b979_26cfe5b1","updated":"2015-06-18 02:50:47.000000000","message":"No. Every files should have a licence on top http://www.apache.org/dev/apply-license.html","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":11208,"name":"Baohua Yang","email":"baohua@linux.vnet.ibm.com","username":"yangbaohua"},"change_message_id":"5150aaf836263ecef4493ded75a36c921136738d","unresolved":false,"context_lines":[{"line_number":7,"context_line":"# a copy of the License at"},{"line_number":8,"context_line":"#"},{"line_number":9,"context_line":"#     http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":10,"context_line":"#"},{"line_number":11,"context_line":"# Unless required by applicable law or agreed to in writing, software"},{"line_number":12,"context_line":"# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"},{"line_number":13,"context_line":"# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_7300aa66","line":10,"updated":"2015-06-18 03:00:09.000000000","message":"No need license header here.","commit_id":"efd48c00a44591c056820da3d53f408cbc1c826e"}],"magnum/templates/heat-mesos/elements/docker/pre-install.d/10-add-docker-repo":[{"author":{"_account_id":11208,"name":"Baohua Yang","email":"baohua@linux.vnet.ibm.com","username":"yangbaohua"},"change_message_id":"32befc89fdf356d35e0926e328a259eba936c8db","unresolved":false,"context_lines":[{"line_number":6,"context_line":"# not use this file except in compliance with the License. You may obtain"},{"line_number":7,"context_line":"# a copy of the License at"},{"line_number":8,"context_line":"#"},{"line_number":9,"context_line":"#     http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":10,"context_line":"#"},{"line_number":11,"context_line":"# Unless required by applicable law or agreed to in writing, software"},{"line_number":12,"context_line":"# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"fa32b979_463789b0","line":9,"updated":"2015-06-15 02:38:40.000000000","message":"Neither here.","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":8143,"name":"Egor Guz","email":"egor.guz@gmail.com","username":"eghobo"},"change_message_id":"49ff82e7fa54385cfdffaf427f570e326aab9be6","unresolved":false,"context_lines":[{"line_number":20,"context_line":"set -eu"},{"line_number":21,"context_line":"set -o pipefail"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 \\"},{"line_number":24,"context_line":"    --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9"},{"line_number":25,"context_line":"DISTRO\u003d$(lsb_release -is | tr \u0027[:upper:]\u0027 \u0027[:lower:]\u0027)"},{"line_number":26,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"fa32b979_1cb9d4e9","line":23,"updated":"2015-06-15 04:32:24.000000000","message":"Hongbin, can we get key from trusted source (Ubuntu or Docker)? Not sure who own sks-keyservers.net.","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"d7570c7752f68c5c309f43e4ce8d1d6986a6c6cd","unresolved":false,"context_lines":[{"line_number":20,"context_line":"set -eu"},{"line_number":21,"context_line":"set -o pipefail"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 \\"},{"line_number":24,"context_line":"    --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9"},{"line_number":25,"context_line":"DISTRO\u003d$(lsb_release -is | tr \u0027[:upper:]\u0027 \u0027[:lower:]\u0027)"},{"line_number":26,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"fa32b979_13991e7c","line":23,"in_reply_to":"fa32b979_1cb9d4e9","updated":"2015-06-18 02:50:47.000000000","message":"Done","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"371f2fa2b22381e46eb279370661607e880a7423","unresolved":false,"context_lines":[{"line_number":20,"context_line":"set -eu"},{"line_number":21,"context_line":"set -o pipefail"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 \\"},{"line_number":24,"context_line":"    --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9"},{"line_number":25,"context_line":"DISTRO\u003d$(lsb_release -is | tr \u0027[:upper:]\u0027 \u0027[:lower:]\u0027)"},{"line_number":26,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"fa32b979_8c5841fc","line":23,"in_reply_to":"fa32b979_1cb9d4e9","updated":"2015-06-15 13:03:52.000000000","message":"Will investigate that.","commit_id":"2fc653fe33d672971bf87b0cd8bb68e85c1993f6"},{"author":{"_account_id":11208,"name":"Baohua Yang","email":"baohua@linux.vnet.ibm.com","username":"yangbaohua"},"change_message_id":"5150aaf836263ecef4493ded75a36c921136738d","unresolved":false,"context_lines":[{"line_number":6,"context_line":"# not use this file except in compliance with the License. You may obtain"},{"line_number":7,"context_line":"# a copy of the License at"},{"line_number":8,"context_line":"#"},{"line_number":9,"context_line":"#     http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":10,"context_line":"#"},{"line_number":11,"context_line":"# Unless required by applicable law or agreed to in writing, software"},{"line_number":12,"context_line":"# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_13fcbe6e","line":9,"updated":"2015-06-18 03:00:09.000000000","message":"No need license header here.","commit_id":"efd48c00a44591c056820da3d53f408cbc1c826e"}],"magnum/templates/heat-mesos/elements/mesos/install.d/20-docker":[{"author":{"_account_id":8143,"name":"Egor Guz","email":"egor.guz@gmail.com","username":"eghobo"},"change_message_id":"5f4fb96ed9192f425830e0e3993087d0e3bb62dd","unresolved":false,"context_lines":[{"line_number":14,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":15,"context_line":"# under the License."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"wget -qO- https://get.docker.com/ | sh"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"3afb71cf_1ab6e9f8","line":17,"updated":"2015-06-11 00:05:07.000000000","message":"Hongbin, I think it\u0027s better to use apt-get instead. It will give you record which version installed.","commit_id":"b98e8f698ddce40049e4017cf64b85c1b557d1eb"},{"author":{"_account_id":12385,"name":"Motohiro/Yuanying Otsuka","email":"yuanying@fraction.jp","username":"yuanying"},"change_message_id":"f9a43f55d0efe87ce8304c2b040cdb2b44fd64c3","unresolved":false,"context_lines":[{"line_number":14,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":15,"context_line":"# under the License."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"wget -qO- https://get.docker.com/ | sh"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"3afb71cf_f570be0c","line":17,"in_reply_to":"3afb71cf_1ab6e9f8","updated":"2015-06-11 00:45:41.000000000","message":"+1","commit_id":"b98e8f698ddce40049e4017cf64b85c1b557d1eb"}],"magnum/templates/heat-mesos/elements/mesos/post-install.d/60-disable-upstart":[{"author":{"_account_id":11208,"name":"Baohua Yang","email":"baohua@linux.vnet.ibm.com","username":"yangbaohua"},"change_message_id":"5150aaf836263ecef4493ded75a36c921136738d","unresolved":false,"context_lines":[{"line_number":4,"context_line":"#"},{"line_number":5,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":6,"context_line":"# not use this file except in compliance with the License. You may obtain"},{"line_number":7,"context_line":"# a copy of the License at"},{"line_number":8,"context_line":"#"},{"line_number":9,"context_line":"#     http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":10,"context_line":"#"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_f3ecbabc","line":7,"updated":"2015-06-18 03:00:09.000000000","message":"No need license header here.","commit_id":"efd48c00a44591c056820da3d53f408cbc1c826e"}],"magnum/templates/heat-mesos/elements/mesos/pre-install.d/10-apt-repo":[{"author":{"_account_id":11189,"name":"yuntongjin","email":"yuntong.jin@intel.com","username":"yuntong"},"change_message_id":"08057b2559f6af92d3b9f7782af882f2ef02c03e","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"# Add the repository"},{"line_number":22,"context_line":"echo \"deb http://repos.mesosphere.io/${DISTRO} ${CODENAME} main\" | \\"},{"line_number":23,"context_line":"    sudo tee /etc/apt/sources.list.d/mesosphere.list"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3afb71cf_5d93a64f","line":23,"updated":"2015-06-09 05:46:54.000000000","message":"need apt-get -y update here.","commit_id":"2c1b99861e130065bdddac2a76ad8b1f4f39590c"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"17bbcecb739a4f7b3ddaccd29811ee8aeb1e69f8","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"# Add the repository"},{"line_number":22,"context_line":"echo \"deb http://repos.mesosphere.io/${DISTRO} ${CODENAME} main\" | \\"},{"line_number":23,"context_line":"    sudo tee /etc/apt/sources.list.d/mesosphere.list"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3afb71cf_c67694a3","line":23,"in_reply_to":"3afb71cf_5d93a64f","updated":"2015-06-09 12:57:21.000000000","message":"No it doesn\u0027t. apt-get update will be executed once at the end of pre-install. See here https://github.com/openstack/diskimage-builder/blob/master/elements/dpkg/pre-install.d/99-apt-get-update","commit_id":"2c1b99861e130065bdddac2a76ad8b1f4f39590c"},{"author":{"_account_id":11208,"name":"Baohua Yang","email":"baohua@linux.vnet.ibm.com","username":"yangbaohua"},"change_message_id":"5150aaf836263ecef4493ded75a36c921136738d","unresolved":false,"context_lines":[{"line_number":7,"context_line":"# a copy of the License at"},{"line_number":8,"context_line":"#"},{"line_number":9,"context_line":"#     http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":10,"context_line":"#"},{"line_number":11,"context_line":"# Unless required by applicable law or agreed to in writing, software"},{"line_number":12,"context_line":"# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT"},{"line_number":13,"context_line":"# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_73374a4d","line":10,"updated":"2015-06-18 03:00:09.000000000","message":"No need license header here.","commit_id":"efd48c00a44591c056820da3d53f408cbc1c826e"}]}
