)]}'
{"id":"depot~5529","triplet_id":"depot~canon~I7d6c129cfee9faedb62f69d479e59a6e05bb7ac6","project":"depot","branch":"canon","attention_set":{},"removed_from_attention_set":{"1000013":{"account":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"last_update":"2022-05-05 22:43:08.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I7d6c129cfee9faedb62f69d479e59a6e05bb7ac6","subject":"feat(users/Profpatsch): add toINI","status":"MERGED","created":"2022-05-05 22:36:43.000000000","updated":"2022-05-05 22:43:08.000000000","submitted":"2022-05-05 22:43:08.000000000","submitter":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"5530","meta_rev_id":"37b2dc55fdc4f81e3f63dfaaf0b3f2b62e75e70b","_number":5529,"virtual_id_number":5529,"owner":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"actions":{},"labels":{"Code-Review":{"approved":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"all":[{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"tag":"autogenerated:gerrit:merged","value":2,"date":"2022-05-05 22:43:08.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}],"values":{"-2":"This shall not be merged","-1":"I would prefer this is not merged as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0},"Verified":{"approved":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:gerrit:merged","value":1,"date":"2022-05-05 22:43:08.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Autosubmit":{"all":[{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}],"values":{" 0":"Submit manually","+1":"Submit automatically"},"description":"","default_value":0,"optional":true},"All-Comments-Resolved":{"approved":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"all":[{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}]},"Conformant-Commit-Message":{"approved":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"all":[{"value":0,"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},{"value":0,"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}]}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2022-05-05 22:36:51.000000000","updated_by":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"state":"CC"},{"updated":"2022-05-05 22:38:30.000000000","updated_by":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"e2cd58a4ef9a21e32eeb093bec7340d9a1f340d6","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"date":"2022-05-05 22:36:43.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"04d61081afa03bb85114d07d5d861ff7651ed2cd","tag":"autogenerated:buildkite~trigger","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2022-05-05 22:36:51.000000000","message":"Patch Set 1:\n\nStarted build for patchset #1 on: https://buildkite.com/tvl/depot/builds/13404","accounts_in_message":[],"_revision_number":1},{"id":"258a20424ff375a9a6983ae5cd34fe5663c485b7","author":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"date":"2022-05-05 22:38:04.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"32eb79d1f1987053c9c728276c5291229448e9c9","tag":"autogenerated:buildkite~result","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2022-05-05 22:38:30.000000000","message":"Patch Set 1: Verified-1\n\nBuild of patchset 1 failed: https://buildkite.com/tvl/depot/builds/13404","accounts_in_message":[],"_revision_number":1},{"id":"49d9524588b334e651ceb00c6b55557e04a4e78c","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"date":"2022-05-05 22:41:11.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"b6ab9b68d01e916e58f499cf23157f0d124d8395","tag":"autogenerated:buildkite~trigger","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2022-05-05 22:41:13.000000000","message":"Patch Set 2:\n\nStarted build for patchset #2 on: https://buildkite.com/tvl/depot/builds/13406","accounts_in_message":[],"_revision_number":2},{"id":"2c3d3b19cffb1bcbe865862ac6e004c766fc4273","tag":"autogenerated:buildkite~result","author":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]},"date":"2022-05-05 22:42:51.000000000","message":"Patch Set 2: Verified+1\n\nBuild of patchset 2 passed: https://buildkite.com/tvl/depot/builds/13406","accounts_in_message":[],"_revision_number":2},{"id":"37b2dc55fdc4f81e3f63dfaaf0b3f2b62e75e70b","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"date":"2022-05-05 22:43:08.000000000","message":"Change has been successfully rebased and submitted as 0c51608f6c11fd8e15679d77e7a9ae8c3a51fe78\n\n1 is the latest approved patch-set.\nThe change was submitted with unreviewed changes in the following files:\n\nThe name of the file: users/Profpatsch/toINI.nix\nInsertions: 30, Deletions: 24.\n\n```\n@@ -38:44, +38:46 @@\n-    toINI \u003d {\n-      # apply transformations (e.g. escapes) to section names\n-      mkSectionName ? (name: lib.strings.escape [ \"[\" \"]\" ] name),\n-      # format a setting line from key and value\n-      mkKeyValue    ? lib.generators.mkKeyValueDefault {} \"\u003d\",\n-    }: { globalSection, sections }:\n+    toINI \u003d\n+      {\n+        # apply transformations (e.g. escapes) to section names\n+        mkSectionName ? (name: lib.strings.escape [ \"[\" \"]\" ] name)\n+      , # format a setting line from key and value\n+        mkKeyValue ? lib.generators.mkKeyValueDefault { } \"\u003d\"\n+      ,\n+      }: { globalSection, sections }:\n\n@@ -45:57, +47:59 @@\n-          mkSection \u003d sectName: sectValues: \u0027\u0027\n-            [${mkSectionName sectName}]\n-          \u0027\u0027 + toKeyValue { inherit mkKeyValue; } sectValues;\n-          # map input to ini sections\n-          mkSections \u003d lib.strings.concatMapStringsSep \"\\n\"\n-            ({name, value}: mkSection name value)\n-            sections;\n-          mkGlobalSection \u003d\n-            if globalSection \u003d\u003d []\n-            then \"\"\n-            else toKeyValue { inherit mkKeyValue; } globalSection\n-              + \"\\n\";\n+        mkSection \u003d sectName: sectValues: \u0027\u0027\n+          [${mkSectionName sectName}]\n+        \u0027\u0027 + toKeyValue { inherit mkKeyValue; } sectValues;\n+        # map input to ini sections\n+        mkSections \u003d lib.strings.concatMapStringsSep \"\\n\"\n+          ({ name, value }: mkSection name value)\n+          sections;\n+        mkGlobalSection \u003d\n+          if globalSection \u003d\u003d [ ]\n+          then \"\"\n+          else toKeyValue { inherit mkKeyValue; } globalSection\n+            + \"\\n\";\n\n@@ -65:69, +67:73 @@\n-    toKeyValue \u003d {\n-      mkKeyValue ? lib.generators.mkKeyValueDefault {} \"\u003d\",\n-    }:\n-    let mkLine \u003d k: v: mkKeyValue k v + \"\\n\";\n+    toKeyValue \u003d\n+      { mkKeyValue ? lib.generators.mkKeyValueDefault { } \"\u003d\"\n+      ,\n+      }:\n+      let\n+        mkLine \u003d k: v: mkKeyValue k v + \"\\n\";\n\n@@ -70:73, +74:79 @@\n-    in nameValues: lib.strings.concatStrings (lib.concatLists (map ({name, value}: mkLines name value) nameValues));\n-  \n-  in toINI\n+      in\n+      nameValues: lib.strings.concatStrings (lib.concatLists (map ({ name, value }: mkLines name value) nameValues));\n+  \n+  in\n+  toINI\n\n```\n","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"0c51608f6c11fd8e15679d77e7a9ae8c3a51fe78","revisions":{"0ce98f8653c5abfe42d7c048e8220fe7a1a84c31":{"kind":"REWORK","_number":1,"created":"2022-05-05 22:36:43.000000000","uploader":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"ref":"refs/changes/29/5529/1","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/29/5529/1","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/29/5529/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/29/5529/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/29/5529/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/29/5529/1"}}},"commit":{"parents":[{"commit":"c2e90645942361410906374c2990dd0ac165b8a4","subject":"feat(users/Profpatsch/importDhall): print dhall command","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003dc2e90645942361410906374c2990dd0ac165b8a4"}]}],"author":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2022-05-05 22:32:49.000000000","tz":120},"committer":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2022-05-05 22:36:39.000000000","tz":120},"subject":"feat(users/Profpatsch): add toINI","message":"feat(users/Profpatsch): add toINI\n\nThis is a morph of the `pkgs.lib.generators.toINIWithGlobalSection`\nfunction, which is simplified, inlined, and takes lists instead of\nattrsets. This makes the key ordering stable and is easy to generate\nfrom dhall.\n\nIdeally I’d upstream it at one point (in the sense that\n`generators.toINI` can also take lists), but that will be a lot more\nwork that is not necessary atm.\n\nChange-Id: I7d6c129cfee9faedb62f69d479e59a6e05bb7ac6\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d0ce98f8653c5abfe42d7c048e8220fe7a1a84c31"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d0ce98f8653c5abfe42d7c048e8220fe7a1a84c31"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"c2e90645942361410906374c2990dd0ac165b8a4","is_merged_in_target_branch":false,"change_id":"I704a647bff13f73d5a1b1d33b00a46bcb1a9de4e","change_number":5528,"patch_set_number":1,"change_status":"MERGED"}],"branch":"refs/heads/canon"},"9ed9af6cf04762ed14cb034f0ae5ae9fd51569ec":{"kind":"REWORK","_number":2,"created":"2022-05-05 22:41:11.000000000","uploader":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"ref":"refs/changes/29/5529/2","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/29/5529/2","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/29/5529/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/29/5529/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/29/5529/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/29/5529/2"}}},"commit":{"parents":[{"commit":"c2e90645942361410906374c2990dd0ac165b8a4","subject":"feat(users/Profpatsch/importDhall): print dhall command","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003dc2e90645942361410906374c2990dd0ac165b8a4"}]}],"author":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2022-05-05 22:32:49.000000000","tz":120},"committer":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2022-05-05 22:41:09.000000000","tz":120},"subject":"feat(users/Profpatsch): add toINI","message":"feat(users/Profpatsch): add toINI\n\nThis is a morph of the `pkgs.lib.generators.toINIWithGlobalSection`\nfunction, which is simplified, inlined, and takes lists instead of\nattrsets. This makes the key ordering stable and is easy to generate\nfrom dhall.\n\nIdeally I’d upstream it at one point (in the sense that\n`generators.toINI` can also take lists), but that will be a lot more\nwork that is not necessary atm.\n\nChange-Id: I7d6c129cfee9faedb62f69d479e59a6e05bb7ac6\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d9ed9af6cf04762ed14cb034f0ae5ae9fd51569ec"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d9ed9af6cf04762ed14cb034f0ae5ae9fd51569ec"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"c2e90645942361410906374c2990dd0ac165b8a4","is_merged_in_target_branch":false,"change_id":"I704a647bff13f73d5a1b1d33b00a46bcb1a9de4e","change_number":5528,"patch_set_number":1,"change_status":"MERGED"}],"branch":"refs/heads/canon"},"0c51608f6c11fd8e15679d77e7a9ae8c3a51fe78":{"kind":"NO_CODE_CHANGE","_number":3,"created":"2022-05-05 22:43:08.000000000","uploader":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"},"ref":"refs/changes/29/5529/3","fetch":{"anonymous http":{"url":"https://cl.tvl.fyi/depot","ref":"refs/changes/29/5529/3","commands":{"Checkout":"git fetch https://cl.tvl.fyi/depot refs/changes/29/5529/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://cl.tvl.fyi/depot refs/changes/29/5529/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://cl.tvl.fyi/depot refs/changes/29/5529/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://cl.tvl.fyi/depot refs/changes/29/5529/3"}}},"commit":{"parents":[{"commit":"9dac44846696ccdd9cd60359b8ee864f4a20b3f1","subject":"feat(users/Profpatsch/importDhall): print dhall command","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d9dac44846696ccdd9cd60359b8ee864f4a20b3f1"}]}],"author":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2022-05-05 22:32:49.000000000","tz":120},"committer":{"name":"Profpatsch","email":"mail@profpatsch.de","date":"2022-05-05 22:43:08.000000000","tz":0},"subject":"feat(users/Profpatsch): add toINI","message":"feat(users/Profpatsch): add toINI\n\nThis is a morph of the `pkgs.lib.generators.toINIWithGlobalSection`\nfunction, which is simplified, inlined, and takes lists instead of\nattrsets. This makes the key ordering stable and is easy to generate\nfrom dhall.\n\nIdeally I’d upstream it at one point (in the sense that\n`generators.toINI` can also take lists), but that will be a lot more\nwork that is not necessary atm.\n\nChange-Id: I7d6c129cfee9faedb62f69d479e59a6e05bb7ac6\nReviewed-on: https://cl.tvl.fyi/c/depot/+/5529\nTested-by: BuildkiteCI\nReviewed-by: Profpatsch \u003cmail@profpatsch.de\u003e\n","web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d0c51608f6c11fd8e15679d77e7a9ae8c3a51fe78"}],"resolve_conflicts_web_links":[{"name":"cgit","tooltip":"Open in GitWeb","url":"https://code.tvl.fyi/commit/?id\u003d0c51608f6c11fd8e15679d77e7a9ae8c3a51fe78"}]},"parents_data":[{"branch_name":"refs/heads/canon","commit_id":"9dac44846696ccdd9cd60359b8ee864f4a20b3f1","is_merged_in_target_branch":true,"change_id":"I704a647bff13f73d5a1b1d33b00a46bcb1a9de4e","change_number":5528,"patch_set_number":2,"change_status":"MERGED"}],"branch":"refs/heads/canon","description":"Rebase"}},"requirements":[],"submit_records":[{"status":"CLOSED","labels":[{"label":"Code-Review-from-owners","status":"OK","applied_by":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}},{"label":"Autosubmit","status":"MAY"},{"label":"Conformant-Commit-Message","status":"OK","applied_by":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}},{"label":"All-Comments-Resolved","status":"OK","applied_by":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}},{"label":"Verified","status":"OK","applied_by":{"_account_id":1000014,"name":"BuildkiteCI","username":"buildkite","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"OK","applied_by":{"_account_id":1000013,"name":"Profpatsch","email":"mail@profpatsch.de","username":"Profpatsch"}}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dCustom-Rule"],"failing_atoms":[]}},{"name":"All-Comments-Resolved","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:All-Comments-Resolved\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:All-Comments-Resolved\u003dCustom-Rule"],"failing_atoms":[]}},{"name":"Code-Review-from-owners","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review-from-owners\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review-from-owners\u003dCustom-Rule"],"failing_atoms":[]}},{"name":"Code-Review","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dCustom-Rule"],"failing_atoms":[]}},{"name":"Conformant-Commit-Message","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Conformant-Commit-Message\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Conformant-Commit-Message\u003dCustom-Rule"],"failing_atoms":[]}}]}
