)]}'
{
  "commit": "0aeedfd9e8781a8f52ead0dae27c131e9cf3bcb6",
  "tree": "bec4c1338cbe9aab242bcfcc15cedc2275127aa4",
  "parents": [
    "2cc5b89f97c3b74cd83e91ae7f10bdadd4c054fb"
  ],
  "author": {
    "name": "Martin Fick",
    "email": "martin.fick@linaro.org",
    "time": "Thu Apr 06 17:48:13 2023 -0600"
  },
  "committer": {
    "name": "Yash Chaturvedi",
    "email": "yash.chaturvedi@linaro.org",
    "time": "Mon Sep 11 09:14:11 2023 +0530"
  },
  "message": "Add tests for task visibility when previewing config updates\n\nTests for following kinds of updates are added. In each of these, we\nassert that only tasks on refs visible to the current user are shown\nand remaining tasks are shown as \u0027unknown\u0027 name and status.\n\n1. --task-preview root file with subtasks-external pointing\n   to secret user ref.\n2. --task-preview root file with subtasks-external pointing\n   to a non-secret user ref with subtasks-external pointing\n   to a secret user ref.\n3. --task-preview a non-secret user ref with subtasks-external\n   pointing to secret user ref.\n4. --task-preview a new root, original root with subtasks-external\n   pointing to secret user ref.\n\nSince helper functions are common with already existing test suite,\ncreate a generic helper script in order to avoid duplication.\n\nOriginally-Authored-By: Adithya Chakilam\nChange-Id: I6283f2d1f2f65f4f9abebe272690a8ccbf975e83\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3d1d7cc6a5f80eccdaaaa01272255c0f9e971850",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/test/task-preview/new_root_with_original_with_external_secret_ref.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d192050dbb0da649867481269af214a8664cdc5b",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/test/task-preview/non-secret_ref_with_external_secret_ref.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c0add08a5ffc0388aea48519cf61ad085841f5c6",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/test/task-preview/root_with_external_non-secret_ref_with_external_secret_ref.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4d81b12ce3f76bf4900d4c69984102a32ce01136",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/test/task-preview/root_with_external_secret_ref.md"
    },
    {
      "type": "modify",
      "old_id": "dd33b1118a2e81fd5c82977242835e1a0577a580",
      "old_mode": 33261,
      "old_path": "test/check_task_statuses.sh",
      "new_id": "d5c965e5ae3265f3ae3a1bbc293f7bed36a72d77",
      "new_mode": 33261,
      "new_path": "test/check_task_statuses.sh"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "553918ebb07a8f907cee01fda982e4fae13e5965",
      "new_mode": 33261,
      "new_path": "test/check_task_visibility.sh"
    },
    {
      "type": "modify",
      "old_id": "9d9fcbd85f5cfaca8dccf81b624f11eee90dc4c9",
      "old_mode": 33261,
      "old_path": "test/docker/run_tests/create-one-time-test-data.sh",
      "new_id": "6f5562b7e5e644d374c6cc439a273f8e6ab6b7fc",
      "new_mode": 33261,
      "new_path": "test/docker/run_tests/create-one-time-test-data.sh"
    },
    {
      "type": "modify",
      "old_id": "13b829aed2ec3ed8e9838fdaf38f0b9d64a8a6e4",
      "old_mode": 33261,
      "old_path": "test/docker/run_tests/start.sh",
      "new_id": "1bd597048434ecb17f9081ecfaa3a8ce1742b225",
      "new_mode": 33261,
      "new_path": "test/docker/run_tests/start.sh"
    },
    {
      "type": "modify",
      "old_id": "ee78a68a448e0f0ce5e0753141480ed53cd9738d",
      "old_mode": 33261,
      "old_path": "test/docker/run_tests/update-all-users-project.sh",
      "new_id": "e8912c46339b141f4e218fa86b8bb9659e6ad959",
      "new_mode": 33261,
      "new_path": "test/docker/run_tests/update-all-users-project.sh"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6ee1b898b67ed8f4595a3c3237780cfc02eb2fa8",
      "new_mode": 33188,
      "new_path": "test/lib/lib_helper.sh"
    }
  ]
}
