)]}'
{
  "commit": "2d03853cc11429c5ef0a345416e8615ef45586f9",
  "tree": "58f0c3a30694d2b66ffcc43a8a3682e11eb15b48",
  "parents": [
    "e327e60c8e358d216d7649d2046cd5fc215d3d1e"
  ],
  "author": {
    "name": "Philipp Wollermann",
    "email": "philwo@google.com",
    "time": "Fri Sep 30 11:44:20 2016 +0000"
  },
  "committer": {
    "name": "John Cater",
    "email": "jcater@google.com",
    "time": "Fri Oct 07 13:04:29 2016 -0400"
  },
  "message": "Fix #1849: Sandboxing on OS X should be turned off by default for 0.3.2.\n\nThis restructures the way we set the default Spawn strategy so that each BlazeModule supplying a SpawnActionContext has an ActionContextConsumer that sets its own SpawnActionContext as the default, with the BazelRulesModule being put as the last module loaded in BazelMain, so that it can override that decision - it only does, if the user explicitly specifies a --spawn_strategy flag. IMHO this is a much saner approach than the older one.\n\nSo the flow is essentially this:\n- StandaloneActionContextConsumer sets the default strategy to \"standalone\".\n- SandboxActionContextConsumer sets the default strategy to \"sandboxed\", but only on Linux\n- BazelRulesModule sets the default strategy to the value of the --spawn_strategy flag, if it is set.\n\n--\nMOS_MIGRATED_REVID\u003d134770427\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "844710c4e75acd7799ee71e6e2bf60af5b84931c",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/bazel/BazelMain.java",
      "new_id": "29e598659d05a0dbc1586dcfb3374d0d3886fbcc",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/bazel/BazelMain.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d9db7e4a0068b01a2384f4877f2e795f203176d2",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/bazel/rules/BazelActionContextConsumer.java"
    },
    {
      "type": "modify",
      "old_id": "26fd3af4b553a07fd6fece5484e49b04fab027d3",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRulesModule.java",
      "new_id": "0fe4aa2a4a373ba6269ac8dbedc8c713493e6a76",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRulesModule.java"
    },
    {
      "type": "modify",
      "old_id": "cd468fd1f9a0ea7ba3192612a40d19c8d879a1f5",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/sandbox/SandboxActionContextConsumer.java",
      "new_id": "403b8b98378f37ec223d0eb7230b3c130959ccef",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/sandbox/SandboxActionContextConsumer.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "beb11254752c27167c2303d030ba819830fa0894",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/standalone/StandaloneActionContextConsumer.java"
    },
    {
      "type": "modify",
      "old_id": "a8118ea3673bb9bddfbcbd7c3cd01fed30516029",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/standalone/StandaloneModule.java",
      "new_id": "58145b0ad333ebd455eeca357af23fa72b63b3e6",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/standalone/StandaloneModule.java"
    },
    {
      "type": "modify",
      "old_id": "17e3d4fed2ec780aa3c35e40ffa1c1b14a8cb4bd",
      "old_mode": 33261,
      "old_path": "src/test/shell/bazel/bazel_sandboxing_test.sh",
      "new_id": "685bf05c5411c31700488158df5a44f994ce4e49",
      "new_mode": 33261,
      "new_path": "src/test/shell/bazel/bazel_sandboxing_test.sh"
    }
  ]
}
