)]}'
{
  "commit": "71a27ddc781e0c2a684f747c794f8948c65cbf5c",
  "tree": "e5f45ec86b5256708a3ce459cf93856a3e246a22",
  "parents": [
    "bf1b35aac29b6c0d5e918f00d99a0632e4925b51"
  ],
  "author": {
    "name": "Florian Zschocke",
    "email": "florian.zschocke@devolo.de",
    "time": "Sun Mar 05 16:45:44 2017 +0100"
  },
  "committer": {
    "name": "Florian Zschocke",
    "email": "florian.zschocke@devolo.de",
    "time": "Sun Mar 05 20:27:31 2017 +0100"
  },
  "message": "Introduce an index version for the ticket index\n\nIn order to be able to update the index definition, the ticket index\nis assigned a version number, 2. This way the definiton can be updated\nand compatability with existing index files can be checked.\nThe actual index is stored in a directory of name `indexVersion_codecVersion`.\nThis wayit is veriy easy to check if an index of a certain version exists on the\nfilesystem. It allows to have multiple indexes of different versions present,\nso that a downgrade of the software is possible without having to reindex\nagain. Of coure, this is only possible if no new tickets were created since these\nwould be missing in the old index.\n\nA new class `LuceneIndexStore` is introduced, which abstracts away the versioned\nindex directory. The idea is, that this provides one place to keep the Lucene\ncodec version and to allow to code compatibility rules into this class, so that\nolder indices can still be used if they are compatible.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8aab74ba72f9c1b2a325f425d787f4c3db240987",
      "old_mode": 33188,
      "old_path": "src/main/java/com/gitblit/tickets/TicketIndexer.java",
      "new_id": "bc08fc8898cd347a34742d7e6bc2704aaa6a30af",
      "new_mode": 33188,
      "new_path": "src/main/java/com/gitblit/tickets/TicketIndexer.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0ccfd2e8c6b65458436dc1195c607cc7003027dc",
      "new_mode": 33188,
      "new_path": "src/main/java/com/gitblit/utils/LuceneIndexStore.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4d66c5dc7788227e72f98a2a0e7851723ea65df5",
      "new_mode": 33188,
      "new_path": "src/test/java/com/gitblit/utils/LuceneIndexStoreTest.java"
    }
  ]
}
