)]}'
{
  "commit": "ac82c0d984cd23b4b35163b223c9ed0001df8f55",
  "tree": "8f89e032104961783859b32a5c3525cda48b638a",
  "parents": [
    "6dff6d6a57b999eb91f1b9cf956e2ebc18c2defd"
  ],
  "author": {
    "name": "Lorenz Brun",
    "email": "lorenz@monogon.tech",
    "time": "Tue Mar 01 13:32:45 2022 +0100"
  },
  "committer": {
    "name": "Lorenz Brun",
    "email": "lorenz@monogon.tech",
    "time": "Tue Mar 01 19:23:13 2022 +0000"
  },
  "message": "m/n/core: only run debug service in debug build\n\nThis excludes the debug service from non-debug builds as it exposes a\nbunch of unauthenticated interfaces for debugging to the world.\nThe Kubernetes tests were the last user of this service but getting\nKubernetes credentials is now handled by an authenticated production\nservice (the authproxy).\nSome parts of the debug service functionality, namely GetLogs will also\nbe needed outside of debug builds, but nothing depends on its\navailability so we can do this right away.\n\nChange-Id: I5ba3d2853c69ae295d6224b359b36c160b58c430\nReviewed-on: https://review.monogon.dev/c/monogon/+/552\nReviewed-by: Sergiusz Bazanski \u003cserge@monogon.tech\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5a7322263d047d7652666e9f17ebbcb28ab19907",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/BUILD.bazel",
      "new_id": "651e9dfe7808944ded81ac3fa8d6722c0477bd9c",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "da64266c8e36e616a85e30ec3496f32af13a6882",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/debug_service_disabled.go"
    },
    {
      "type": "rename",
      "old_id": "4d4c672a055f081746243cc47766c724eb2e2253",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/debug_service.go",
      "new_id": "a4779e59feb476b4d6c0ac97ff135113c24533a8",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/debug_service_enabled.go",
      "score": 90
    },
    {
      "type": "modify",
      "old_id": "6528ab51fe1b1a2ffd100cdf7eaac541de20a9c0",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/main.go",
      "new_id": "3254f2b7d5419b2ce590be1fba1e449a5a4a397b",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/main.go"
    }
  ]
}
