)]}'
{
  "commit": "7d8af049645731d1b5dd9bee0279a272554a4ee9",
  "tree": "63f017af39e52c225405c4e38d1f3bf5f3e892e6",
  "parents": [
    "9c054270fd00ba620a0abdd6b1516f54d13bd088"
  ],
  "author": {
    "name": "Prudhvi Akhil Alahari",
    "email": "prudhvi.alahari@linaro.org",
    "time": "Wed Nov 08 16:46:49 2023 +0530"
  },
  "committer": {
    "name": "Nasser Grainawi",
    "email": "nasser.grainawi@linaro.org",
    "time": "Thu Jan 18 13:54:05 2024 -0700"
  },
  "message": "Fix subtasks-external lookup to not fail when preloaded from another file\n\nBefore this change, plugin failed to lookup a subtasks-external when\na task with this subtasks-external was preloaded using a task\nreference [1]. While preloading a task, all the subtasks are copied\nto the current task. Since the subtasks-external property was a String,\nit does not maintain the information regarding the location of the\nsubtasks-external. Thus, fix this issue by using ConfigSourcedValue as\nthe type for subtasks-external property, which helps in tracking the\nlocation of the subtasks-external. 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 //common.config^simple task with subtasks\n```\n\nfile: `All-Projects:refs/meta/config:task/common.config`\n```\n[task \"simple task with subtasks\"]\n  applicable \u003d is:open\n  subtasks-external \u003d user special tasks\n\n[external \"user special tasks\"]\n  user \u003d testuser\n  file \u003d special.config\n```\n\nChange-Id: I1aff32ae5885c3969ef8fdce7c019d3b448109f5\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "aa25e7f66f6d9d90f2b67507187b43a256eb6b67",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskConfig.java",
      "new_id": "55d2f488f0f51487268712f521d675c704c23fb1",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskConfig.java"
    },
    {
      "type": "modify",
      "old_id": "01afb8906541a22ed46dc193f710d987574c50fa",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskTree.java",
      "new_id": "b34dccd2f102fb2a8527a800d2462f11a506c711",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/task/TaskTree.java"
    },
    {
      "type": "modify",
      "old_id": "4b296b2c2aacd89e1d32fa427f9ab7d78d6ab633",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/test/task_states.md",
      "new_id": "273e21dec72a728840e4e521cc875a50435f93a2",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/test/task_states.md"
    }
  ]
}
