)]}'
{
  "commit": "1722988cc407b08a4e7770295452076706823f9d",
  "tree": "959462a48cd58abdbb014f9648df4d502dd9dd95",
  "parents": [
    "bd3a7197a295ddcb37414e5723da6c2f41b806ee"
  ],
  "author": {
    "name": "Alex Eagle",
    "email": "alex@aspect.dev",
    "time": "Sat Jan 21 11:16:41 2023 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Jan 21 11:16:41 2023 -0800"
  },
  "message": "chore: publish a runfiles library as a wheel (#995)\n\n* chore: publish a runfiles library as a wheel\r\n\r\nWire it up to GH actions so it is published for each release.\r\n\r\nTested locally with:\r\nbazel build python/runfiles:wheel --embed_label\u003d1.0.2 --stamp\r\nPYTHONPATH\u003dbazel-bin/python/runfiles/bazel_runfiles-_BUILD_EMBED_LABEL_-py3-none-any.whl python\r\n\u003e\u003e\u003e import runfiles\r\n\u003e\u003e\u003e runfiles.Create()\r\n\r\nNote, I would have liked to call the package bazel-runfiles, but this isn\u0027t possible without either refactoring the paths in this repo, or doing some fancy starlark to copy files around to create a folder that we turn into the wheel.\r\nThere is no project https://pypi.org/project/runfiles though there is a https://pypi.org/project/runfile\r\n\r\nWe could try harder to get the name we prefer.\r\n\r\n* Apply suggestions from code review\r\n\r\nCo-authored-by: Richard Levasseur \u003crichardlev@gmail.com\u003e\r\n\r\n* more code review cleanup\r\n\r\nCo-authored-by: Richard Levasseur \u003crichardlev@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a675fe156258ea56657b3c7309c2d74071f2ba1e",
      "old_mode": 33188,
      "old_path": ".github/workflows/release.yml",
      "new_id": "5906289e660df0402d6f670df7800f4756e85a10",
      "new_mode": 33188,
      "new_path": ".github/workflows/release.yml"
    },
    {
      "type": "modify",
      "old_id": "2089c418d807974455bc781a8b29d930ee0f34e3",
      "old_mode": 33188,
      "old_path": "python/runfiles/BUILD.bazel",
      "new_id": "ea171ccd8e77cb1bdb94929fa9ffe36254712a20",
      "new_mode": 33188,
      "new_path": "python/runfiles/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "79ba82c1de3243174c4762493cf3a2f629b12fd6",
      "new_mode": 33188,
      "new_path": "python/runfiles/README.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eb42f79c8d23dc5cc69376634b0bb77b1fd069d4",
      "new_mode": 33188,
      "new_path": "python/runfiles/__init__.py"
    },
    {
      "type": "modify",
      "old_id": "c310f06b968208540088dd425a1ca73fef75db67",
      "old_mode": 33188,
      "old_path": "python/runfiles/runfiles.py",
      "new_id": "01413fc5290d2d02113bafe621212946f2c4317d",
      "new_mode": 33188,
      "new_path": "python/runfiles/runfiles.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7faa0279093ddfee14c0c2ab1e161b4071f208fa",
      "new_mode": 33261,
      "new_path": "tests/runfiles/runfiles_wheel_integration_test.sh"
    }
  ]
}
