)]}'
{
  "commit": "5e133e12be42969990a32700a58e63ae160a7bdc",
  "tree": "05de0855e4633bd677e592b5b5e49c1c750e875e",
  "parents": [
    "f7cea69152ba99fd05aaca36661582585c6eac34"
  ],
  "author": {
    "name": "Thomas Draebing",
    "email": "thomas.draebing@sap.com",
    "time": "Wed Dec 05 09:55:53 2018 +0100"
  },
  "committer": {
    "name": "Thomas Draebing",
    "email": "thomas.draebing@sap.com",
    "time": "Thu Jan 17 16:03:51 2019 +0100"
  },
  "message": "Rewrite gerrit-init image to allow to handle other databases\n\nThe gerrit-init container was only able to initialize a MySQL\ndatabase. The provided bash scripts weren\u0027t easy to extend to support\nmore databases. With Gerrit 2.16 a H2-database is usually enough, since\nthe content does not change during runtime. Thus, at least this database\nshould be supported.\n\nThis change adapts the gerrit-init container to be able to support\nH2-databases. To do this, python scripts were used instead of bash,\nsince it makes it easier to provide extensible code and since python\npossesses libraries to communicate with several databases, making it\neasier and more efficient to work with the databases.\n\nThis change makes the Gerrit initialization in the helm charts more\nflexible. Also, using python and sqlalchemy to communicate with the\ndatabase is a lot faster than using bash and the mysql client, greatly\nfasten up pod startup.\n\nChange-Id: Ic06de5ba6686b4c47365cbadb919c9a6ebfbd6b5\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b61b82becad614f7537f1423797bf6f23e2590d7",
      "old_mode": 33188,
      "old_path": ".gitignore",
      "new_id": "386ecda7184fb228237eb7b502dc2c06b52268f3",
      "new_mode": 33188,
      "new_path": ".gitignore"
    },
    {
      "type": "modify",
      "old_id": "fabb67ff555e2b599e03969ffeac4781a49a4dc5",
      "old_mode": 33188,
      "old_path": "LICENSE",
      "new_id": "41376605c8076e0767c4fe2ac5bc802f33399b62",
      "new_mode": 33188,
      "new_path": "LICENSE"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7c6853550098be1397148c9fa4f2318aea6159a1",
      "new_mode": 33188,
      "new_path": "container-images/gerrit-init/.dockerignore"
    },
    {
      "type": "modify",
      "old_id": "fd34dc8ba0a00e78ddf903dc9370245fc246eea3",
      "old_mode": 33188,
      "old_path": "container-images/gerrit-init/Dockerfile",
      "new_id": "0975f6857f1e29ab5761f186cb717d9b341f729d",
      "new_mode": 33188,
      "new_path": "container-images/gerrit-init/Dockerfile"
    },
    {
      "type": "modify",
      "old_id": "053c7483ae0b02d23962e7161ed187fa32eb5cd1",
      "old_mode": 33188,
      "old_path": "container-images/gerrit-init/README.md",
      "new_id": "9357e2ddb379bcf7930353a9218596190065a8b3",
      "new_mode": 33188,
      "new_path": "container-images/gerrit-init/README.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4b4b1c58b38da807d3a471b1c72ed7ba9d4bdffd",
      "new_mode": 33261,
      "new_path": "container-images/gerrit-init/tools/gerrit_init.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dc356195b3f8821426900af67a73c3be66af5c76",
      "new_mode": 33188,
      "new_path": "container-images/gerrit-init/tools/git_config_parser.py"
    },
    {
      "type": "delete",
      "old_id": "b1e4e32e2e5092b22114217828ad421da12b1b36",
      "old_mode": 33261,
      "old_path": "container-images/gerrit-init/tools/start",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "99077f9a45fa1ebe07d4596cf0e932282d47a5b9",
      "new_mode": 33261,
      "new_path": "container-images/gerrit-init/tools/validate_db.py"
    },
    {
      "type": "delete",
      "old_id": "ee1baf654bfcffe2e5de8d3fd29ddac492d904b8",
      "old_mode": 33261,
      "old_path": "container-images/gerrit-init/tools/verify_fs_permissions",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "109e0f053b8ee8c5f9ece0cc04923f13b4618220",
      "old_mode": 33188,
      "old_path": "helm-charts/gerrit-master/README.md",
      "new_id": "79b84e127fb98ab08884d4f1bee618ada4025954",
      "new_mode": 33188,
      "new_path": "helm-charts/gerrit-master/README.md"
    },
    {
      "type": "modify",
      "old_id": "82c78a473f66b9e8d98257d66ff9a652497a7b4e",
      "old_mode": 33188,
      "old_path": "helm-charts/gerrit-master/templates/gerrit-master.deployment.yaml",
      "new_id": "ef1596324789be1c9e46d9e95dd316c50210adc5",
      "new_mode": 33188,
      "new_path": "helm-charts/gerrit-master/templates/gerrit-master.deployment.yaml"
    },
    {
      "type": "modify",
      "old_id": "1b5630f488ebfecc4960c8a707666c6b255ce03c",
      "old_mode": 33188,
      "old_path": "helm-charts/gerrit-master/values.yaml",
      "new_id": "1940dd04577ae2bbd723825211be4406e3ec0bae",
      "new_mode": 33188,
      "new_path": "helm-charts/gerrit-master/values.yaml"
    },
    {
      "type": "modify",
      "old_id": "8bd2d5e69fe3f39f83871901fd1ebd335fa58c39",
      "old_mode": 33188,
      "old_path": "helm-charts/gerrit-slave/README.md",
      "new_id": "5c7074671cfd72d7a759b71d9ce81e4898ae744e",
      "new_mode": 33188,
      "new_path": "helm-charts/gerrit-slave/README.md"
    },
    {
      "type": "modify",
      "old_id": "f41c678c572dc9591f7e6a010712d25ea8bcaf7d",
      "old_mode": 33188,
      "old_path": "helm-charts/gerrit-slave/templates/gerrit-slave.configmap.yaml",
      "new_id": "e4f12c8424f022c88259d33678d826a8ee716ded",
      "new_mode": 33188,
      "new_path": "helm-charts/gerrit-slave/templates/gerrit-slave.configmap.yaml"
    },
    {
      "type": "modify",
      "old_id": "65dd6f61a84c219e562f68737388933605554991",
      "old_mode": 33188,
      "old_path": "helm-charts/gerrit-slave/templates/gerrit-slave.deployment.yaml",
      "new_id": "9c0baa38ecb07cfd36ff341410a96cfedae555b3",
      "new_mode": 33188,
      "new_path": "helm-charts/gerrit-slave/templates/gerrit-slave.deployment.yaml"
    },
    {
      "type": "modify",
      "old_id": "941e291d2eee7244e1dc17eecf27bf1c24af6c61",
      "old_mode": 33188,
      "old_path": "helm-charts/gerrit-slave/values.yaml",
      "new_id": "54f13c01131201565007db3e10c749f3ac9b74f7",
      "new_mode": 33188,
      "new_path": "helm-charts/gerrit-slave/values.yaml"
    }
  ]
}
