)]}'
{
  "commit": "908bf1431d276245ba921e37862f74cec45ba9f4",
  "tree": "22c94641913362606cc67cecdf97e06ff167d88a",
  "parents": [
    "42abf5cbf28a222b2b4d04f3396db13bc842fc33"
  ],
  "author": {
    "name": "Alexandre Rostovtsev",
    "email": "arostovtsev@google.com",
    "time": "Fri Sep 02 10:42:43 2022 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Sep 02 10:42:43 2022 -0400"
  },
  "message": "Allow sandboxing for copy_* and fix copy_directory tests (#392)\n\nAfter some thought, I have to say that forcing a local strategy for\r\ncopy_file/copy_directory is inappropriate. The point of a sandbox is to\r\ncatch hermeticity bugs; disabling the sandbox may be useful for\r\nperformance, but it\u0027s up to the user to do it if they trust us - and\r\nthey can do it via flag. The default should be paranoia and safety.\r\n\r\nAnd on the subject of strategies - using a genrule to create an empty\r\ndirectory fails in environments where genrules run remote by default\r\n(and thus, copy_directory tests fail). We could, of course, set local\u003d1,\r\nbut that disables the sandbox and causes scary warnings. Instead, add a\r\nproper empty_directory rule to test with.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2167c3a02f879adcb5e16d38f27e63fee1f5284a",
      "old_mode": 33188,
      "old_path": "rules/private/copy_common.bzl",
      "new_id": "a8f72439e03f648dd95bdd926ff7c0d398d83b17",
      "new_mode": 33188,
      "new_path": "rules/private/copy_common.bzl"
    },
    {
      "type": "modify",
      "old_id": "2c72ab9b6ef281035e75ef5ec3d3287cd8bc3664",
      "old_mode": 33188,
      "old_path": "tests/copy_directory/BUILD.bazel",
      "new_id": "f766e99f97eb875a9e6ccdab7810391f6abe1d3f",
      "new_mode": 33188,
      "new_path": "tests/copy_directory/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "92c5a5f6e65f09eaa070d2d0d62294e9bae728eb",
      "new_mode": 33188,
      "new_path": "tests/copy_directory/empty_directory.bzl"
    }
  ]
}
