)]}'
{"docker/horizon/extend_start.sh":[{"author":{"_account_id":14119,"name":"Sam Yaple","email":"sam+git@yaple.net","username":"SamYaple"},"change_message_id":"cb17491e3d1a5ad960bc9bbb14d669382349156c","unresolved":false,"context_lines":[{"line_number":16,"context_line":"# NOTE(jeffrey4l): The local_settings file affect django-compress"},{"line_number":17,"context_line":"# behavior, so re-generate the compressed javascript and css if it"},{"line_number":18,"context_line":"# is changed"},{"line_number":19,"context_line":"MD5SUM_TXT_PATH\u003d\"/local_settings.md5sum.txt\""},{"line_number":20,"context_line":"if [[ ! -f ${MD5SUM_TXT_PATH} || $(md5sum -c --status ${MD5SUM_TXT_PATH};echo $?) !\u003d 0 ]]; then"},{"line_number":21,"context_line":"    md5sum /etc/openstack-dashboard/local_settings \u003e ${MD5SUM_TXT_PATH}"},{"line_number":22,"context_line":"    if [[ \"${KOLLA_INSTALL_TYPE}\" \u003d\u003d \"binary\" ]]; then"}],"source_content_type":"text/x-sh","patch_set":4,"id":"9a68dd71_65166f4d","line":19,"updated":"2016-01-26 02:57:19.000000000","message":"Since the only setting that actually matters is the COMPRESS\u003dTrue setting in local_settings then we should really just check for that setting. We don\u0027t want _any_ change to regenerate the files (right?)","commit_id":"92c620422e077e8b78c8ed2573a7bcb2ac36cdd7"},{"author":{"_account_id":14119,"name":"Sam Yaple","email":"sam+git@yaple.net","username":"SamYaple"},"change_message_id":"67bb9549f2beaae08df445790fdb3afda28c8d90","unresolved":false,"context_lines":[{"line_number":16,"context_line":"# NOTE(jeffrey4l): The local_settings file affect django-compress"},{"line_number":17,"context_line":"# behavior, so re-generate the compressed javascript and css if it"},{"line_number":18,"context_line":"# is changed"},{"line_number":19,"context_line":"MD5SUM_TXT_PATH\u003d\"/local_settings.md5sum.txt\""},{"line_number":20,"context_line":"if [[ ! -f ${MD5SUM_TXT_PATH} || $(md5sum -c --status ${MD5SUM_TXT_PATH};echo $?) !\u003d 0 ]]; then"},{"line_number":21,"context_line":"    md5sum /etc/openstack-dashboard/local_settings \u003e ${MD5SUM_TXT_PATH}"},{"line_number":22,"context_line":"    if [[ \"${KOLLA_INSTALL_TYPE}\" \u003d\u003d \"binary\" ]]; then"}],"source_content_type":"text/x-sh","patch_set":4,"id":"9a68dd71_5b51ac0d","line":19,"updated":"2016-01-26 15:07:45.000000000","message":"This path cannot be in / since you do not have permissions there. Try /home/horizon/ or /etc/openstack-dashboard","commit_id":"92c620422e077e8b78c8ed2573a7bcb2ac36cdd7"},{"author":{"_account_id":14119,"name":"Sam Yaple","email":"sam+git@yaple.net","username":"SamYaple"},"change_message_id":"99e82a1f83c0eed3f4a4f0251dec0e19e52658d7","unresolved":false,"context_lines":[{"line_number":16,"context_line":"# NOTE(jeffrey4l): The local_settings file affect django-compress"},{"line_number":17,"context_line":"# behavior, so re-generate the compressed javascript and css if it"},{"line_number":18,"context_line":"# is changed"},{"line_number":19,"context_line":"MD5SUM_TXT_PATH\u003d\"/local_settings.md5sum.txt\""},{"line_number":20,"context_line":"if [[ ! -f ${MD5SUM_TXT_PATH} || $(md5sum -c --status ${MD5SUM_TXT_PATH};echo $?) !\u003d 0 ]]; then"},{"line_number":21,"context_line":"    md5sum /etc/openstack-dashboard/local_settings \u003e ${MD5SUM_TXT_PATH}"},{"line_number":22,"context_line":"    if [[ \"${KOLLA_INSTALL_TYPE}\" \u003d\u003d \"binary\" ]]; then"}],"source_content_type":"text/x-sh","patch_set":4,"id":"9a68dd71_18748dcd","line":19,"in_reply_to":"9a68dd71_51098ddc","updated":"2016-01-26 18:29:25.000000000","message":"Ok thats fair that you have permissions, but we are close to being LSB compliant and writing a file to / like this is not LSB compliant","commit_id":"92c620422e077e8b78c8ed2573a7bcb2ac36cdd7"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"9ef32d2d85338eb9cc6f5eaf1ab5a31793b51687","unresolved":false,"context_lines":[{"line_number":16,"context_line":"# NOTE(jeffrey4l): The local_settings file affect django-compress"},{"line_number":17,"context_line":"# behavior, so re-generate the compressed javascript and css if it"},{"line_number":18,"context_line":"# is changed"},{"line_number":19,"context_line":"MD5SUM_TXT_PATH\u003d\"/local_settings.md5sum.txt\""},{"line_number":20,"context_line":"if [[ ! -f ${MD5SUM_TXT_PATH} || $(md5sum -c --status ${MD5SUM_TXT_PATH};echo $?) !\u003d 0 ]]; then"},{"line_number":21,"context_line":"    md5sum /etc/openstack-dashboard/local_settings \u003e ${MD5SUM_TXT_PATH}"},{"line_number":22,"context_line":"    if [[ \"${KOLLA_INSTALL_TYPE}\" \u003d\u003d \"binary\" ]]; then"}],"source_content_type":"text/x-sh","patch_set":4,"id":"9a68dd71_51098ddc","line":19,"in_reply_to":"9a68dd71_5b51ac0d","updated":"2016-01-26 15:38:51.000000000","message":"actually, I have permission here. \n\nHorizon is a litter different from others. The apache run with root user and the horizon process run with horizon user[0].\n\nSo we can write file to \u0027/\u0027.\n\nBut I can move the file to /home/horizon/.local_settings.md5sum.txt if you insist.\n\n[0] https://github.com/openstack/kolla/blob/master/ansible/roles/horizon/templates/horizon.conf.j2#L11","commit_id":"92c620422e077e8b78c8ed2573a7bcb2ac36cdd7"},{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"b34a5ca4e85cdeb473c5c94a42ef48d3c337acca","unresolved":false,"context_lines":[{"line_number":16,"context_line":"# NOTE(jeffrey4l): The local_settings file affect django-compress"},{"line_number":17,"context_line":"# behavior, so re-generate the compressed javascript and css if it"},{"line_number":18,"context_line":"# is changed"},{"line_number":19,"context_line":"MD5SUM_TXT_PATH\u003d\"/local_settings.md5sum.txt\""},{"line_number":20,"context_line":"if [[ ! -f ${MD5SUM_TXT_PATH} || $(md5sum -c --status ${MD5SUM_TXT_PATH};echo $?) !\u003d 0 ]]; then"},{"line_number":21,"context_line":"    md5sum /etc/openstack-dashboard/local_settings \u003e ${MD5SUM_TXT_PATH}"},{"line_number":22,"context_line":"    if [[ \"${KOLLA_INSTALL_TYPE}\" \u003d\u003d \"binary\" ]]; then"}],"source_content_type":"text/x-sh","patch_set":4,"id":"9a68dd71_45b80b11","line":19,"in_reply_to":"9a68dd71_65166f4d","updated":"2016-01-26 03:04:23.000000000","message":"No.\nThe COMPRESS is not matter. Compress is executed no matter whether it is True or False. ( using --force parameter)\n\nThe really matter is the `DEBUG` param. more info, pls check the comment on the launchpad[0]\n\n[0] https://bugs.launchpad.net/kolla/+bug/1537815/comments/1","commit_id":"92c620422e077e8b78c8ed2573a7bcb2ac36cdd7"}]}
