)]}'
{
  "commit": "0c7e54e6fc75d4dc6d25368a606dd1747697cf2e",
  "tree": "8158378528ce62b698187ed39509a7afa470fa89",
  "parents": [
    "e172a6da9dc6438d03e8870d23ad391721c6e911"
  ],
  "author": {
    "name": "Matthias Sohn",
    "email": "matthias.sohn@sap.com",
    "time": "Fri Aug 21 10:15:37 2020 +0200"
  },
  "committer": {
    "name": "Matthias Sohn",
    "email": "matthias.sohn@gmail.com",
    "time": "Thu Oct 22 22:31:26 2020 +0000"
  },
  "message": "Replace tika by overviewproject mime-types to detect mime types\n\nUse the org.overviewproject:mime-types:0.1.3 library [1] instead of\nApache Tika to detect mime-types. This library is a successor of the\noriginal project mime-util [2] which seems to be unmaintained.\nIt supports the mime-types supported by shared-mime-info [3].\n\nCompare to Apache Tika the overviewproject mime-types library has a much\nsmaller scope and only cares about detecting mime-types whereas Tika\nprovides a lot more functionality which is not needed in the\nuploadvalidator plugin. The size of the mime-types library is only 58kB\ncompared to 708kB for the tika-core library.\n\n[1] https://github.com/overview/mime-types\n[2] http://sourceforge.net/p/mime-util/\n[3] https://gitlab.freedesktop.org/xdg/shared-mime-info\n\nChange-Id: Iecdae64b2039bd6717926e1b6dcb1f59b04a593e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2d26f722eed583aed26a40b9a5755a002630df73",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "6df464f69fdcd619ad4ad471168f3418cf9aa906",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "modify",
      "old_id": "8d85336acc9d3f7f1848620c58927dea13b6a8ac",
      "old_mode": 33188,
      "old_path": "external_plugin_deps.bzl",
      "new_id": "6ef4aa817331959c2b98dfddbc2be022f0c0b262",
      "new_mode": 33188,
      "new_path": "external_plugin_deps.bzl"
    },
    {
      "type": "modify",
      "old_id": "6e6ad982fec247542f7c4f2a545b8367811eb8d9",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/uploadvalidator/ContentTypeUtil.java",
      "new_id": "bb6f9db577f23dedf2c64cf32f0a5133c306185d",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/uploadvalidator/ContentTypeUtil.java"
    },
    {
      "type": "modify",
      "old_id": "44021187a5a51ff74be547618aa9a08568e0603d",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "eb47d6ac25f94aedb0d99dfcd1837faa2d9a971d",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    },
    {
      "type": "modify",
      "old_id": "eb3820f29689c9d1a8b0d29560c193a4e010ff67",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/uploadvalidator/MimeTypeDetection.java",
      "new_id": "040ae6c1a905e9b496442288de3324f2776cfbc6",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/uploadvalidator/MimeTypeDetection.java"
    }
  ]
}
