)]}'
{
  "commit": "307c2c4fa93185af23883dc194a50ca3388c354a",
  "tree": "095938d1947bfd4e7aafcab906d106c11e496842",
  "parents": [
    "7d8af049645731d1b5dd9bee0279a272554a4ee9"
  ],
  "author": {
    "name": "Prudhvi Akhil Alahari",
    "email": "prudhvi.alahari@linaro.org",
    "time": "Wed Nov 08 17:42:24 2023 +0530"
  },
  "committer": {
    "name": "Nasser Grainawi",
    "email": "nasser.grainawi@linaro.org",
    "time": "Thu Jan 18 13:54:05 2024 -0700"
  },
  "message": "Fix subtasks-file lookup to not fail when preloaded from another file\n\nBefore this change, plugin failed to lookup a subtasks-file when\na task with this subtasks-file was preloaded using a task\nreference [1]. While preloading a task, all the subtasks are copied\nto the current task. Since the subtasks-file property was a String,\nit does not maintain the information regarding the location of the\nsubtasks-file. Thus, fix this issue by using ConfigSourcedValue as\nthe type for subtasks-file property, which helps in tracking the\nlocation of the subtasks-file. Add tests for the same.\n\n[1]\nfile: `All-Projects:refs/meta/config:task.config`\n```\n[root \"root task\"]\n    applicable \u003d status:open\n    preload-task \u003d %sample group^Sample task with subtasks-file\n```\n\nfile: `All-Users:refs/groups/\u003cuuid of sample group\u003e:task.config`\n```\n[task \"Sample task with subtasks-file\"]\n  applicable \u003d is:open\n  pass \u003d is:open\n  subtasks-file \u003d bar.config\n```\n\nfile: `All-Users:refs/groups/\u003cuuid of sample group\u003e:task/bar.config`\n```\n[task \"Sample task\"]\n  applicable \u003d is:open\n  pass \u003d True\n```\n\nChange-Id: Icb1c548655eace95fefa2093bdc827276e0908d8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "55d2f488f0f51487268712f521d675c704c23fb1",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskConfig.java",
      "new_id": "53897b5df9b211b0115b1c0dac6b82bf0b52027f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskConfig.java"
    },
    {
      "type": "modify",
      "old_id": "b34dccd2f102fb2a8527a800d2462f11a506c711",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskTree.java",
      "new_id": "1c6f31e640a744aae064a78277bb50a9fc98a717",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskTree.java"
    },
    {
      "type": "modify",
      "old_id": "273e21dec72a728840e4e521cc875a50435f93a2",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/test/task_states.md",
      "new_id": "7a6a8d086e6426a63cdfc27fb221f07ce222c3e7",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/test/task_states.md"
    }
  ]
}
