)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3692a0ba970a024fb14a36911320c171b6334adb","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Tin Lam \u003ctin@irrational.io\u003e"},{"line_number":5,"context_line":"CommitDate: 2019-08-12 04:18:07 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Map pipped to sha256 does not provide same output on successive executions"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Maps in GO are not sorted, to solve this we need to pipe the output"},{"line_number":10,"context_line":"through a function that orders the content."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3fa7e38b_a691b855","line":7,"range":{"start_line":7,"start_character":4,"end_line":7,"end_character":10},"updated":"2020-06-25 00:15:09.000000000","message":"piped","commit_id":"076fedf35ffb732f698e55f6a4559e83a2b6a024"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3692a0ba970a024fb14a36911320c171b6334adb","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Map pipped to sha256 does not provide same output on successive executions"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Maps in GO are not sorted, to solve this we need to pipe the output"},{"line_number":10,"context_line":"through a function that orders the content."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"One such function is toJson which calls json.Marshal, a function that"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3fa7e38b_06a9ac8d","line":9,"range":{"start_line":9,"start_character":8,"end_line":9,"end_character":10},"updated":"2020-06-25 00:15:09.000000000","message":"Go","commit_id":"076fedf35ffb732f698e55f6a4559e83a2b6a024"}],"ceph-osd/templates/utils/_osd_daemonset_overrides.tpl":[{"author":{"_account_id":28758,"name":"Daniel Badea","email":"dnlbadea@gmail.com","username":"dbadea"},"change_message_id":"c4a6c31756a911a612d66aaa3c45bbac97c725b5","unresolved":false,"context_lines":[{"line_number":21,"context_line":"  {{- range $match_expr :\u003d $match_exprs }}"},{"line_number":22,"context_line":"    {{- $_ :\u003d set $context.Values \"__match_exprs_hash_content\" (print $context.Values.__match_exprs_hash_content $match_expr.key $match_expr.operator ($match_expr.values | quote)) }}"},{"line_number":23,"context_line":"  {{- end }}"},{"line_number":24,"context_line":"  {{- $context.Values.__match_exprs_hash_content | toJson | sha256sum | trunc 8 }}"},{"line_number":25,"context_line":"  {{- $_ :\u003d unset $context.Values \"__match_exprs_hash_content\" }}"},{"line_number":26,"context_line":"{{- end }}"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":2,"id":"7faddb67_f689b074","line":24,"range":{"start_line":24,"start_character":6,"end_line":24,"end_character":57},"updated":"2019-07-30 08:51:11.000000000","message":"__match_exprs_hash_content looks like a string used to accumulate strings derived from match_exprs list. Piping through \"toJson\" doesn\u0027t help: __match_exprs_hash_content is not a dictionary.","commit_id":"9fed7d2a8c735211e363f58fe2507519d21f1a69"},{"author":{"_account_id":28758,"name":"Daniel Badea","email":"dnlbadea@gmail.com","username":"dbadea"},"change_message_id":"c4a6c31756a911a612d66aaa3c45bbac97c725b5","unresolved":false,"context_lines":[{"line_number":286,"context_line":"{{- $_ :\u003d set $context.Values \"__tmpYAML\" dict }}"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"{{ $dsNodeName :\u003d index $context.Values.__daemonset_yaml.metadata \"name\" }}"},{"line_number":289,"context_line":"{{ $localDsNodeName :\u003d print (trunc 54 $current_dict.dns_1123_name) \"-\" (print $dsNodeName $k | toJson | sha256sum | trunc 8) }}"},{"line_number":290,"context_line":"{{- if not $context.Values.__tmpYAML.metadata }}{{- $_ :\u003d set $context.Values.__tmpYAML \"metadata\" dict }}{{- end }}"},{"line_number":291,"context_line":"{{- $_ :\u003d set $context.Values.__tmpYAML.metadata \"name\" $localDsNodeName }}"},{"line_number":292,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":2,"id":"7faddb67_ac6f6afa","line":289,"range":{"start_line":289,"start_character":73,"end_line":289,"end_character":102},"updated":"2019-07-30 08:51:11.000000000","message":"This doesn\u0027t look like a dictionary so it may not need to be converted to JSON to preserve key-value enumeration order.","commit_id":"9fed7d2a8c735211e363f58fe2507519d21f1a69"}],"helm-toolkit/templates/utils/_daemonset_overrides.tpl":[{"author":{"_account_id":28747,"name":"Ovidiu Poncea","email":"ovidiu.poncea@outlook.com","username":"ovidiu.poncea"},"change_message_id":"f8fb0686d472285b5f81842c9315ac01ae06280b","unresolved":false,"context_lines":[{"line_number":215,"context_line":"    name uniqueness */}}"},{"line_number":216,"context_line":"    {{- $_ :\u003d set $current_dict \"dns_1123_name\" dict }}"},{"line_number":217,"context_line":"    {{- if hasKey $current_dict \"matchExpressions\" }}"},{"line_number":218,"context_line":"      {{- $_ :\u003d set $current_dict \"dns_1123_name\" (printf (print $name_format2 \"-\" ($current_dict.matchExpressions | toJson | sha256sum | trunc 8))) }}"},{"line_number":219,"context_line":"    {{- else }}"},{"line_number":220,"context_line":"      {{- $_ :\u003d set $current_dict \"dns_1123_name\" $name_format2 }}"},{"line_number":221,"context_line":"    {{- end }}"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"7faddb67_64d39f39","line":218,"range":{"start_line":218,"start_character":6,"end_line":218,"end_character":151},"updated":"2019-08-01 12:59:47.000000000","message":"this was thoroughly tested","commit_id":"9fed7d2a8c735211e363f58fe2507519d21f1a69"},{"author":{"_account_id":28747,"name":"Ovidiu Poncea","email":"ovidiu.poncea@outlook.com","username":"ovidiu.poncea"},"change_message_id":"f8fb0686d472285b5f81842c9315ac01ae06280b","unresolved":false,"context_lines":[{"line_number":265,"context_line":"    {{- if not $context.Values.__daemonset_yaml.spec.template.metadata }}{{- $_ :\u003d set $context.Values.__daemonset_yaml.spec.template \"metadata\" dict }}{{- end }}"},{"line_number":266,"context_line":"    {{- if not $context.Values.__daemonset_yaml.spec.template.metadata.annotations }}{{- $_ :\u003d set $context.Values.__daemonset_yaml.spec.template.metadata \"annotations\" dict }}{{- end }}"},{"line_number":267,"context_line":"    {{- $cmap :\u003d list $current_dict.dns_1123_name $current_dict.nodeData | include $configmap_include }}"},{"line_number":268,"context_line":"    {{- $values_hash :\u003d $cmap | toJson | sha256sum }}"},{"line_number":269,"context_line":"    {{- $_ :\u003d set $context.Values.__daemonset_yaml.spec.template.metadata.annotations \"configmap-etc-hash\" $values_hash }}"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"    {{/* generate configmap */}}"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"7faddb67_24d92755","line":268,"range":{"start_line":268,"start_character":4,"end_line":268,"end_character":53},"updated":"2019-08-01 12:59:47.000000000","message":"this was also thoroughly tested","commit_id":"9fed7d2a8c735211e363f58fe2507519d21f1a69"}],"helm-toolkit/templates/utils/_hash.tpl":[{"author":{"_account_id":28747,"name":"Ovidiu Poncea","email":"ovidiu.poncea@outlook.com","username":"ovidiu.poncea"},"change_message_id":"f8fb0686d472285b5f81842c9315ac01ae06280b","unresolved":false,"context_lines":[{"line_number":19,"context_line":"{{- $context :\u003d index . 1 -}}"},{"line_number":20,"context_line":"{{- $last :\u003d base $context.Template.Name }}"},{"line_number":21,"context_line":"{{- $wtf :\u003d $context.Template.Name | replace $last $name -}}"},{"line_number":22,"context_line":"{{- include $wtf $context | toJson | sha256sum | quote -}}"},{"line_number":23,"context_line":"{{- end -}}"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"7faddb67_e4e6af16","line":22,"range":{"start_line":22,"start_character":0,"end_line":22,"end_character":58},"updated":"2019-08-01 12:59:47.000000000","message":"this is called throughout the openstack helm charts, $context is a map so toJson is needed here \u003d\u003e it is also tested","commit_id":"9fed7d2a8c735211e363f58fe2507519d21f1a69"}]}
