)]}'
{
  "commit": "30faaa12df98a5526efbdd38ce16646e30fbd47b",
  "tree": "288cd4f0c638cb28357c6a88bef159b9157091eb",
  "parents": [
    "1ccef018897698c5c1ee718f64b339d507a0cd6c"
  ],
  "author": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Sun Jan 19 14:55:44 2020 +0100"
  },
  "committer": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Sun Jan 19 22:38:18 2020 +0100"
  },
  "message": "Bazel: Reduce size of gerrit-acceptance-framework artifact\n\nFrom the beginning gerrit-acceptance-framework artifact shipped the\nsame content as gerrit-plugin-api. Given that provided_deps attribute\nis not available in java_library rules, see issue: [1], there was no\nway to exclude libraries already shipped in gerrit-plugin-api.\n\nHowever with this commit: [2], that is available in recent Bazel\nversions, deploy_env attribute is exposed in java_binary rule. With it\nit is now possible to achieve transitive classpath subtraction to create\ndeployable jars suited for different environments.\n\nUse this feature to subtract transitive dependencies already shipped in\ngerrit-plugin-api. As the consequence the size of the test framework\nartifact is reduced from ca. 70 MB to 6 MB.\n\nWhile already on it, remove some related TODO comments as well.\n\n[1] https://github.com/bazelbuild/bazel/issues/1402\n[2] https://github.com/bazelbuild/bazel/commit/a92347e405ebe022a7f216541aaa46753e311563\n\nChange-Id: I0deada504648d27465f57021787885705635b8b4\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e4a993c834a89ec0f736a71637371c2467631213",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/acceptance/BUILD",
      "new_id": "135a80e839c23e0107a01a4a5d41856a2b338374",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/acceptance/BUILD"
    },
    {
      "type": "modify",
      "old_id": "3683449a104b2920170f76be3ef8acce19bd2e2b",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/extensions/BUILD",
      "new_id": "da5dc8bdcf929dee487bf2f34749962e1a543bc0",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/extensions/BUILD"
    },
    {
      "type": "modify",
      "old_id": "08916a3ac2c2297b6056fe0115288d12422abe2e",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/pgm/BUILD",
      "new_id": "03b7c3d61f9010f592481168d47d474963d314e6",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/pgm/BUILD"
    }
  ]
}
