)]}'
{"horizon/templates/bin/_horizon.sh.tpl":[{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"45fd0da0b2fc3a068bd8bd648bb79cee14f747d2","unresolved":false,"context_lines":[{"line_number":68,"context_line":"  # if there are extra panels and the image has support for it, compile the translations"},{"line_number":69,"context_line":"  {{- range .Values.conf.horizon.extra_panels }}"},{"line_number":70,"context_line":"  PANEL_DIR\u003d\"${SITE_PACKAGES_ROOT}/{{ . }}\""},{"line_number":71,"context_line":"  if [ -d ${PANEL_DIR} ];then"},{"line_number":72,"context_line":"    if type -p gettext \u003e/dev/null 2\u003e/dev/null; then"},{"line_number":73,"context_line":"      cd ${SITE_PACKAGES_ROOT}/{{ . }}; /tmp/manage.py compilemessages"},{"line_number":74,"context_line":"    fi"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"bf51134e_7b77f03b","line":71,"range":{"start_line":71,"start_character":24,"end_line":71,"end_character":26},"updated":"2020-07-06 09:33:39.000000000","message":"space","commit_id":"5aa90cfa2cc69f6e7b70d7a643f973584969c435"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"45fd0da0b2fc3a068bd8bd648bb79cee14f747d2","unresolved":false,"context_lines":[{"line_number":70,"context_line":"  PANEL_DIR\u003d\"${SITE_PACKAGES_ROOT}/{{ . }}\""},{"line_number":71,"context_line":"  if [ -d ${PANEL_DIR} ];then"},{"line_number":72,"context_line":"    if type -p gettext \u003e/dev/null 2\u003e/dev/null; then"},{"line_number":73,"context_line":"      cd ${SITE_PACKAGES_ROOT}/{{ . }}; /tmp/manage.py compilemessages"},{"line_number":74,"context_line":"    fi"},{"line_number":75,"context_line":"  fi"},{"line_number":76,"context_line":"  unset PANEL_DIR"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"bf51134e_5b72ec4a","line":73,"range":{"start_line":73,"start_character":9,"end_line":73,"end_character":38},"updated":"2020-07-06 09:33:39.000000000","message":"isn\u0027t this just ${PANEL_DIR}?","commit_id":"5aa90cfa2cc69f6e7b70d7a643f973584969c435"},{"author":{"_account_id":8863,"name":"Andrii Ostapenko","email":"anost1986@gmail.com","username":"aostapenko"},"change_message_id":"9e3b725bf63f2893584819f29cca2df96a6f5d57","unresolved":false,"context_lines":[{"line_number":62,"context_line":"  {{- end }}"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"  # If the image has support for it, compile the translations"},{"line_number":65,"context_line":"  if type -p gettext \u003e/dev/null 2\u003e/dev/null; then"},{"line_number":66,"context_line":"    cd ${SITE_PACKAGES_ROOT}/openstack_dashboard; /tmp/manage.py compilemessages"},{"line_number":67,"context_line":"  fi"},{"line_number":68,"context_line":"  # if there are extra panels and the image has support for it, compile the translations"},{"line_number":69,"context_line":"  {{- range .Values.conf.horizon.extra_panels }}"},{"line_number":70,"context_line":"  PANEL_DIR\u003d\"${SITE_PACKAGES_ROOT}/{{ . }}\""},{"line_number":71,"context_line":"  if [ -d ${PANEL_DIR} ]; then"},{"line_number":72,"context_line":"    if type -p gettext \u003e/dev/null 2\u003e/dev/null; then"},{"line_number":73,"context_line":"      cd ${PANEL_DIR}; /tmp/manage.py compilemessages"},{"line_number":74,"context_line":"    fi"},{"line_number":75,"context_line":"  fi"},{"line_number":76,"context_line":"  unset PANEL_DIR"},{"line_number":77,"context_line":"  {{- end }}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  # Compress Horizon\u0027s assets."},{"line_number":80,"context_line":"  /tmp/manage.py collectstatic --noinput"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"bf51134e_6da0c8a6","line":77,"range":{"start_line":65,"start_character":0,"end_line":77,"end_character":12},"updated":"2020-07-06 23:50:02.000000000","message":"something like that seem to be more optimal\n\nif type -p gettext \u003e/dev/null 2\u003e/dev/null; then\n  cd ${SITE_PACKAGES_ROOT}/openstack_dashboard; /tmp/manage.py compilemessages\n  # if there are extra panels and the image has support for it, compile the translations\n  {{- range .Values.conf.horizon.extra_panels }}\n  PANEL_DIR\u003d\"${SITE_PACKAGES_ROOT}/{{ . }}\"\n  if [ -d ${PANEL_DIR} ]; then\n    cd ${PANEL_DIR}; /tmp/manage.py compilemessages\n  fi\n  unset PANEL_DIR\n  {{- end }}\nfi","commit_id":"6f589bd0cf2011a672ed4725fa10a1a74ac74d85"},{"author":{"_account_id":8863,"name":"Andrii Ostapenko","email":"anost1986@gmail.com","username":"aostapenko"},"change_message_id":"e8565522988172b7eb8a5e633942a8e20122a788","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    if [ -d ${PANEL_DIR} ]; then"},{"line_number":71,"context_line":"      cd ${PANEL_DIR}; /tmp/manage.py compilemessages"},{"line_number":72,"context_line":"    fi"},{"line_number":73,"context_line":"    unset PANEL_DIR"},{"line_number":74,"context_line":"    {{- end }}"},{"line_number":75,"context_line":"  fi"},{"line_number":76,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"bf51134e_a26db499","line":73,"range":{"start_line":73,"start_character":4,"end_line":73,"end_character":19},"updated":"2020-07-08 06:07:55.000000000","message":"do you require to unset it each time during the loop?","commit_id":"df512f418d643ee36fb2a8d677e575372b3bf331"}]}
