)]}'
{
  "commit": "00a2c9c84a5f0ebe029d4c2475222f85e522022d",
  "tree": "115f3b00f723c323e00e609dffd4eabdd04c3f7f",
  "parents": [
    "aab5e9008feb1a6c18bb420fa5232650ccbac3b8"
  ],
  "author": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Tue Feb 20 14:30:56 2024 +0100"
  },
  "committer": {
    "name": "Saša Živkov",
    "email": "sasa.zivkov@sap.com",
    "time": "Mon Feb 26 10:11:05 2024 +0100"
  },
  "message": "Factor out handling the lib-module\u0027s data path\n\nProvide injection of @LibModuleData Path which resolves into\n$SITE/data/saml. A similar logic exists in Gerrit core for the\n@PluginData Path binding but this code is, unfortunately, not exposed to\nmodules.  For that reason this commit copies the logic for the\nplugin data directory creation in the LibModuleDataDirUtil class.\n\nThe code in LibModuleDataDirUtil honors an already existing directory,\nalso when it exists as a symlink.\n\nChange-Id: I39cd43a27dec824827bec313b06d0a47271f177c\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c84fe7adcad8264416a4886fc3050cbde750a0b6",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/saml/LibModuleData.java"
    },
    {
      "type": "modify",
      "old_id": "f39daad5a0d1b27627bab2c6dd68f1edf152c922",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/saml/Module.java",
      "new_id": "55aef92136d1113574030e009eaaea9d8cdd1e58",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/saml/Module.java"
    },
    {
      "type": "modify",
      "old_id": "51d2cd7edb3273c09e2c2080d14a1de4f4ff2697",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/saml/SamlClientProvider.java",
      "new_id": "9d5d047ca9a701bf67a6fb9af7827e123dda4c35",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/saml/SamlClientProvider.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "699ad8197037c0d57209857a98cd752e4ed31ecb",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/saml/pgm/LibModuleDataDirUtil.java"
    },
    {
      "type": "modify",
      "old_id": "33a39e4e15553e5900b5f7593976739cbd9f0e61",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/saml/pgm/SamlMetadataCreator.java",
      "new_id": "d9f64380e2a8d70c57638e03ecba79e8bebaf10a",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/saml/pgm/SamlMetadataCreator.java"
    }
  ]
}
