)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":30449,"name":"jinyuanliu","email":"liujinyuan@inspur.com","username":"jinyuanliu"},"change_message_id":"1340430ba13cfd686a7b90acc923f126f22fe948","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"09779adb_581fc8f1","updated":"2021-10-21 01:05:50.000000000","message":"i think MariaDB is now able to handle the no primary problem.","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"}],"mariadb-operator/requirements.yaml":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"dependencies:"},{"line_number":3,"context_line":"  - name: helm-toolkit"},{"line_number":4,"context_line":"    repository: http://localhost:8879/charts"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"c745de5d_38399250","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":3},"updated":"2021-10-21 16:39:52.000000000","message":"?","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"dependencies:"},{"line_number":3,"context_line":"  - name: helm-toolkit"},{"line_number":4,"context_line":"    repository: http://localhost:8879/charts"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"be3b9b6c_34d62cbb","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":3},"in_reply_to":"c745de5d_38399250","updated":"2021-10-21 19:08:41.000000000","message":"ACK correcting the requirement file to add apache","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"}],"mariadb-operator/templates/_helpers.tpl":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":1,"context_line":"{{/* vim: set filetype\u003dmustache: */}}"},{"line_number":2,"context_line":"{{/*"},{"line_number":3,"context_line":"Expand the name of the chart."},{"line_number":4,"context_line":"*/}}"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"e71e18bb_a0421fbb","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":37},"updated":"2021-10-21 16:39:52.000000000","message":"? rm?","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":1,"context_line":"{{/* vim: set filetype\u003dmustache: */}}"},{"line_number":2,"context_line":"{{/*"},{"line_number":3,"context_line":"Expand the name of the chart."},{"line_number":4,"context_line":"*/}}"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"4d2e1741_f20702a0","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":37},"in_reply_to":"e71e18bb_a0421fbb","updated":"2021-10-21 19:08:41.000000000","message":"ACK came with default template removing it.","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"}],"mariadb-operator/templates/bin/_fixnonprim.py.tpl":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/usr/bin/env python3"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"from kubernetes.client.rest import ApiException"},{"line_number":4,"context_line":"from kubernetes import client,config, watch"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"78b781ca_0eea7537","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":22},"updated":"2021-10-21 16:39:52.000000000","message":"usr/bin/env ... considered harmfull? why not py3 path?","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/usr/bin/env python3"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"from kubernetes.client.rest import ApiException"},{"line_number":4,"context_line":"from kubernetes import client,config, watch"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"2a0e755b_b1d5e079","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":22},"in_reply_to":"78b781ca_0eea7537","updated":"2021-10-21 19:08:41.000000000","message":"Ack,correcting this to actual python path.","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":23,"context_line":"logger.addHandler(ch)"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"def setup_config_and_api_server():"},{"line_number":26,"context_line":"#       config.load_kube_config()"},{"line_number":27,"context_line":"# comment above when you deploy the code in container and uncomment below."},{"line_number":28,"context_line":"       config.load_incluster_config()"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":1,"id":"0a767fc5_01837009","line":26,"range":{"start_line":26,"start_character":0,"end_line":26,"end_character":33},"updated":"2021-10-21 16:39:52.000000000","message":"?","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":23,"context_line":"logger.addHandler(ch)"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"def setup_config_and_api_server():"},{"line_number":26,"context_line":"#       config.load_kube_config()"},{"line_number":27,"context_line":"# comment above when you deploy the code in container and uncomment below."},{"line_number":28,"context_line":"       config.load_incluster_config()"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":1,"id":"e6367def_c57c2fcf","line":26,"range":{"start_line":26,"start_character":0,"end_line":26,"end_character":33},"in_reply_to":"0a767fc5_01837009","updated":"2021-10-21 19:08:41.000000000","message":"ack removing this","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"def setup_config_and_api_server():"},{"line_number":26,"context_line":"#       config.load_kube_config()"},{"line_number":27,"context_line":"# comment above when you deploy the code in container and uncomment below."},{"line_number":28,"context_line":"       config.load_incluster_config()"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"       api\u003dclient.CoreV1Api()"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"b215a7bf_65be6c54","line":27,"range":{"start_line":27,"start_character":0,"end_line":27,"end_character":74},"updated":"2021-10-21 16:39:52.000000000","message":"env or auto, comment/uncomment not a great pattern","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"def setup_config_and_api_server():"},{"line_number":26,"context_line":"#       config.load_kube_config()"},{"line_number":27,"context_line":"# comment above when you deploy the code in container and uncomment below."},{"line_number":28,"context_line":"       config.load_incluster_config()"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"       api\u003dclient.CoreV1Api()"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"e58740b2_aeb7f75a","line":27,"range":{"start_line":27,"start_character":0,"end_line":27,"end_character":74},"in_reply_to":"b215a7bf_65be6c54","updated":"2021-10-21 19:08:41.000000000","message":"ack removing this","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":94,"context_line":"      return highest_server_name"},{"line_number":95,"context_line":"    else:"},{"line_number":96,"context_line":"        logger.info(f\"Failed to get the node with highest sequence number in {namespace} namespace\")"},{"line_number":97,"context_line":"            "},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"def get_wsrep_cluster_status(namespace,pod_name):"},{"line_number":100,"context_line":"       api\u003dsetup_config_and_api_server()"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"576629ac_c92d7f13","line":97,"range":{"start_line":97,"start_character":0,"end_line":97,"end_character":12},"updated":"2021-10-21 16:39:52.000000000","message":"tws","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":94,"context_line":"      return highest_server_name"},{"line_number":95,"context_line":"    else:"},{"line_number":96,"context_line":"        logger.info(f\"Failed to get the node with highest sequence number in {namespace} namespace\")"},{"line_number":97,"context_line":"            "},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"def get_wsrep_cluster_status(namespace,pod_name):"},{"line_number":100,"context_line":"       api\u003dsetup_config_and_api_server()"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"4db148f8_029964a5","line":97,"range":{"start_line":97,"start_character":0,"end_line":97,"end_character":12},"in_reply_to":"576629ac_c92d7f13","updated":"2021-10-21 19:08:41.000000000","message":"ack","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":104,"context_line":"       try:"},{"line_number":105,"context_line":"         mariadb_status\u003dstream(api.connect_get_namespaced_pod_exec,"},{"line_number":106,"context_line":"                    pod_name,"},{"line_number":107,"context_line":"                    namespace, "},{"line_number":108,"context_line":"                    command\u003dcommand,"},{"line_number":109,"context_line":"                    stderr\u003dTrue,stdin\u003dTrue,"},{"line_number":110,"context_line":"                    stdout\u003dTrue,tty\u003dFalse)"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"c8ee0f2a_fa087ef8","line":107,"range":{"start_line":107,"start_character":30,"end_line":107,"end_character":31},"updated":"2021-10-21 16:39:52.000000000","message":"tws","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":104,"context_line":"       try:"},{"line_number":105,"context_line":"         mariadb_status\u003dstream(api.connect_get_namespaced_pod_exec,"},{"line_number":106,"context_line":"                    pod_name,"},{"line_number":107,"context_line":"                    namespace, "},{"line_number":108,"context_line":"                    command\u003dcommand,"},{"line_number":109,"context_line":"                    stderr\u003dTrue,stdin\u003dTrue,"},{"line_number":110,"context_line":"                    stdout\u003dTrue,tty\u003dFalse)"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"7db3c734_e5191ed3","line":107,"range":{"start_line":107,"start_character":30,"end_line":107,"end_character":31},"in_reply_to":"c8ee0f2a_fa087ef8","updated":"2021-10-21 19:08:41.000000000","message":"ack","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":152,"context_line":"   write_heartbeat\u003dopen(full_path, \"w\")"},{"line_number":153,"context_line":"   server_list\u003dget_namespaced_pod(namespace,\"mariadb-server-*\")"},{"line_number":154,"context_line":"   if server_list is not None:"},{"line_number":155,"context_line":"      for s in server_list: "},{"line_number":156,"context_line":"         _maridb_primary_status[s]\u003dget_wsrep_cluster_status(namespace,s)"},{"line_number":157,"context_line":"      logger.info(f\"Status of  mariadb cluster in {namespace} namespace {_maridb_primary_status}\")"},{"line_number":158,"context_line":"      write_heartbeat.write(time.strftime(\u0027%Y-%m-%d %H:%M:%S\u0027, time.gmtime(time.time())))"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"3d006530_0de94bbd","line":155,"range":{"start_line":155,"start_character":27,"end_line":155,"end_character":28},"updated":"2021-10-21 16:39:52.000000000","message":"tws","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":152,"context_line":"   write_heartbeat\u003dopen(full_path, \"w\")"},{"line_number":153,"context_line":"   server_list\u003dget_namespaced_pod(namespace,\"mariadb-server-*\")"},{"line_number":154,"context_line":"   if server_list is not None:"},{"line_number":155,"context_line":"      for s in server_list: "},{"line_number":156,"context_line":"         _maridb_primary_status[s]\u003dget_wsrep_cluster_status(namespace,s)"},{"line_number":157,"context_line":"      logger.info(f\"Status of  mariadb cluster in {namespace} namespace {_maridb_primary_status}\")"},{"line_number":158,"context_line":"      write_heartbeat.write(time.strftime(\u0027%Y-%m-%d %H:%M:%S\u0027, time.gmtime(time.time())))"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"478e9bc8_30d57b5d","line":155,"range":{"start_line":155,"start_character":27,"end_line":155,"end_character":28},"in_reply_to":"3d006530_0de94bbd","updated":"2021-10-21 19:08:41.000000000","message":"ack","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":163,"context_line":"            if highest_seq_node is not None:"},{"line_number":164,"context_line":"               heal_mariadb(namespace,highest_seq_node)"},{"line_number":165,"context_line":"               break"},{"line_number":166,"context_line":"                "},{"line_number":167,"context_line":"{{- $envAll :\u003d . }}"},{"line_number":168,"context_line":"if __name__ \u003d\u003d \"__main__\":"},{"line_number":169,"context_line":"    while True:"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"1c2bdfd9_59424f5f","line":166,"range":{"start_line":166,"start_character":0,"end_line":166,"end_character":16},"updated":"2021-10-21 16:39:52.000000000","message":"tws","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":163,"context_line":"            if highest_seq_node is not None:"},{"line_number":164,"context_line":"               heal_mariadb(namespace,highest_seq_node)"},{"line_number":165,"context_line":"               break"},{"line_number":166,"context_line":"                "},{"line_number":167,"context_line":"{{- $envAll :\u003d . }}"},{"line_number":168,"context_line":"if __name__ \u003d\u003d \"__main__\":"},{"line_number":169,"context_line":"    while True:"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"f4e2f20a_a0cb8a22","line":166,"range":{"start_line":166,"start_character":0,"end_line":166,"end_character":16},"in_reply_to":"1c2bdfd9_59424f5f","updated":"2021-10-21 19:08:41.000000000","message":"ack","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":164,"context_line":"               heal_mariadb(namespace,highest_seq_node)"},{"line_number":165,"context_line":"               break"},{"line_number":166,"context_line":"                "},{"line_number":167,"context_line":"{{- $envAll :\u003d . }}"},{"line_number":168,"context_line":"if __name__ \u003d\u003d \"__main__\":"},{"line_number":169,"context_line":"    while True:"},{"line_number":170,"context_line":"        monitor(\"{{ $envAll.Release.Namespace}}\")"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"2d5879e5_e769b0bc","line":167,"range":{"start_line":167,"start_character":0,"end_line":167,"end_character":19},"updated":"2021-10-21 16:39:52.000000000","message":"do we need gotpl at all here?","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":164,"context_line":"               heal_mariadb(namespace,highest_seq_node)"},{"line_number":165,"context_line":"               break"},{"line_number":166,"context_line":"                "},{"line_number":167,"context_line":"{{- $envAll :\u003d . }}"},{"line_number":168,"context_line":"if __name__ \u003d\u003d \"__main__\":"},{"line_number":169,"context_line":"    while True:"},{"line_number":170,"context_line":"        monitor(\"{{ $envAll.Release.Namespace}}\")"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"40c33393_31971620","line":167,"range":{"start_line":167,"start_character":0,"end_line":167,"end_character":19},"in_reply_to":"2d5879e5_e769b0bc","updated":"2021-10-21 19:08:41.000000000","message":"Yeah i need to make sure monitor function get the right namespace where this chart is installed. see line 170.","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"}],"mariadb-operator/templates/bin/_liveness.sh.tpl":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/sh"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"now\u003d\"$(date +\"%Y-%m-%d %H:%M:%S\")\""},{"line_number":5,"context_line":"script_last_run_time\u003d`cat /tmp/heartbeat`"},{"line_number":6,"context_line":"convert_now_to_unixtimestamps\u003d$(date +%s -d \"$now\")"},{"line_number":7,"context_line":"convert_heartbeat_to_unixtimestamps\u003d$(date +%s -d \"$script_last_run_time\")"},{"line_number":8,"context_line":"seconds\u003d$(( ($convert_now_to_unixtimestamps - $convert_heartbeat_to_unixtimestamps)))"},{"line_number":9,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":1,"id":"05eb6589_e350025b","line":6,"range":{"start_line":4,"start_character":1,"end_line":6,"end_character":51},"updated":"2021-10-21 16:39:52.000000000","message":"just use date +%s outright no need to convert","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/sh"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"now\u003d\"$(date +\"%Y-%m-%d %H:%M:%S\")\""},{"line_number":5,"context_line":"script_last_run_time\u003d`cat /tmp/heartbeat`"},{"line_number":6,"context_line":"convert_now_to_unixtimestamps\u003d$(date +%s -d \"$now\")"},{"line_number":7,"context_line":"convert_heartbeat_to_unixtimestamps\u003d$(date +%s -d \"$script_last_run_time\")"},{"line_number":8,"context_line":"seconds\u003d$(( ($convert_now_to_unixtimestamps - $convert_heartbeat_to_unixtimestamps)))"},{"line_number":9,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":1,"id":"f61fc463_d80510b0","line":6,"range":{"start_line":4,"start_character":1,"end_line":6,"end_character":51},"in_reply_to":"05eb6589_e350025b","updated":"2021-10-21 19:08:41.000000000","message":"Leaving it as is as we are putting the heartbeat data in human readable.","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":7,"context_line":"convert_heartbeat_to_unixtimestamps\u003d$(date +%s -d \"$script_last_run_time\")"},{"line_number":8,"context_line":"seconds\u003d$(( ($convert_now_to_unixtimestamps - $convert_heartbeat_to_unixtimestamps)))"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"if [ $seconds -ge 65 ]"},{"line_number":11,"context_line":"then"},{"line_number":12,"context_line":"  exit 1"},{"line_number":13,"context_line":"else"},{"line_number":14,"context_line":"  exit 0"},{"line_number":15,"context_line":"fi"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":1,"id":"6396d067_ce369c4a","line":15,"range":{"start_line":10,"start_character":1,"end_line":15,"end_character":2},"updated":"2021-10-21 16:39:52.000000000","message":"if blah exit x ; fi\nexit y","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":7,"context_line":"convert_heartbeat_to_unixtimestamps\u003d$(date +%s -d \"$script_last_run_time\")"},{"line_number":8,"context_line":"seconds\u003d$(( ($convert_now_to_unixtimestamps - $convert_heartbeat_to_unixtimestamps)))"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"if [ $seconds -ge 65 ]"},{"line_number":11,"context_line":"then"},{"line_number":12,"context_line":"  exit 1"},{"line_number":13,"context_line":"else"},{"line_number":14,"context_line":"  exit 0"},{"line_number":15,"context_line":"fi"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":1,"id":"ea106fbf_1e07c5ff","line":15,"range":{"start_line":10,"start_character":1,"end_line":15,"end_character":2},"in_reply_to":"6396d067_ce369c4a","updated":"2021-10-21 19:08:41.000000000","message":"ack","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"}],"mariadb-operator/templates/deployment.yaml":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":30,"context_line":"      - pods/exec"},{"line_number":31,"context_line":"    verbs:"},{"line_number":32,"context_line":"      - get"},{"line_number":33,"context_line":"      - create"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"---"},{"line_number":36,"context_line":"apiVersion: rbac.authorization.k8s.io/v1"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"a2c240db_c0f26fe6","line":33,"range":{"start_line":33,"start_character":6,"end_line":33,"end_character":14},"updated":"2021-10-21 16:39:52.000000000","message":"needed?","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":30705,"name":"Jasvinder Singh Kwatra","email":"js581j@att.com","username":"js581j"},"change_message_id":"b87f553eeeb36345faea3de0a24df11af16cba1e","unresolved":true,"context_lines":[{"line_number":30,"context_line":"      - pods/exec"},{"line_number":31,"context_line":"    verbs:"},{"line_number":32,"context_line":"      - get"},{"line_number":33,"context_line":"      - create"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"---"},{"line_number":36,"context_line":"apiVersion: rbac.authorization.k8s.io/v1"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3cbea654_6ae53cba","line":33,"range":{"start_line":33,"start_character":6,"end_line":33,"end_character":14},"in_reply_to":"a2c240db_c0f26fe6","updated":"2021-10-21 19:08:41.000000000","message":"Yup for exec you need the create or it will fail","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"7371c27c2e8a05bc55bccbf8f3386a3f9045c109","unresolved":true,"context_lines":[{"line_number":99,"context_line":"              - /tmp/liveness.sh"},{"line_number":100,"context_line":"            failureThreshold: 2"},{"line_number":101,"context_line":"            initialDelaySeconds: 20 "},{"line_number":102,"context_line":"            periodSeconds: 60"},{"line_number":103,"context_line":"            successThreshold: 1"},{"line_number":104,"context_line":"            timeoutSeconds: 15"},{"line_number":105,"context_line":"          resources:"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"2cc04bae_1a42f7ce","line":102,"range":{"start_line":102,"start_character":11,"end_line":102,"end_character":29},"updated":"2021-10-21 16:39:52.000000000","message":"i think you could do this less often","commit_id":"a018d30c312ef27b07bc9509c4f6a109a09095a4"}]}
