)]}'
{
  "commit": "ea80366b29219d3dad8c90191c21b77a4525875a",
  "tree": "2eceef47754a03e2ccc8655044e44592b7dbbebe",
  "parents": [
    "4079953a8397b22ee30c3a1534d04211c566959c"
  ],
  "author": {
    "name": "Andrew Lindesay [Canva]",
    "email": "143454275+andponlin-canva@users.noreply.github.com",
    "time": "Mon Mar 17 16:30:18 2025 +1300"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Mar 17 03:30:18 2025 +0000"
  },
  "message": "feat: env-var for additional interpreter args in bootstrap stage 1 (#2654)\n\nThere is no means to be able to provide additional interpreter arguments\nto the `bash`-based stage 1 bootstrap system at launch time.\n\nThe Intelli-J / Bazel plugin typically launches a `py_*` rule build\nproduct with something like this (abridged) using a Python interpreter\nfrom the local environment;\n\n```\npython3 /path/to/pydev/pydevd.py --client 127.0.0.1 --port 12344 --file /path/to/built/python-file\n```\n\nWhen the `bash`-based bootstrap process is used, this mechanism not\nlonger works. This PR will mean that a potential future Intelli-j /\nBazel plugin version may be able to launch the build product differently\nand inject additional interpreter arguments so that the debug system can\nbe stood up in this sort of a way;\n\n```\nRULES_PYTHON_ADDITIONAL_INTERPRETER_ARGS\u003d\"/path/to/pydev/pydevd.py --client 127.0.0.1 --port 12344 --file\" /path/to/bash-bootstrap-stage1-script\n```\n\nThe work to support this in the Intelli-J / Bazel plugin has not been\ndone; it would have to be undertaken some time after this change were\navailable.\n\n---------\n\nCo-authored-by: Ignas Anikevicius \u003c240938+aignas@users.noreply.github.com\u003e\nCo-authored-by: Richard Levasseur \u003crlevasseur@google.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dc2419360c3176913a1e6b9dbdcd8ea522261fd9",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "15fb211ce85b1659388ef19e4453083dfabb6af3",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "d50070af55d20496d330dddf194b5f7f4639d29c",
      "old_mode": 33188,
      "old_path": "docs/environment-variables.md",
      "new_id": "c7c0181d1823b85820cc0fbd34c3d9a8cedd956b",
      "new_mode": 33188,
      "new_path": "docs/environment-variables.md"
    },
    {
      "type": "modify",
      "old_id": "d1905448a6dd0c779ece7f00c3bb6b82cc0ef4be",
      "old_mode": 33188,
      "old_path": "python/private/py_executable.bzl",
      "new_id": "bbaed3104e5ae5de36fe3c947942be7ce25eb803",
      "new_mode": 33188,
      "new_path": "python/private/py_executable.bzl"
    },
    {
      "type": "modify",
      "old_id": "523210ad148e73556bee73fcd5a85f66f1d2c20b",
      "old_mode": 33188,
      "old_path": "python/private/stage1_bootstrap_template.sh",
      "new_id": "bd142cf7c7f72f1142e60812305d93dcf66d53a8",
      "new_mode": 33188,
      "new_path": "python/private/stage1_bootstrap_template.sh"
    }
  ]
}
